Function at 0x46f560
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 0x46f621
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 0x46f5ca
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 0x46f5dd
lea ebx, [edx + 1]
lea esi, [ecx + ebp]
fld dword [ecx + 8]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46f5f5
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 0x46f60d
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 0x46f5b3
mov eax, dword [esp + 0xf4]
cmp edx, eax
jge 0x46f65e
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 0x46f656
mov ebx, edx
lea esi, [edx*8]
inc edx
add ecx, 8
cmp edx, ebp
jl 0x46f640
mov ecx, dword [esp + 0xf4]
lea eax, [ebx - 1]
test eax, eax
jge 0x46f670
add eax, ecx
jmp 0x46f676
cmp eax, ecx
jl 0x46f676
sub eax, ecx
mov edx, eax
fld dword [edi + edx*8]
mov dword [esp + 0x10], eax
call fcn.00461da0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.00461da0
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.00461da0
cmp ebp, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ebp
jle 0x46f6cb
mov ecx, ebp
sub ecx, esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], 0xffffffff
jmp 0x46f6d9
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 0x46f714
mov esi, edi
sub esi, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], 0xffffffff
jmp 0x46f722
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 0x46f758
mov edx, esi
sub edx, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], 0xffffffff
jmp 0x46f766
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 0x46f77c
mov edx, dword [esp + 0xf4]
add ebx, edx
jmp 0x46f789
mov eax, dword [esp + 0xf4]
cmp ebx, eax
jl 0x46f789
sub ebx, eax
mov ecx, dword [esp + 0xec]
mov eax, ebx
fld dword [ecx + eax*8]
mov dword [esp + 0x14], ebx
call fcn.00461da0
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.00461da0
cmp ebp, ebx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ebp
jle 0x46f7da
sub ebp, ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x7c], 0xffffffff
jmp 0x46f7e8
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 0x46f828
sub edi, ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x94], 0xffffffff
jmp 0x46f83c
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 0x46f876
sub esi, ecx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xac], 0xffffffff
jmp 0x46f88a
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.00461da0
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 0x46f9e0
mov ebx, dword [esp + 0x10]
lea ebp, [ebx - 1]
test ebp, ebp
jge 0x46f8d9
mov ecx, dword [esp + 0xf4]
add ebp, ecx
jmp 0x46f8e6
mov eax, dword [esp + 0xf4]
cmp ebp, eax
jl 0x46f8e6
sub ebp, eax
mov edi, dword [esp + 0xec]
fld dword [edi + ebp*8]
mov dword [esp + 0x10], ebp
call fcn.00461da0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.00461da0
mov edi, eax
mov eax, dword [esp + 0xec]
fld dword [eax + ebp*8 + 4]
fsub dword [eax + ebx*8 + 4]
call fcn.00461da0
cmp edi, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], edi
jle 0x46f939
sub edi, esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], 0xffffffff
jmp 0x46f947
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 0x46f97a
sub ecx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], 0xffffffff
jmp 0x46f988
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 0x46f9b4
sub ecx, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], 0xffffffff
jmp 0x46f9c2
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 0x46fe66
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 0x46fb33
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xf4]
mov edi, eax
inc eax
jns 0x46fa02
add eax, ecx
jmp 0x46fa08
cmp eax, ecx
jl 0x46fa08
sub eax, ecx
mov ebp, dword [esp + 0xec]
mov edx, eax
fld dword [ebp + edx*8]
mov dword [esp + 0x14], eax
call fcn.00461da0
fld dword [ebp + edi*8]
mov ebx, eax
call fcn.00461da0
mov esi, eax
mov eax, dword [esp + 0x14]
fld dword [ebp + eax*8 + 4]
fsub dword [ebp + edi*8 + 4]
call fcn.00461da0
xor ebp, ebp
cmp esi, ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
jle 0x46fa5a
sub esi, ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], 0xffffffff
jmp 0x46fa68
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 0x46faa9
sub ecx, edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], 0xffffffff
jmp 0x46fabd
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 0x46fafb
sub ecx, edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xac], 0xffffffff
jmp 0x46fb0f
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 0x46fe66
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 0x46fcd6
mov ebx, dword [esp + 0xe4]
cmp edx, dword [ebx + 4]
jge 0x46fcd2
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 0x46fb8f
mov edx, esi
sub edx, ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xc4], 0xffffffff
jmp 0x46fba3
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 0x46fbcf
mov esi, edi
sub esi, ecx
mov dword [esp + 0xd0], esi
mov dword [esp + 0xdc], 0xffffffff
jmp 0x46fbe3
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 0x46fcbc
mov esi, dword [esp + 0xe8]
mov ebp, dword [esp + 0x1c]
jmp 0x46fc10
mov ebx, dword [esp + 0xe4]
jmp 0x46fc10
test ebp, ebp
jl 0x46fc58
cmp ebp, dword [ebx]
jge 0x46fc58
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 0x46fc8a
mov ebx, dword [esp + 0xb4]
lea ebx, [ebx]
mov ebp, dword [esp + 0xc4]
sub edx, eax
add ebx, ebp
cmp edx, eax
jg 0x46fc70
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xb4], ebx
add ecx, dword [esp + 0xd0]
cmp ecx, eax
jle 0x46fcab
mov ebx, dword [esp + 0xdc]
sub ecx, eax
add edi, ebx
cmp ecx, eax
jg 0x46fc95
mov dword [esp + 0xcc], edi
mov ebx, dword [esp + 0x6c]
inc ebp
cmp ebp, ebx
mov dword [esp + 0x1c], ebp
jl 0x46fc04
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 0x46fd06
mov edx, dword [esp + 0x54]
lea ebx, [ebx]
add edx, dword [esp + 0x64]
sub eax, ebx
cmp eax, ebx
jg 0x46fcf0
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 0x46fd34
nop
mov ebx, dword [esp + 0x34]
sub ecx, edx
add esi, ebx
cmp ecx, edx
jg 0x46fd20
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 0x46fd64
lea esp, [esp]
mov ebx, dword [esp + 0x4c]
sub ebp, eax
add edi, ebx
cmp ebp, eax
jg 0x46fd50
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 0x46fda0
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x6c]
jmp 0x46fd90
sub eax, ecx
add ebx, edx
cmp eax, ecx
jg 0x46fd90
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 0x46fdef
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 0x46fdd2
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 0x46fe4d
mov edx, dword [esp + 0xac]
jmp 0x46fe30
mov ebx, dword [esp + 0x9c]
add ebx, edx
sub eax, ecx
cmp eax, ecx
mov dword [esp + 0x9c], ebx
jg 0x46fe30
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 0x46f8af
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret