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

Disassembly:
push 0xffffffffffffffff
push 0x4944ab
mov eax, dword fs:[0]
push eax
mov eax, 0x10f0
mov dword fs:[0], esp
call fcn.0043f3a0
mov eax, dword [0x4b9668]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x1108]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x111c]
mov dword [esp + 0x10fc], eax
mov eax, dword [esp + 0x1118]
mov dword [esp + 0x54], ecx
push ebp
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x5c], eax
call fcn.0046be20
mov eax, dword [edi + 8]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x1108], ebx
je 0x46c6c0
mov edx, dword [ecx]
lea eax, [esp + 0x7c]
push eax
call dword [edx]
mov esi, dword [esp + 0xc4]
cmp esi, ebx
jne 0x46c6f5
mov ecx, dword [esp + 0xbc]
xor eax, eax
cmp ecx, ebx
jbe 0x46ce40
lea esp, [esp]
mov dword [esp + eax*4 + 0x7c], ebx
mov ecx, dword [esp + 0xbc]
inc eax
cmp eax, ecx
jb 0x46c6e0
jmp 0x46ce40
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [ebp + 0x44], edx
fld dword [edi + 0x108]
fld dword [edi + 0x104]
mov ebx, dword [eax]
mov ecx, dword [ecx]
fucompp
mov dword [esp + 0x74], edx
mov dword [esp + 0x48], 1
fnstsw ax
test ah, 0x44
jp 0x46c734
mov dword [esp + 0x48], 0
test esi, esi
fld dword [edi + 0x104]
mov eax, dword [edi + 0x104]
fsub dword [edi + 0x108]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x108]
mov dword [esp + 0x6c], esi
fild dword [esp + 0x6c]
mov dword [esp + 0x30], eax
jge 0x46c766
fadd dword [0x49e9b0]
fdivp st(1)
xor eax, eax
test edx, edx
mov dword [esp + 0x60], eax
fstp dword [esp + 0x2c]
jbe 0x46cdfd
lea ecx, [ebp + 0x50]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x7c]
sub edi, ebp
lea ecx, [esp + 0x7c]
mov esi, ebp
sub ecx, ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ecx
jmp 0x46c7a1
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
mov edx, dword [esp + 0x54]
mov ebx, dword [edx]
mov ebp, dword [esp + 0x1114]
lea edx, [ecx + ecx*4]
lea edx, [ebp + edx*4]
cmp eax, dword [esp + 0xbc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], edx
jb 0x46c7d6
mov dword [esp + 0x1c], 0
jmp 0x46c7dd
mov edi, dword [edi + esi]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x64]
cmp eax, dword [edi + 0x40]
jb 0x46c7ec
xor edi, edi
xor ebp, ebp
jmp 0x46c7f5
mov eax, dword [esp + 0x64]
mov edi, dword [eax + 0x48]
mov ebp, dword [esi]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x44]
cmp byte [eax + esi], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x50], ebp
jne 0x46cdab
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46cdab
test ebp, ebp
je 0x46cdab
xor eax, eax
test edi, edi
mov dword [esp + 0x34], edi
jbe 0x46cda6
cmp ebx, dword [edx + 0xc]
jb 0x46ca87
mov esi, dword [esp + 0x1114]
mov edi, dword [esi + 0x50]
lea edx, [ecx + ecx*4]
lea edx, [esi + edx*4]
lea ebx, [ebx]
inc ecx
add edx, 0x14
cmp ecx, edi
jae 0x46c86a
cmp ebx, dword [edx + 0xc]
mov dword [esp + 0x3c], edx
jae 0x46c850
mov dword [esp + 0x4c], ecx
jmp 0x46ca87
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x48], 1
jne 0x46c9ca
mov ecx, dword [esp + 0x28]
sub ecx, eax
cmp ecx, 4
mov edx, eax
jl 0x46c975
mov ecx, dword [esp + 0x1c]
lea esi, [ecx + eax*4 + 0xc]
lea ecx, [ebp + eax*4 + 4]
mov ebp, dword [esp + 0x1c]
sub ebp, dword [esp + 0x50]
lea edi, [eax + 2]
mov dword [esp + 0x38], ebp
test edx, edx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
jge 0x46c8b7
fadd dword [0x49e9b0]
fmul dword [esp + 0x2c]
mov ebp, dword [esp + 0x1114]
fadd dword [esp + 0x30]
fmul dword [ebp + 0x58]
lea ebp, [edi - 1]
test ebp, ebp
fmul dword [esi - 0xc]
mov dword [esp + 0x20], ebp
fstp dword [ecx - 4]
fild dword [esp + 0x20]
jge 0x46c8e4
fadd dword [0x49e9b0]
test edi, edi
fmul dword [esp + 0x2c]
mov ebp, dword [esp + 0x1114]
mov dword [esp + 0x20], edi
fadd dword [esp + 0x30]
fmul dword [ebp + 0x58]
mov ebp, dword [esp + 0x38]
fmul dword [ecx + ebp]
fstp dword [ecx]
fild dword [esp + 0x20]
jge 0x46c911
fadd dword [0x49e9b0]
fmul dword [esp + 0x2c]
mov ebp, dword [esp + 0x1114]
fadd dword [esp + 0x30]
fmul dword [ebp + 0x58]
lea ebp, [edi + 1]
test ebp, ebp
fmul dword [esi - 4]
mov dword [esp + 0x20], ebp
fstp dword [ecx + 4]
fild dword [esp + 0x20]
jge 0x46c93e
fadd dword [0x49e9b0]
fmul dword [esp + 0x2c]
mov ebp, dword [esp + 0x1114]
add edx, 4
add ecx, 0x10
fadd dword [esp + 0x30]
add esi, 0x10
add edi, 4
fmul dword [ebp + 0x58]
mov ebp, dword [esp + 0x28]
add ebp, 0xfffffffd
cmp edx, ebp
fmul dword [esi - 0x10]
fstp dword [ecx - 8]
jb 0x46c8a5
mov ebp, dword [esp + 0x50]
cmp edx, dword [esp + 0x28]
jae 0x46ca71
mov esi, dword [esp + 0x1c]
lea ecx, [ebp + edx*4]
sub esi, ebp
lea esp, [esp]
test edx, edx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
jge 0x46c9a2
fadd dword [0x49e9b0]
fmul dword [esp + 0x2c]
mov edi, dword [esp + 0x1114]
inc edx
add ecx, 4
fadd dword [esp + 0x30]
fmul dword [edi + 0x58]
cmp edx, dword [esp + 0x28]
fmul dword [ecx + esi - 4]
fstp dword [ecx - 4]
jb 0x46c990
jmp 0x46ca71
fld dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
fmul dword [esi + 0x58]
sub edx, eax
cmp edx, 4
mov edi, eax
fstp dword [esp + 0x18]
jl 0x46ca46
mov ecx, dword [esp + 0x1c]
lea esi, [ecx + eax*4 + 0xc]
sub ecx, ebp
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x28]
sub ecx, eax
sub ecx, 4
shr ecx, 2
inc ecx
lea edi, [eax + ecx*4]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x38]
lea edx, [ebp + eax*4 + 4]
lea esp, [esp]
fld dword [esp + 0x18]
add edx, 0x10
fmul dword [esi - 0xc]
add esi, 0x10
dec ecx
fstp dword [edx - 0x14]
fld dword [esp + 0x18]
fmul dword [edx + edi - 0x10]
fstp dword [edx - 0x10]
fld dword [esp + 0x18]
fmul dword [esi - 0x14]
fstp dword [edx - 0xc]
fld dword [esp + 0x18]
fmul dword [esi - 0x10]
fstp dword [edx - 8]
jne 0x46ca10
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
cmp edi, edx
jae 0x46ca71
mov esi, dword [esp + 0x1c]
sub esi, ebp
lea ecx, [ebp + edi*4]
sub edx, edi
lea ebx, [ebx]
fld dword [esp + 0x18]
add ecx, 4
dec edx
fmul dword [esi + ecx - 4]
fstp dword [ecx - 4]
jne 0x46ca60
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
add ebx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x34], 0
mov edi, dword [edx + 0xc]
mov esi, dword [esp + 0x34]
sub edi, ebx
cmp esi, edi
ja 0x46ca96
mov edi, esi
test edi, edi
mov dword [esp + 0x20], edi
jbe 0x46cd96
mov ecx, edi
lea edi, [ecx + eax]
cmp dword [esp + 0x48], 1
mov dword [esp + 0x40], edi
jne 0x46cc5e
test ebx, ebx
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
jge 0x46cac8
fadd dword [0x49e9b0]
mov ecx, dword [esp + 0x3c]
fmul dword [ecx]
mov edx, edi
sub edx, eax
cmp edx, 4
fadd dword [ecx + 4]
fld dword [esp + 0x2c]
fmul dword [ecx]
fstp dword [esp + 0x18]
fld dword [esp + 0x30]
fmul dword [ecx]
fld st(1)
fmul dword [esp + 0x2c]
faddp st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x30]
fstp dword [esp + 0x10]
jl 0x46cc0a
mov edi, dword [esp + 0x1c]
lea edx, [edi + eax*4 + 0xc]
sub edi, ebp
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x40]
add edi, 0xfffffffd
sub edi, eax
dec edi
shr edi, 2
lea esi, [eax + 2]
lea ecx, [ebp + eax*4 + 4]
lea ebx, [ebx + edi*4 + 4]
jmp 0x46cb30
test eax, eax
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
jge 0x46cb42
fadd dword [0x49e9b0]
fld st(0)
lea edi, [esi - 1]
test edi, edi
fmul st(1)
mov dword [esp + 0x24], edi
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x10]
fmul dword [edx - 0xc]
fstp dword [ecx - 4]
fstp st(0)
fild dword [esp + 0x24]
jge 0x46cb73
fadd dword [0x49e9b0]
test esi, esi
fld st(0)
mov edi, dword [esp + 0x38]
fmul st(1)
mov dword [esp + 0x24], esi
fmul dword [esp + 0x18]
fxch st(1)
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [esp + 0x10]
fmul dword [edi + ecx]
fstp dword [ecx]
fild dword [esp + 0x24]
jge 0x46cba2
fadd dword [0x49e9b0]
fld st(0)
lea edi, [esi + 1]
test edi, edi
fmul st(1)
mov dword [esp + 0x24], edi
fmul dword [esp + 0x18]
fxch st(1)
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [esp + 0x10]
fmul dword [edx - 4]
fstp dword [ecx + 4]
fild dword [esp + 0x24]
jge 0x46cbd1
fadd dword [0x49e9b0]
fld st(0)
mov edi, dword [esp + 0x40]
fmul st(1)
add eax, 4
add edi, 0xfffffffd
add ecx, 0x10
fmul dword [esp + 0x18]
add edx, 0x10
fxch st(1)
add esi, 4
cmp eax, edi
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [esp + 0x10]
fmul dword [edx - 0x10]
fstp dword [ecx - 8]
jb 0x46cb30
mov edi, dword [esp + 0x40]
cmp eax, edi
jae 0x46cd7e
mov edx, dword [esp + 0x1c]
mov esi, edi
sub esi, eax
sub edx, ebp
lea ecx, [ebp + eax*4]
add ebx, esi
test eax, eax
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
jge 0x46cc34
fadd dword [0x49e9b0]
fld st(0)
inc eax
fmul st(1)
add ecx, 4
cmp eax, edi
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x10]
fmul dword [ecx + edx - 4]
fstp dword [ecx - 4]
fstp st(0)
jb 0x46cc22
jmp 0x46cd7e
mov ecx, dword [esp + 0x3c]
fld dword [esp + 0x5c]
fmul dword [ecx]
mov esi, eax
fstp dword [esp + 0x10]
fld dword [esp + 0x5c]
fmul dword [ecx + 4]
mov ecx, edi
sub ecx, eax
cmp ecx, 4
fstp dword [esp + 0x14]
jl 0x46cd44
mov edx, dword [esp + 0x1c]
lea esi, [edx + eax*4 + 0xc]
sub edx, ebp
mov dword [esp + 0x38], edx
mov edx, edi
sub edx, eax
sub edx, 4
shr edx, 2
lea ecx, [ebp + eax*4 + 4]
inc edx
lea eax, [eax + edx*4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov edi, edi
test ebx, ebx
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
jge 0x46ccc2
fadd dword [0x49e9b0]
fmul dword [esp + 0x10]
inc ebx
test ebx, ebx
mov dword [esp + 0x24], ebx
fadd dword [esp + 0x14]
fmul dword [esi - 0xc]
fstp dword [ecx - 4]
fild dword [esp + 0x24]
jge 0x46cce3
fadd dword [0x49e9b0]
fmul dword [esp + 0x10]
inc ebx
test ebx, ebx
mov dword [esp + 0x24], ebx
fadd dword [esp + 0x14]
fmul dword [ecx + eax]
fstp dword [ecx]
fild dword [esp + 0x24]
jge 0x46cd03
fadd dword [0x49e9b0]
fmul dword [esp + 0x10]
inc ebx
test ebx, ebx
mov dword [esp + 0x24], ebx
fadd dword [esp + 0x14]
fmul dword [esi - 4]
fstp dword [ecx + 4]
fild dword [esp + 0x24]
jge 0x46cd24
fadd dword [0x49e9b0]
fmul dword [esp + 0x10]
inc ebx
add ecx, 0x10
add esi, 0x10
dec edx
fadd dword [esp + 0x14]
fmul dword [esi - 0x10]
fstp dword [ecx - 8]
jne 0x46ccb0
mov esi, dword [esp + 0x40]
cmp esi, edi
jae 0x46cd7e
mov edx, dword [esp + 0x1c]
mov ecx, edi
sub edx, ebp
lea eax, [ebp + esi*4]
sub ecx, esi
test ebx, ebx
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
jge 0x46cd68
fadd dword [0x49e9b0]
fmul dword [esp + 0x10]
inc ebx
add eax, 4
dec ecx
fadd dword [esp + 0x14]
fmul dword [edx + eax - 4]
fstp dword [eax - 4]
jne 0x46cd56
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
sub edx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
mov eax, edi
mov esi, dword [esp + 0x34]
test esi, esi
ja 0x46c831
mov esi, dword [esp + 0x44]
mov byte [esi], 1
jmp 0x46cdd0
mov eax, dword [edx + 0xc]
add ebx, edi
cmp ebx, eax
jb 0x46cdcd
mov eax, dword [esp + 0x1114]
mov eax, dword [eax + 0x50]
add edx, 0xc
inc ecx
add edx, 0x14
cmp ecx, eax
jae 0x46cdcd
cmp ebx, dword [edx]
jae 0x46cdc1
mov byte [esi], 0
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x74]
inc eax
add esi, 4
inc edi
cmp eax, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x44], edi
jb 0x46c79d
mov edi, dword [esp + 0x78]
cmp dword [esp + 0x48], 1
jne 0x46ce10
mov edx, dword [edi + 0x104]
mov dword [edi + 0x108], edx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xbc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [ecx], ebx
xor ecx, ecx
xor eax, eax
cmp edx, ecx
jbe 0x46ce40
jmp 0x46ce30
mov dword [esp + eax*4 + 0x7c], ecx
mov edx, dword [esp + 0xbc]
inc eax
cmp eax, edx
jb 0x46ce30
mov ecx, dword [esp + 0x1100]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10f0]
pop ebx
xor ecx, esp
call fcn.0043a54e
add esp, 0x10fc
ret 0x10