Function at 0x46d3f0
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 0x46d4b1
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 0x46d45a
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 0x46d46d
lea ebx, [edx + 1]
lea esi, [ecx + ebp]
fld dword [ecx + 8]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46d485
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 0x46d49d
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 0x46d443
mov eax, dword [esp + 0xf4]
cmp edx, eax
jge 0x46d4ee
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 0x46d4e6
mov ebx, edx
lea esi, [edx*8]
inc edx
add ecx, 8
cmp edx, ebp
jl 0x46d4d0
mov ecx, dword [esp + 0xf4]
lea eax, [ebx - 1]
test eax, eax
jge 0x46d500
add eax, ecx
jmp 0x46d506
cmp eax, ecx
jl 0x46d506
sub eax, ecx
mov edx, eax
fld dword [edi + edx*8]
mov dword [esp + 0x10], eax
call fcn.0045c1b0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.0045c1b0
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.0045c1b0
cmp ebp, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ebp
jle 0x46d55b
mov ecx, ebp
sub ecx, esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], 0xffffffff
jmp 0x46d569
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 0x46d5a4
mov esi, edi
sub esi, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], 0xffffffff
jmp 0x46d5b2
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 0x46d5e8
mov edx, esi
sub edx, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], 0xffffffff
jmp 0x46d5f6
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 0x46d60c
mov edx, dword [esp + 0xf4]
add ebx, edx
jmp 0x46d619
mov eax, dword [esp + 0xf4]
cmp ebx, eax
jl 0x46d619
sub ebx, eax
mov ecx, dword [esp + 0xec]
mov eax, ebx
fld dword [ecx + eax*8]
mov dword [esp + 0x14], ebx
call fcn.0045c1b0
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.0045c1b0
cmp ebp, ebx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ebp
jle 0x46d66a
sub ebp, ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x7c], 0xffffffff
jmp 0x46d678
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 0x46d6b8
sub edi, ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x94], 0xffffffff
jmp 0x46d6cc
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 0x46d706
sub esi, ecx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xac], 0xffffffff
jmp 0x46d71a
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.0045c1b0
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 0x46d870
mov ebx, dword [esp + 0x10]
lea ebp, [ebx - 1]
test ebp, ebp
jge 0x46d769
mov ecx, dword [esp + 0xf4]
add ebp, ecx
jmp 0x46d776
mov eax, dword [esp + 0xf4]
cmp ebp, eax
jl 0x46d776
sub ebp, eax
mov edi, dword [esp + 0xec]
fld dword [edi + ebp*8]
mov dword [esp + 0x10], ebp
call fcn.0045c1b0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.0045c1b0
mov edi, eax
mov eax, dword [esp + 0xec]
fld dword [eax + ebp*8 + 4]
fsub dword [eax + ebx*8 + 4]
call fcn.0045c1b0
cmp edi, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], edi
jle 0x46d7c9
sub edi, esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], 0xffffffff
jmp 0x46d7d7
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 0x46d80a
sub ecx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], 0xffffffff
jmp 0x46d818
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 0x46d844
sub ecx, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], 0xffffffff
jmp 0x46d852
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 0x46dcf6
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 0x46d9c3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xf4]
mov edi, eax
inc eax
jns 0x46d892
add eax, ecx
jmp 0x46d898
cmp eax, ecx
jl 0x46d898
sub eax, ecx
mov ebp, dword [esp + 0xec]
mov edx, eax
fld dword [ebp + edx*8]
mov dword [esp + 0x14], eax
call fcn.0045c1b0
fld dword [ebp + edi*8]
mov ebx, eax
call fcn.0045c1b0
mov esi, eax
mov eax, dword [esp + 0x14]
fld dword [ebp + eax*8 + 4]
fsub dword [ebp + edi*8 + 4]
call fcn.0045c1b0
xor ebp, ebp
cmp esi, ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
jle 0x46d8ea
sub esi, ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], 0xffffffff
jmp 0x46d8f8
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 0x46d939
sub ecx, edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], 0xffffffff
jmp 0x46d94d
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 0x46d98b
sub ecx, edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xac], 0xffffffff
jmp 0x46d99f
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 0x46dcf6
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 0x46db66
mov ebx, dword [esp + 0xe4]
cmp edx, dword [ebx + 4]
jge 0x46db62
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 0x46da1f
mov edx, esi
sub edx, ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xc4], 0xffffffff
jmp 0x46da33
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 0x46da5f
mov esi, edi
sub esi, ecx
mov dword [esp + 0xd0], esi
mov dword [esp + 0xdc], 0xffffffff
jmp 0x46da73
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 0x46db4c
mov esi, dword [esp + 0xe8]
mov ebp, dword [esp + 0x1c]
jmp 0x46daa0
mov ebx, dword [esp + 0xe4]
jmp 0x46daa0
test ebp, ebp
jl 0x46dae8
cmp ebp, dword [ebx]
jge 0x46dae8
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 0x46db1a
mov ebx, dword [esp + 0xb4]
lea ebx, [ebx]
mov ebp, dword [esp + 0xc4]
sub edx, eax
add ebx, ebp
cmp edx, eax
jg 0x46db00
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xb4], ebx
add ecx, dword [esp + 0xd0]
cmp ecx, eax
jle 0x46db3b
mov ebx, dword [esp + 0xdc]
sub ecx, eax
add edi, ebx
cmp ecx, eax
jg 0x46db25
mov dword [esp + 0xcc], edi
mov ebx, dword [esp + 0x6c]
inc ebp
cmp ebp, ebx
mov dword [esp + 0x1c], ebp
jl 0x46da94
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 0x46db96
mov edx, dword [esp + 0x54]
lea ebx, [ebx]
add edx, dword [esp + 0x64]
sub eax, ebx
cmp eax, ebx
jg 0x46db80
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 0x46dbc4
nop
mov ebx, dword [esp + 0x34]
sub ecx, edx
add esi, ebx
cmp ecx, edx
jg 0x46dbb0
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 0x46dbf4
lea esp, [esp]
mov ebx, dword [esp + 0x4c]
sub ebp, eax
add edi, ebx
cmp ebp, eax
jg 0x46dbe0
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 0x46dc30
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x6c]
jmp 0x46dc20
sub eax, ecx
add ebx, edx
cmp eax, ecx
jg 0x46dc20
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 0x46dc7f
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 0x46dc62
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 0x46dcdd
mov edx, dword [esp + 0xac]
jmp 0x46dcc0
mov ebx, dword [esp + 0x9c]
add ebx, edx
sub eax, ecx
cmp eax, ecx
mov dword [esp + 0x9c], ebx
jg 0x46dcc0
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 0x46d73f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret