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

Disassembly:
mov ecx, dword [0x5f91cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4c9766
sub esp, 0x90
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x9c]
test ecx, ecx
je 0x4c9554
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x9c]
mov dword [esp], ecx
call fcn.00409fe0
mov eax, dword [esp + 4]
lea ecx, [0x4e02c0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x4f75be]
mov dword [esp], eax
mov dword [esp + 4], 0x13
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a1640
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c1180
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x20], edx
xor ebx, ebx
jmp 0x4c973e
add esp, 0x90
ret
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], ebp
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + edi*4]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0x44]
xor eax, eax
call fcn.00463260
mov ecx, dword [ebp + 4]
mov dword [esp], ecx
call fcn.00409fe0
mov ecx, dword [esp + 4]
lea edx, [0x4e02c0]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
test byte [ecx], al
lea ebx, [0x4e3040]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00409f10
mov ecx, dword [esp + 8]
lea edx, [0x4e3040]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3c]
movss xmm0, dword [ecx + 8]
movss dword [esp + 0x38], xmm0
mov ebx, dword [esp + 0x38]
mov dword [esp], ebx
call fcn.00409fe0
mov ecx, dword [esp + 4]
lea edx, [0x4e04c0]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x3c]
movss xmm0, dword [ecx + 0xc]
movss dword [esp + 0x34], xmm0
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
call fcn.00409fe0
mov ecx, dword [esp + 4]
lea edx, [0x4e04c0]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x3c]
movss xmm0, dword [ecx + 0x10]
movss dword [esp + 0x30], xmm0
mov ebx, dword [esp + 0x30]
mov dword [esp], ebx
call fcn.00409fe0
mov ecx, dword [esp + 4]
lea edx, [0x4e04c0]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x3c]
movss xmm0, dword [ecx + 0x14]
movss dword [esp + 0x2c], xmm0
mov ebx, dword [esp + 0x2c]
mov dword [esp], ebx
call fcn.00409fe0
mov ecx, dword [esp + 4]
lea edx, [0x4e04c0]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x3c]
movss xmm0, dword [ecx + 0x18]
movss dword [esp + 0x28], xmm0
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
call fcn.00409fe0
mov ecx, dword [esp + 4]
lea edx, [0x4e04c0]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x3c]
movss xmm0, dword [ecx + 0x1c]
movss dword [esp + 0x24], xmm0
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
call fcn.00409fe0
mov ecx, dword [esp + 4]
lea edx, [0x4e04c0]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
lea ecx, [0x4fb432]
mov dword [esp], ecx
mov dword [esp + 4], 0x20
lea ebx, [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 8
call fcn.004a1640
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c1180
mov ecx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x8c]
mov eax, edx
mov ecx, ebp
mov edx, dword [esp + 0x20]
cmp ebx, edx
jge 0x4c9755
mov ebp, dword [ecx + ebx*4]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp]
cmp esi, edi
ja 0x4c955b
jmp 0x4c975c
add esp, 0x90
ret
mov eax, edi
mov ecx, esi
call fcn.00463130
nop
call fcn.00461ca0
jmp fcn.004c9470