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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
push eax
mov edi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [esp + 0x40], edi
mov dword [eax + 0xc], edx
call fcn.0043ace0
mov eax, dword [edi + 0xd8]
mov edx, dword [edi + 0xe0]
mov ecx, dword [edi + 0xdc]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0xe4]
mov dword [ebp + 0x10], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x178]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x68]
mov dword [ebp + 0xc], ecx
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x68]
add dword [ebp + 8], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
add dword [ebp + 0xc], ecx
sub dword [ebp + 0x10], edx
sub dword [ebp + 0x14], eax
cmp dword [edi + 0x358], 0
je 0x46b08f
mov edx, dword [edi]
mov eax, dword [edx + 0x180]
mov ecx, edi
call eax
mov esi, dword [ebp + 0x14]
sub esi, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov ebx, eax
sub ebx, dword [ebp + 8]
cmp dword [edi + 0x358], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
jle 0x46ad97
mov ecx, dword [edi + 0x354]
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx*4]
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
call edx
test al, al
je 0x46ad7b
mov eax, dword [esi]
mov edx, dword [eax + 0x12c]
mov ecx, esi
call edx
test al, al
jne 0x46ad7b
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
mov eax, dword [eax + 0x14c]
push ecx
push ebx
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call eax
cmp dword [esp + 0x38], 0
jne 0x46ad00
inc dword [esp + 0x10]
jmp 0x46ad44
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
cmp dword [esp + 0x38], eax
jge 0x46ad22
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
mov dword [esp + 0x38], eax
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
cmp dword [esp + 0x38], eax
jle 0x46ad44
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
mov dword [esp + 0x38], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call edx
add eax, 8
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
add edx, dword [esp + 0x38]
add edx, dword [eax]
add dword [esp + 0xc], edx
inc dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [edi + 0x358]
mov dword [esp + 0x14], eax
jl 0x46aca7
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
dec ecx
imul ecx, dword [esp + 0x24]
add dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x46adcf
mov eax, ebx
sub eax, dword [esp + 0xc]
cdq
idiv ecx
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], edx
sub eax, dword [ebp + 8]
mov ecx, edi
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
call edx
test eax, eax
je 0x46ae06
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1fc]
call eax
test eax, eax
je 0x46ae06
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x64]
call eax
mov ebx, dword [esp + 0x18]
sub ebx, eax
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp dword [edi + 0x358], eax
mov dword [esp + 0x38], ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
jle 0x46b08f
mov edx, dword [edi + 0x354]
mov eax, dword [esp + 0xc]
mov esi, dword [edx + eax*4]
mov edx, dword [esi]
mov eax, dword [edx + 0x100]
mov ecx, esi
call eax
test al, al
je 0x46b07a
mov edx, dword [esi]
mov eax, dword [edx + 0x12c]
mov ecx, esi
call eax
test al, al
je 0x46ae7a
mov edx, dword [edi]
mov eax, dword [esp + 0xc]
mov edx, dword [edx + 0x204]
push eax
mov ecx, edi
call edx
jmp 0x46b07a
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x48]
cmp byte [edi + 0x440], 0
mov dword [esp + 0x38], eax
je 0x46aeb6
fild dword [esi + 0x60c]
fimul dword [esp + 0x18]
fdiv qword [0x644cd0]
call fcn.004a0760
mov edi, eax
jmp 0x46aed6
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi]
mov edx, dword [edx + 0x14c]
push ecx
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
test edi, edi
jne 0x46af44
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x10]
jne 0x46af06
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x50]
mov ecx, 0
sub eax, dword [esp + 0x14]
sets cl
dec ecx
and ecx, eax
mov edi, ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
cmp edi, eax
jge 0x46af24
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
mov edi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
cmp edi, eax
jle 0x46af84
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
mov edi, eax
jmp 0x46af84
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
cmp edi, eax
jge 0x46af62
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
mov edi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
cmp edi, eax
jle 0x46af80
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
mov edi, eax
sub dword [esp + 0x14], edi
mov edx, dword [esi]
mov eax, dword [edx + 0x90]
mov ecx, esi
call eax
mov dword [esp + 0x34], eax
test eax, eax
jne 0x46afac
mov eax, dword [ebp + 0x14]
sub eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x34], eax
test eax, eax
jge 0x46afb6
mov dword [esp + 0x34], 0
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
cmp dword [esp + 0x34], eax
jge 0x46afd8
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
mov dword [esp + 0x34], eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
cmp dword [esp + 0x34], eax
jle 0x46affa
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
lea edx, [ecx + ebx]
mov dword [esp + 0x58], edx
mov edx, dword [ebp + 0xc]
add eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
add eax, edi
add eax, ecx
mov ecx, dword [esp + 0x4c]
add eax, ebx
mov ebx, dword [esp + 0x34]
add ecx, ebx
mov ebx, dword [esp + 0x58]
add ecx, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push 1
mov dword [esp + 0x68], ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov ebx, dword [esp + 0x70]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
lea edx, [ecx + edi]
add edx, dword [esp + 0x48]
add ecx, edi
mov edi, dword [esp + 0x2c]
add edx, eax
add ebx, edx
add ecx, eax
sub dword [esp + 0x38], ecx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xc]
inc eax
cmp eax, dword [edi + 0x358]
mov dword [esp + 0xc], eax
jl 0x46ae33
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14