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

Disassembly:
mov ecx, dword [0x14a5898]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46b6c0
sub esp, 0x68
lea eax, [0x1462e38]
mov dword [esp], eax
call fcn.00402cc0
mov eax, dword [esp + 4]
test eax, eax
je 0x46b447
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x46b44d
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], ecx
lea ebx, [0xc57d80]
mov dword [esp], ebx
call fcn.0040d3b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jbe 0x46b6b6
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx]
mov ebp, dword [0x14a59f0]
mov ebx, dword [ebx + 0x94]
mov esi, dword [esp + 0x24]
dec esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 4
add esi, edx
mov dword [esp + 0x64], esi
test ebp, ebp
je 0x46b4ab
call fcn.0046ef70
mov dword [edi], ebx
mov dword [esp + 0x60], eax
mov dword [eax], ebx
lea ecx, [0xc5ab40]
mov dword [esp], ecx
call fcn.0040d3b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0xb4]
mov ebx, dword [ecx + 0xb8]
mov ecx, dword [ecx + 0xb0]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov edx, dword [0x14a59f0]
test edx, edx
je 0x46b4f2
call fcn.0046ef70
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
xor ebp, ebp
mov esi, 1
mov edi, 1
mov esi, 1
mov dword [esp + 0x2c], esi
mov esi, 1
mov dword [esp + 0x28], esi
jmp 0x46b546
mov dword [ecx + eax*4 - 0xc], ebp
mov eax, dword [esp + 0x44]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x30]
cmp ebp, ecx
jge 0x46b68f
mov dword [esp + 0x44], ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], esi
mov edx, dword [edx + ebp*4]
mov ecx, dword [esp + 0x28]
inc ecx
mov ebp, dword [edx + 0x94]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jae 0x46b5ba
mov dword [esp + 0x38], edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x30], edi
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0xc68cc0]
mov dword [esp + 0x10], eax
call fcn.00452510
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [0x14a59f0]
test eax, eax
je 0x46b5de
mov eax, edi
call fcn.0046ef80
mov dword [edi], ebp
mov esi, dword [ebx + ecx*4 - 4]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x34]
mov edi, eax
mov dword [esp + 0x28], ecx
mov dword [ebx + ecx*4 - 4], ebp
lea eax, [edi + 1]
mov ebp, dword [edx + 0xb0]
mov edi, dword [edx + 0xb8]
mov edx, dword [edx + 0xb4]
cmp esi, eax
jae 0x46b65b
mov dword [esp + 0x50], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0xc41760]
mov dword [esp + 0x10], eax
call fcn.00452510
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
lea eax, [eax + eax*2]
mov ecx, dword [esp + 0x54]
mov dword [ecx + eax*4 - 8], edx
mov dword [ecx + eax*4 - 4], edi
mov edx, dword [0x14a59f0]
test edx, edx
je 0x46b525
call fcn.0046ef80
mov dword [edi], ebp
mov edx, dword [ecx + eax*4 - 0xc]
mov dword [edi + 4], edx
jmp 0x46b525
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
add esp, 0x68
ret
xor eax, eax
mov ecx, eax
call fcn.0046eff0
nop
call fcn.0046db70
jmp fcn.0046b410