Function at 0x604d80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x605298
sub esp, 0xa8
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.004572a5
nop
mov word [esp + 0x3a], 0
mov word [esp + 0x3a], 0x403
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x60512a
nop
mov byte [esp + 0x37], 0
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x605019
mov eax, dword [esp + 0xac]
movzx ecx, word [eax]
mov word [esp + 0x38], 0
mov edx, ecx
shr cx, 8
mov byte [esp + 0x38], cl
mov byte [esp + 0x39], dl
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x604ef1
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
lea ebx, [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.005ef070
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x615a10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov byte [esp + 8], 0
lea edx, [esp + 0x44]
mov dword [esp + 0xc], edx
call fcn.005b36d0
mov eax, dword [esp + 0xac]
lea esi, [eax + 0x18]
lea edi, [esp + 0x78]
call fcn.00457748
lea eax, [esp + 0x4c]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x78]
call fcn.00457748
call fcn.005f4850
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x604ee3
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x5c]
cmp eax, ecx
ja 0x60523e
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
add edx, ebx
mov dword [esp + 0xb0], edx
sub ecx, eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ebp
add esp, 0xa8
ret
je 0x605243
mov ecx, dword [ecx + 4]
jmp 0x605243
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x60524f
mov ecx, dword [esp + 0x58]
add ecx, 2
cmp ecx, 2
jl 0x604fde
movzx ecx, byte [esp + 0x60]
test cl, cl
je 0x604fd5
mov ecx, dword [esp + 0x58]
add ecx, 2
lea edx, [esp + 0x4c]
cmp dword [edx + 0x10], ecx
jl 0x604f9a
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
lea ebp, [ebx + 2]
mov esi, dword [esp + 0x54]
cmp ebp, ecx
ja 0x604f57
movzx edi, word [esp + 0x38]
mov word [esi + ebx], di
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], esi
jmp 0x604e08
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
lea eax, [0x8ebd00]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00440660
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
jmp 0x604f3d
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x9a5659]
mov dword [eax], ecx
lea ecx, [0xa4d860]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
jmp 0x604e08
lea edx, [esp + 0x4c]
jmp 0x604f2a
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x9947c7]
mov dword [eax], ecx
lea ecx, [0xa4d860]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
jmp 0x604f0d
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x605267
mov eax, dword [esp + 0x58]
inc eax
cmp eax, 1
jl 0x6050f6
movzx eax, byte [esp + 0x60]
test al, al
je 0x6050ed
mov eax, dword [esp + 0x58]
inc eax
lea ecx, [esp + 0x4c]
cmp dword [ecx + 0x10], eax
jl 0x6050b9
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x54]
cmp ebx, eax
ja 0x60507d
movzx esi, byte [esp + 0x37]
xchg esi, eax
mov byte [ebp + edx], al
xchg esi, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ebp
jmp 0x604ddd
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebx
lea ecx, [0x8ebd00]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00440660
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
jmp 0x605061
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x9a5659]
mov dword [eax], ecx
lea edx, [0xa4d860]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
jmp 0x604ddd
lea ecx, [esp + 0x4c]
jmp 0x60504e
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x9947c7]
mov dword [eax], ecx
lea edx, [0xa4d860]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
jmp 0x605033
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x60527f
mov eax, dword [esp + 0x58]
add eax, 2
cmp eax, 2
jl 0x60520a
movzx eax, byte [esp + 0x60]
test al, al
je 0x605201
mov eax, dword [esp + 0x58]
add eax, 2
lea ecx, [esp + 0x4c]
cmp dword [ecx + 0x10], eax
jl 0x6051cd
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
lea ebx, [edx + 2]
mov ebp, dword [esp + 0x54]
cmp ebx, eax
ja 0x605191
movzx esi, word [esp + 0x3a]
mov word [ebp + edx], si
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ebp
jmp 0x604dc6
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edx
lea ecx, [0x8ebd00]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00440660
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
jmp 0x605176
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x9a5659]
mov dword [eax], ecx
lea edx, [0xa4d860]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
jmp 0x604dc6
lea ecx, [esp + 0x4c]
jmp 0x605163
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x9947c7]
mov dword [eax], ecx
lea edx, [0xa4d860]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
jmp 0x605146
call fcn.004570c0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042cff0
lea eax, [0x8eba40]
mov dword [esp], eax
lea eax, [0xa44ce8]
mov dword [esp + 4], eax
call fcn.0042cff0
lea eax, [0x8eba40]
mov dword [esp], eax
lea eax, [0xa44ce0]
mov dword [esp + 4], eax
call fcn.0042cff0
lea eax, [0x8eba40]
mov dword [esp], eax
lea eax, [0xa44cd8]
mov dword [esp + 4], eax
call fcn.0042cff0
nop
call fcn.004557a0
jmp fcn.00604d80