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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a8dfa
add esp, 0xffffff80
mov eax, 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a87d7
movzx eax, byte [eax]
test al, al
je 0x4a87d7
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
call fcn.004a6410
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
sub esp, 0xffffff80
ret
call fcn.004a9890
lea eax, [0x4eaca4]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x94]
cmp eax, 4
jne 0x4a8867
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x4e060d]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402480
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4a8842
mov ecx, dword [esp + 0x90]
cmp dword [ecx], 0x34706374
je 0x4a883b
cmp dword [ecx], 0x36706374
jne 0x4a8860
mov eax, 1
jmp 0x4a8869
mov ecx, dword [esp + 0x90]
cmp dword [ecx], 0x34706475
je 0x4a8859
cmp dword [ecx], 0x36706475
jne 0x4a8860
mov eax, 2
jmp 0x4a8869
mov eax, dword [esp + 0x94]
xor eax, eax
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0045c178
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
call fcn.0046bf10
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], ecx
call fcn.00470220
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ecx, ecx
jne 0x4a8bbd
lea eax, [0x4eaec8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov byte [esp + 0x27], 3
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a8abb
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x4a8a6d
cmp eax, 0x17
je 0x4a8a1f
mov dword [esp], 0x20000027
call fcn.0046bf80
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0x4d7ea0]
mov dword [esp], edx
call fcn.0040b170
mov edi, dword [esp + 4]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x5bb250]
test eax, eax
jne 0x4a8968
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x4a8971
mov eax, dword [esp + 0x50]
call fcn.0045bfa0
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x4e02cb]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.00449000
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a89d9
mov dword [edx + 8], eax
jmp 0x4a89e1
lea edi, [edx + 8]
call fcn.0045bfa0
mov dword [esp + 0xa0], 0
lea eax, [0x5073d0]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00470190
mov byte [esp + 0x27], 0
call fcn.004a98e0
sub esp, 0xffffff80
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.00471060
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00470190
mov byte [esp + 0x27], 0
call fcn.004a98e0
sub esp, 0xffffff80
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.00471060
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00470190
mov byte [esp + 0x27], 0
call fcn.004a98e0
sub esp, 0xffffff80
ret
mov dword [esp], 0x20000027
call fcn.0046bf80
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0x4d7ea0]
mov dword [esp], edx
call fcn.0040b170
mov edi, dword [esp + 4]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x5bb250]
test eax, eax
jne 0x4a8b06
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x4a8b0f
mov eax, dword [esp + 0x50]
call fcn.0045bfa0
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x4e02cb]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.00449000
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a8b77
mov dword [edx + 8], eax
jmp 0x4a8b7f
lea edi, [edx + 8]
call fcn.0045bfa0
mov dword [esp + 0xa0], 0
lea eax, [0x5073d0]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00470190
mov byte [esp + 0x27], 0
call fcn.004a98e0
sub esp, 0xffffff80
ret
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
call fcn.004a6410
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4a8dc6
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4a8c40
lea ecx, [0x4d6120]
cmp dword [eax + 4], ecx
jne 0x4a8c40
mov eax, dword [esp + 0x3c]
cmp dword [eax], 0x2af9
jne 0x4a8c40
mov eax, dword [0x595230]
mov ecx, dword [0x595234]
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x4a8c92
nop
lea eax, [0x4d2480]
mov dword [esp], eax
call fcn.0040b170
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x4e1bec]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a8c7c
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
jmp 0x4a8c8c
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0045bfa0
mov eax, ecx
lea ecx, [0x50745c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0x4d7ea0]
mov dword [esp], edx
call fcn.0040b170
mov edi, dword [esp + 4]
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x5bb250]
test eax, eax
jne 0x4a8ce1
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x4a8cea
mov eax, dword [esp + 0x50]
call fcn.0045bfa0
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x4e02cb]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.00449000
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a8d52
mov dword [edx + 8], eax
jmp 0x4a8d5a
lea edi, [edx + 8]
call fcn.0045bfa0
mov eax, dword [0x595234]
mov ecx, dword [esp + 0x28]
cmp dword [0x595230], ecx
jne 0x4a8d99
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00403360
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a8d95
mov eax, dword [esp + 0x44]
mov byte [eax + 0x1a], 1
mov edx, eax
jmp 0x4a8d99
mov edx, dword [esp + 0x44]
mov dword [esp + 0xa0], 0
lea eax, [0x5073d0]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 0
call fcn.004a98e0
sub esp, 0xffffff80
ret
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 0
call fcn.004a98e0
sub esp, 0xffffff80
ret
call fcn.0045ab60
jmp fcn.004a8720