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

Disassembly:
mov ecx, dword [0xf40b4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a0b1c
sub esp, 0x74
call fcn.004a05d0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4a08a1
mov eax, dword [esp]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x78]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4a08e2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x74
ret
inc ebx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
cmp ebx, ecx
jge 0x4a0af0
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4a08f7
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
test edx, edx
je 0x4a0913
cmp edx, ecx
jne 0x4a08d9
mov dword [esp + 0x48], eax
mov ecx, dword [eax + 0x28]
mov dword [esp], ecx
call fcn.0048e100
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x54]
mov edx, eax
xor eax, eax
call fcn.00462d68
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x44], 1
jne 0x4a0969
mov dword [esp + 0x70], 1
mov dword [esp + 0x70], 0x21
mov ecx, dword [eax + 0x40]
cmp ecx, 0x18
ja 0x4a0993
cmp ecx, 9
ja 0x4a0982
cmp ecx, 6
je 0x4a09c2
cmp ecx, 9
je 0x4a09c2
jmp 0x4a09c7
cmp ecx, 0x17
je 0x4a09b3
cmp ecx, 0x18
jne 0x4a09c7
or dword [esp + 0x70], 0x14
jmp 0x4a09c7
cmp ecx, 0x47
ja 0x4a09ab
cmp ecx, 0x25
jne 0x4a09a4
or dword [esp + 0x70], 0x1a
jmp 0x4a09c7
cmp ecx, 0x47
je 0x4a09c2
jmp 0x4a09c7
cmp ecx, 0x83
jne 0x4a09ba
or dword [esp + 0x70], 0x18
jmp 0x4a09c7
cmp ecx, 0x90
jne 0x4a09c7
or dword [esp + 0x70], 0x12
mov ecx, dword [eax + 0x3c]
cmp ecx, 0xffffffff
jne 0x4a09d9
mov dword [esp + 0x58], 0xffffffff
jmp 0x4a09dd
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jbe 0x4a0a32
lea eax, [0x4bae20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a4d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
cmp edx, 8
jle 0x4a0a1b
mov edx, 8
add ecx, 0x2c
cmp eax, ecx
je 0x4a0a32
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00463460
mov eax, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jb 0x4a0a47
mov esi, dword [esp + 0x40]
mov ebp, ecx
jmp 0x4a0a79
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4c4720]
mov dword [esp + 0x10], eax
call fcn.0044a590
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x50], esi
mov ecx, dword [0xf40c80]
lea edx, [eax - 1]
shl edx, 5
lea edi, [esi + edx]
test ecx, ecx
je 0x4a0ac6
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x4c], edi
lea eax, [0x4c4720]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.0040fec0
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esp + 0x54]
call fcn.00463230
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x54], ecx
je 0x4a0aea
mov edx, ecx
mov ebx, dword [esp + 0x3c]
mov edi, eax
mov esi, dword [esp + 0x50]
jmp 0x4a08d9
mov edi, eax
mov esi, dword [esp + 0x50]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
call fcn.004617c0
jmp fcn.004a0860