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

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0xd0
push ebx
push ebp
xor ebx, ebx
push esi
dec eax
cmp eax, 4
push edi
mov edi, dword [esp + 0xec]
mov edx, 1
jl 0x46f061
mov eax, 4
sub eax, edi
mov dword [esp + 0x1c], eax
mov eax, 0xc
sub eax, edi
mov dword [esp + 0x10], eax
mov ebp, 0xfffffffc
mov eax, 0xfffffff4
xor esi, esi
sub ebp, edi
sub eax, edi
lea ecx, [edi + 0x14]
mov dword [esp + 0x18], eax
fld dword [ecx - 8]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46f00a
mov eax, dword [esp + 0x18]
mov ebx, edx
lea esi, [eax + ecx]
fld dword [ecx]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46f01d
lea ebx, [edx + 1]
lea esi, [ecx + ebp]
fld dword [ecx + 8]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46f035
mov eax, dword [esp + 0x1c]
lea ebx, [edx + 2]
lea esi, [eax + ecx]
fld dword [ecx + 0x10]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46f04d
mov eax, dword [esp + 0x10]
lea ebx, [edx + 3]
lea esi, [eax + ecx]
mov eax, dword [esp + 0xf4]
add edx, 4
add eax, 0xfffffffd
add ecx, 0x20
cmp edx, eax
jl 0x46eff3
mov eax, dword [esp + 0xf4]
cmp edx, eax
jge 0x46f09e
lea esi, [ebx*8]
lea ecx, [edi + edx*8 + 4]
mov ebp, eax
lea esp, [esp]
fld dword [ecx]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46f096
mov ebx, edx
lea esi, [edx*8]
inc edx
add ecx, 8
cmp edx, ebp
jl 0x46f080
mov ecx, dword [esp + 0xf4]
lea eax, [ebx - 1]
test eax, eax
jge 0x46f0b0
add eax, ecx
jmp 0x46f0b6
cmp eax, ecx
jl 0x46f0b6
sub eax, ecx
mov edx, eax
fld dword [edi + edx*8]
mov dword [esp + 0x10], eax
call fcn.0045dbd0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.0045dbd0
mov ecx, dword [esp + 0x10]
fld dword [edi + ecx*8 + 4]
mov ebp, eax
fsub dword [edi + ebx*8 + 4]
lea eax, [edi + ebx*8 + 4]
mov dword [esp + 0x18], eax
call fcn.0045dbd0
cmp ebp, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ebp
jle 0x46f10b
mov ecx, ebp
sub ecx, esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], 0xffffffff
jmp 0x46f119
sub esi, ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], 1
mov edx, dword [esp + 0xf0]
mov ecx, dword [esp + 0x10]
mov edi, dword [edx + ebx*8]
mov ecx, dword [edx + ecx*8]
cmp edi, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edi
jle 0x46f154
mov esi, edi
sub esi, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], 0xffffffff
jmp 0x46f162
sub ecx, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], 1
mov ecx, dword [esp + 0x10]
mov esi, dword [edx + ebx*8 + 4]
mov ecx, dword [edx + ecx*8 + 4]
cmp esi, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], esi
jle 0x46f198
mov edx, esi
sub edx, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], 0xffffffff
jmp 0x46f1a6
sub ecx, esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], 1
inc ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
jns 0x46f1bc
mov edx, dword [esp + 0xf4]
add ebx, edx
jmp 0x46f1c9
mov eax, dword [esp + 0xf4]
cmp ebx, eax
jl 0x46f1c9
sub ebx, eax
mov ecx, dword [esp + 0xec]
mov eax, ebx
fld dword [ecx + eax*8]
mov dword [esp + 0x14], ebx
call fcn.0045dbd0
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x14]
fld dword [edx + eax*8 + 4]
fsub dword [ecx]
call fcn.0045dbd0
cmp ebp, ebx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ebp
jle 0x46f21a
sub ebp, ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x7c], 0xffffffff
jmp 0x46f228
sub ebx, ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], 1
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0x14]
mov ecx, dword [edx + ebx*8]
xor ebp, ebp
cmp edi, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], edi
jle 0x46f268
sub edi, ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x94], 0xffffffff
jmp 0x46f27c
sub ecx, edi
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], 1
mov ecx, dword [edx + ebx*8 + 4]
cmp esi, ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
jle 0x46f2b6
sub esi, ecx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xac], 0xffffffff
jmp 0x46f2ca
sub ecx, esi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xac], 1
mov edx, dword [esp + 0x18]
fld dword [edx]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
call fcn.0045dbd0
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
cmp eax, ecx
jl 0x46f420
mov ebx, dword [esp + 0x10]
lea ebp, [ebx - 1]
test ebp, ebp
jge 0x46f319
mov ecx, dword [esp + 0xf4]
add ebp, ecx
jmp 0x46f326
mov eax, dword [esp + 0xf4]
cmp ebp, eax
jl 0x46f326
sub ebp, eax
mov edi, dword [esp + 0xec]
fld dword [edi + ebp*8]
mov dword [esp + 0x10], ebp
call fcn.0045dbd0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.0045dbd0
mov edi, eax
mov eax, dword [esp + 0xec]
fld dword [eax + ebp*8 + 4]
fsub dword [eax + ebx*8 + 4]
call fcn.0045dbd0
cmp edi, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], edi
jle 0x46f379
sub edi, esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], 0xffffffff
jmp 0x46f387
sub esi, edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], 1
mov esi, dword [esp + 0xf0]
mov ecx, dword [esi + ebx*8]
mov edx, dword [esi + ebp*8]
xor edi, edi
cmp ecx, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
jle 0x46f3ba
sub ecx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], 0xffffffff
jmp 0x46f3c8
sub edx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], 1
mov ecx, dword [esi + ebx*8 + 4]
mov edx, dword [esi + ebp*8 + 4]
cmp ecx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
jle 0x46f3f4
sub ecx, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], 0xffffffff
jmp 0x46f402
sub edx, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp ebx, dword [esp + 0x14]
je 0x46f8a6
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x68]
cmp edx, dword [esp + 0x74]
jl 0x46f573
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xf4]
mov edi, eax
inc eax
jns 0x46f442
add eax, ecx
jmp 0x46f448
cmp eax, ecx
jl 0x46f448
sub eax, ecx
mov ebp, dword [esp + 0xec]
mov edx, eax
fld dword [ebp + edx*8]
mov dword [esp + 0x14], eax
call fcn.0045dbd0
fld dword [ebp + edi*8]
mov ebx, eax
call fcn.0045dbd0
mov esi, eax
mov eax, dword [esp + 0x14]
fld dword [ebp + eax*8 + 4]
fsub dword [ebp + edi*8 + 4]
call fcn.0045dbd0
xor ebp, ebp
cmp esi, ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
jle 0x46f49a
sub esi, ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], 0xffffffff
jmp 0x46f4a8
sub ebx, esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], 1
mov esi, dword [esp + 0xf0]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + edi*8]
mov edx, dword [esi + ebx*8]
cmp ecx, edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ecx
jle 0x46f4e9
sub ecx, edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], 0xffffffff
jmp 0x46f4fd
sub edx, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], 1
mov ecx, dword [esi + edi*8 + 4]
mov edx, dword [esi + ebx*8 + 4]
cmp ecx, edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ecx
jle 0x46f53b
sub ecx, edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xac], 0xffffffff
jmp 0x46f54f
sub edx, ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xac], 1
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
cmp edi, dword [esp + 0x10]
je 0x46f8a6
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
test edx, edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
jl 0x46f716
mov ebx, dword [esp + 0xe4]
cmp edx, dword [ebx + 4]
jge 0x46f712
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
sub eax, ebp
cmp esi, ecx
mov dword [esp + 0xb4], esi
jle 0x46f5cf
mov edx, esi
sub edx, ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xc4], 0xffffffff
jmp 0x46f5e3
sub ecx, esi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], 1
mov ecx, dword [esp + 0x9c]
cmp edi, ecx
mov edx, eax
mov dword [esp + 0xcc], edi
jle 0x46f60f
mov esi, edi
sub esi, ecx
mov dword [esp + 0xd0], esi
mov dword [esp + 0xdc], 0xffffffff
jmp 0x46f623
sub ecx, edi
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xdc], 1
mov esi, dword [esp + 0x54]
cmp esi, dword [esp + 0x6c]
mov ecx, eax
mov dword [esp + 0x1c], esi
jge 0x46f6fc
mov esi, dword [esp + 0xe8]
mov ebp, dword [esp + 0x1c]
jmp 0x46f650
mov ebx, dword [esp + 0xe4]
jmp 0x46f650
test ebp, ebp
jl 0x46f698
cmp ebp, dword [ebx]
jge 0x46f698
mov ebp, dword [esi + 8]
mov esi, dword [esi + 0xc]
imul ebp, edi
add ebp, dword [esp + 0xb4]
mov edi, dword [ebx + 8]
imul edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esi + ebp*4]
mov ebp, dword [esp + 0x1c]
add edi, ebx
mov ebx, dword [esp + 0xe4]
mov ebx, dword [ebx + 0xc]
mov dword [ebx + edi*4], esi
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xcc]
add edx, dword [esp + 0xb8]
cmp edx, eax
jle 0x46f6ca
mov ebx, dword [esp + 0xb4]
lea ebx, [ebx]
mov ebp, dword [esp + 0xc4]
sub edx, eax
add ebx, ebp
cmp edx, eax
jg 0x46f6b0
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xb4], ebx
add ecx, dword [esp + 0xd0]
cmp ecx, eax
jle 0x46f6eb
mov ebx, dword [esp + 0xdc]
sub ecx, eax
add edi, ebx
cmp ecx, eax
jg 0x46f6d5
mov dword [esp + 0xcc], edi
mov ebx, dword [esp + 0x6c]
inc ebp
cmp ebp, ebx
mov dword [esp + 0x1c], ebp
jl 0x46f644
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x3c]
emms
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
add eax, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esp + 0x60], eax
jle 0x46f746
mov edx, dword [esp + 0x54]
lea ebx, [ebx]
add edx, dword [esp + 0x64]
sub eax, ebx
cmp eax, ebx
jg 0x46f730
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
inc ebx
mov dword [esp + 0x50], ebx
add ecx, dword [esp + 0x28]
cmp ecx, edx
mov dword [esp + 0x30], ecx
jle 0x46f774
nop
mov ebx, dword [esp + 0x34]
sub ecx, edx
add esi, ebx
cmp ecx, edx
jg 0x46f760
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0x20]
add ebp, dword [esp + 0x40]
inc ebx
cmp ebp, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], ebp
jle 0x46f7a4
lea esp, [esp]
mov ebx, dword [esp + 0x4c]
sub ebp, eax
add edi, ebx
cmp ebp, eax
jg 0x46f790
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x78]
add eax, ebx
cmp eax, ecx
mov dword [esp + 0x78], eax
jle 0x46f7e0
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x6c]
jmp 0x46f7d0
sub eax, ecx
add ebx, edx
cmp eax, ecx
jg 0x46f7d0
mov dword [esp + 0x78], eax
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
inc eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x90]
add eax, ebx
cmp eax, ecx
mov dword [esp + 0x90], eax
jle 0x46f82f
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x84]
add ebx, edx
sub eax, ecx
cmp eax, ecx
mov dword [esp + 0x84], ebx
jg 0x46f812
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
inc eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa8]
add eax, ebx
cmp eax, ecx
mov dword [esp + 0xa8], eax
jle 0x46f88d
mov edx, dword [esp + 0xac]
jmp 0x46f870
mov ebx, dword [esp + 0x9c]
add ebx, edx
sub eax, ecx
cmp eax, ecx
mov dword [esp + 0x9c], ebx
jg 0x46f870
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x98], ecx
inc eax
jmp 0x46f2ef
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret