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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x4fab62
sub esp, 0xdc
mov eax, 0
mov dword [esp + 0xd8], eax
mov byte [esp + 0x1f], 0
nop
mov eax, dword [esp + 0xf0]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x3c], eax
cmp eax, 0x14
ja 0x4fa2e9
lea edx, [eax - 0x12]
cmp edx, 1
jbe 0x4fa30f
cmp eax, 0x14
je 0x4fa2f3
jmp 0x4fab1b
cmp eax, 0x16
jbe 0x4fa30f
cmp eax, 0x17
jne 0x4fa306
mov eax, dword [esp + 0xec]
mov edx, dword [eax]
test edx, edx
setne dl
xor edx, 1
jmp 0x4fa33b
cmp eax, 0x1a
jne 0x4fab1b
test ecx, 0x200
jne 0x4fa369
test ecx, 0x80
je 0x4fa32a
mov eax, dword [esp + 0xec]
mov edx, dword [eax]
jmp 0x4fa333
mov eax, dword [esp + 0xec]
mov edx, eax
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x4fa370
mov eax, dword [esp + 0xe4]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x62e16c]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.0049ca50
add esp, 0xdc
ret
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0xe4]
mov ebx, dword [edx + 0x54]
inc ebx
mov dword [edx + 0x54], ebx
cmp ebx, 0x3e8
ja 0x4fa38d
xor ebx, ebx
jmp 0x4fa4d1
mov edx, dword [esp + 0xe8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004b9cf0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], eax
lea ecx, [0x607180]
mov dword [esp + 0x80], ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xe4]
mov ebx, dword [edx + 0x58]
lea ebp, [0x607cc0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x80]
mov dword [esp + 8], ebx
call fcn.0040c4b0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4fa9b8
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00408cf0
mov eax, dword [esp + 4]
lea ecx, [0x607180]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + 0x58]
lea ebx, [0x607cc0]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x80]
mov dword [esp + 8], edx
call fcn.0040c830
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 0x58]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea edx, [0x4fabf0]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
lea ecx, [0x607180]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0xd8], ecx
mov byte [esp + 0x1f], 1
mov edx, eax
mov ebx, 1
mov byte [esp + 0x1e], bl
mov dword [esp], edx
mov byte [esp + 4], 0x7b
call fcn.0049cf10
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov ecx, dword [esp + 0xec]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xf0]
mov dword [esp + 8], edx
call fcn.004b9170
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
lea ecx, [0x615d00]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004475c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 8], ebx
call fcn.004b9a30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
xor ecx, ecx
jmp 0x4fa569
mov edx, dword [esp + 0x2c]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
call fcn.004b9940
movzx eax, byte [esp + 4]
test al, al
je 0x4fa676
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004b97a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
cmp ebx, ebp
jae 0x4fa9af
shl ebx, 5
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x6c]
mov dword [ebp + ebx + 8], edx
lea edx, [ebp + ebx]
mov dword [esp + 0x68], edx
mov esi, dword [0x7e77b0]
lea edx, [ebp + ebx]
mov dword [esp + 0x64], edx
lea edx, [ebp + ebx + 4]
mov dword [esp + 0x60], edx
lea edx, [ebp + ebx + 0xc]
mov dword [esp + 0x5c], edx
lea edx, [ebp + ebx + 0x10]
mov dword [esp + 0x58], edx
test esi, esi
jne 0x4fa5f5
mov dword [ebp + ebx], eax
mov dword [ebp + ebx + 4], ecx
jmp 0x4fa609
mov edi, dword [esp + 0x64]
call fcn.0045e950
mov edi, dword [esp + 0x60]
mov eax, ecx
call fcn.0045e950
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004b9870
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x6c]
mov dword [ebp + ebx + 0x14], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x4fa641
mov dword [ebp + ebx + 0xc], eax
mov dword [ebp + ebx + 0x10], ecx
jmp 0x4fa655
mov edi, dword [esp + 0x5c]
call fcn.0045e950
mov edi, dword [esp + 0x58]
mov eax, ecx
call fcn.0045e950
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004fc010
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4fa55e
jmp 0x4fa83e
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00408e80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x4fab70]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], edx
lea ebx, [0x6000a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
call fcn.00488090
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4fa715
xor ecx, ecx
mov edx, dword [esp + 0x6c]
jmp 0x4fa763
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.0049cf10
mov eax, dword [esp + 0xe4]
dec dword [eax + 0x54]
movzx eax, byte [esp + 0x1e]
test al, 1
je 0x4fa74f
and eax, 0xfffffffe
mov byte [esp + 0x1f], al
mov edx, dword [esp + 0xd8]
mov eax, dword [edx]
call eax
add esp, 0xdc
ret
mov ebx, dword [esp + 0x68]
lea edx, [ebx + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], edx
lea edi, [esp + 0xb8]
mov esi, edx
call fcn.0045f040
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x4fa795
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov byte [esp + 4], 0x2c
call fcn.0049cf10
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xe4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
movzx eax, byte [esp + 0xf5]
mov byte [esp + 0xc], al
call fcn.004fc2f0
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov byte [esp + 4], 0x3a
call fcn.0049cf10
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0xe4]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
movzx ecx, byte [esp + 0xf4]
mov byte [esp + 0x10], cl
movzx ebx, byte [esp + 0xf5]
mov byte [esp + 0x11], bl
call eax
mov eax, dword [esp + 0x28]
inc eax
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jg 0x4fa756
jmp 0x4fa715
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 8], eax
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
lea eax, [0x63b56e]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0xa8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c0250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x6128e0]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.00408bb0
mov eax, dword [esp + 8]
lea ecx, [0x6128e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004337b0
mov eax, ebx
mov ecx, ebp
call fcn.0045e9d0
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov ecx, dword [esp + 0xec]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xf0]
mov dword [esp + 8], edx
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
test eax, eax
je 0x4fa9fc
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
lea eax, [0x636f8f]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c2d00
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edx, [0x610720]
mov dword [esp], edx
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xf0]
mov dword [edi + 8], eax
mov eax, dword [0x7e77b0]
test eax, eax
jne 0x4faaf5
mov ecx, dword [esp + 0xe8]
mov dword [edi], ecx
mov ecx, dword [esp + 0xec]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x4faae1
mov eax, dword [esp + 0x54]
mov dword [edi + 0xc], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x68b848]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
lea eax, [0x6128e0]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.00408bb0
mov eax, dword [esp + 8]
lea ecx, [0x6128e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004337b0
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x54]
mov edx, edi
mov edi, ecx
call fcn.0045e950
mov edi, edx
jmp 0x4faa97
mov eax, dword [esp + 0xe8]
call fcn.0045e950
lea ecx, [edi + 4]
mov eax, dword [esp + 0xec]
mov edx, edi
mov edi, ecx
call fcn.0045e950
mov edi, edx
jmp 0x4faa7f
lea eax, [0x611440]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x633536]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
lea ecx, [0x60ac00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004337b0
nop
call fcn.00432d00
add esp, 0xdc
ret
call fcn.0045d540
jmp fcn.004fa290