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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a1a31
sub esp, 0x6c
mov ecx, dword [esp + 0x78]
mov edx, ecx
and ecx, 0x1f
nop
cmp ecx, 0x15
jne 0x4a19ca
test edx, 0x60
je 0x4a1839
mov eax, 0x20
jmp 0x4a183b
xor eax, eax
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x20]
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
or eax, ebp
cmp dword [ecx], 4
jne 0x4a19b2
mov ebp, dword [ecx + 4]
test ebp, ebp
je 0x4a19b2
test edx, 0x80
je 0x4a186f
mov edx, dword [esp + 0x74]
mov edx, dword [edx]
jmp 0x4a1873
mov edx, dword [esp + 0x74]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], eax
test edx, edx
jne 0x4a1883
xor ebp, ebp
jmp 0x4a189d
mov dword [esp + 0x2c], edx
mov dword [esp], edx
call fcn.004637f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x18], ebp
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.004686f4
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.00463720
lea ecx, [0x730f00]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044e0b0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
xor eax, eax
jmp 0x4a1906
mov dword [esi + ecx*4], ebx
mov dword [esi + ecx*4 + 4], ebp
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00463760
mov eax, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
cmp eax, edx
jge 0x4a1993
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00463790
mov eax, dword [esp + 4]
test eax, eax
je 0x4a1983
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004a1d70
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
mov dword [esi + ecx*4 + 8], edx
mov edx, dword [0x9eca70]
test edx, edx
je 0x4a18ea
call fcn.00468480
mov dword [edi], ebx
mov edx, dword [esi + ecx*4]
mov dword [edi + 4], edx
mov dword [edi + 8], ebp
mov edx, dword [esi + ecx*4 + 4]
mov dword [edi + 0xc], edx
jmp 0x4a18ea
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp ecx, edx
mov eax, ecx
mov ecx, dword [esp + 0x38]
ja 0x4a19ab
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x6c
ret
mov ecx, eax
call fcn.00468500
lea eax, [0x6e41c0]
mov dword [esp], eax
lea eax, [0x7aa878]
mov dword [esp + 4], eax
call fcn.004386b0
mov dword [esp + 0x28], ecx
call fcn.0049f4a0
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp]
mov dword [esp + 0x34], ecx
lea edx, [0x6fa980]
mov dword [esp], edx
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [0x9eca70]
test ecx, ecx
jne 0x4a1a24
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x6ed320]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004386b0
call fcn.00468450
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
jmp 0x4a1a05
call fcn.00467050
jmp fcn.004a1800