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

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0xcc
push ebx
push ebp
xor ebx, ebx
push esi
dec eax
cmp eax, 4
push edi
mov edi, dword [esp + 0xe8]
mov edx, 1
jl 0x46f981
mov eax, 4
sub eax, edi
mov dword [esp + 0x14], 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 0x46f92a
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 0x46f93d
lea ebx, [edx + 1]
lea esi, [ecx + ebp]
fld dword [ecx + 8]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46f955
mov eax, dword [esp + 0x14]
lea ebx, [edx + 2]
lea esi, [eax + ecx]
fld dword [ecx + 0x10]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46f96d
mov eax, dword [esp + 0x10]
lea ebx, [edx + 3]
lea esi, [eax + ecx]
mov eax, dword [esp + 0xf0]
add edx, 4
add eax, 0xfffffffd
add ecx, 0x20
cmp edx, eax
jl 0x46f913
mov eax, dword [esp + 0xf0]
cmp edx, eax
jge 0x46f9be
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 0x46f9b6
mov ebx, edx
lea esi, [edx*8]
inc edx
add ecx, 8
cmp edx, ebp
jl 0x46f9a0
mov ecx, dword [esp + 0xf0]
lea eax, [ebx - 1]
test eax, eax
jge 0x46f9d0
add eax, ecx
jmp 0x46f9d6
cmp eax, ecx
jl 0x46f9d6
sub eax, ecx
mov edx, eax
fld dword [edi + edx*8]
mov dword [esp + 0x14], eax
call fcn.0045dbd0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.0045dbd0
mov ecx, dword [esp + 0x14]
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 + 0x34], 0
mov dword [esp + 0x38], ebp
jle 0x46fa2b
mov ecx, ebp
sub ecx, esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], 0xffffffff
jmp 0x46fa39
sub esi, ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], 1
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0x14]
mov edi, dword [edx + ebx*8]
mov ecx, dword [edx + ecx*8]
cmp edi, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], edi
jle 0x46fa74
mov esi, edi
sub esi, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], 0xffffffff
jmp 0x46fa82
sub ecx, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x14]
mov esi, dword [edx + ebx*8 + 4]
mov ecx, dword [edx + ecx*8 + 4]
cmp esi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], esi
jle 0x46fab8
mov edx, esi
sub edx, ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], 0xffffffff
jmp 0x46fac6
sub ecx, esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], 1
inc ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
jns 0x46fadc
mov edx, dword [esp + 0xf0]
add ebx, edx
jmp 0x46fae9
mov eax, dword [esp + 0xf0]
cmp ebx, eax
jl 0x46fae9
sub ebx, eax
mov ecx, dword [esp + 0xe8]
mov eax, ebx
fld dword [ecx + eax*8]
mov dword [esp + 0x10], ebx
call fcn.0045dbd0
mov edx, dword [esp + 0xe8]
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x10]
fld dword [edx + eax*8 + 4]
fsub dword [ecx]
call fcn.0045dbd0
cmp ebp, ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], ebp
jle 0x46fb3a
sub ebp, ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x78], 0xffffffff
jmp 0x46fb48
sub ebx, ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], 1
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0x10]
mov ecx, dword [edx + ebx*8]
xor ebp, ebp
cmp edi, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], edi
jle 0x46fb88
sub edi, ecx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa8], 0xffffffff
jmp 0x46fb9c
sub ecx, edi
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 1
mov ecx, dword [edx + ebx*8 + 4]
cmp esi, ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], esi
jle 0x46fbd3
sub esi, ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], 0xffffffff
jmp 0x46fbe7
sub ecx, esi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], 1
mov edx, dword [esp + 0x18]
fld dword [edx]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call fcn.0045dbd0
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
cmp eax, ecx
jl 0x46fd3d
mov ebx, dword [esp + 0x14]
lea ebp, [ebx - 1]
test ebp, ebp
jge 0x46fc36
mov ecx, dword [esp + 0xf0]
add ebp, ecx
jmp 0x46fc43
mov eax, dword [esp + 0xf0]
cmp ebp, eax
jl 0x46fc43
sub ebp, eax
mov edi, dword [esp + 0xe8]
fld dword [edi + ebp*8]
mov dword [esp + 0x14], ebp
call fcn.0045dbd0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.0045dbd0
mov edi, eax
mov eax, dword [esp + 0xe8]
fld dword [eax + ebp*8 + 4]
fsub dword [eax + ebx*8 + 4]
call fcn.0045dbd0
cmp edi, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], edi
jle 0x46fc96
sub edi, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], 0xffffffff
jmp 0x46fca4
sub esi, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], 1
mov esi, dword [esp + 0xec]
mov ecx, dword [esi + ebx*8]
mov edx, dword [esi + ebp*8]
xor edi, edi
cmp ecx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
jle 0x46fcd7
sub ecx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0xffffffff
jmp 0x46fce5
sub edx, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], 1
mov ecx, dword [esi + ebx*8 + 4]
mov edx, dword [esi + ebp*8 + 4]
cmp ecx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ecx
jle 0x46fd11
sub ecx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], 0xffffffff
jmp 0x46fd1f
sub edx, ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
cmp ebx, dword [esp + 0x10]
je 0x4701ae
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
cmp edx, dword [esp + 0x70]
jl 0x46fe8d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xf0]
mov edi, eax
inc eax
jns 0x46fd5f
add eax, ecx
jmp 0x46fd65
cmp eax, ecx
jl 0x46fd65
sub eax, ecx
mov ebp, dword [esp + 0xe8]
mov edx, eax
fld dword [ebp + edx*8]
mov dword [esp + 0x10], eax
call fcn.0045dbd0
fld dword [ebp + edi*8]
mov ebx, eax
call fcn.0045dbd0
mov esi, eax
mov eax, dword [esp + 0x10]
fld dword [ebp + eax*8 + 4]
fsub dword [ebp + edi*8 + 4]
call fcn.0045dbd0
xor ebp, ebp
cmp esi, ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
jle 0x46fdb7
sub esi, ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], 0xffffffff
jmp 0x46fdc5
sub ebx, esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], 1
mov esi, dword [esp + 0xec]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + edi*8]
mov edx, dword [esi + ebx*8]
cmp ecx, edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ecx
jle 0x46fe06
sub ecx, edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 0xffffffff
jmp 0x46fe1a
sub edx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa8], 1
mov ecx, dword [esi + edi*8 + 4]
mov edx, dword [esi + ebx*8 + 4]
cmp ecx, edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ecx
jle 0x46fe55
sub ecx, edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], 0xffffffff
jmp 0x46fe69
sub edx, ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x90], 1
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
cmp edi, dword [esp + 0x14]
je 0x4701ae
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x18]
test ebp, ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jl 0x470033
mov edx, dword [esp + 0xe0]
cmp ebp, dword [edx + 4]
jge 0x47002f
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x98]
sub eax, ebp
cmp esi, ecx
mov dword [esp + 0xb0], esi
jle 0x46fee9
mov edx, esi
sub edx, ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xc0], 0xffffffff
jmp 0x46fefd
sub ecx, esi
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xc0], 1
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x80]
cmp esi, edx
mov edi, eax
mov dword [esp + 0xc8], esi
jle 0x46ff26
mov ecx, esi
sub ecx, edx
mov dword [esp + 0xd8], 0xffffffff
jmp 0x46ff35
mov ecx, edx
sub ecx, esi
mov dword [esp + 0xd8], 1
cmp ebp, dword [esp + 0x68]
mov dword [esp + 0xcc], ecx
mov esi, eax
jge 0x470013
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xb0]
test ebp, ebp
jl 0x46ffc3
mov ebx, dword [esp + 0xe0]
cmp ebp, dword [ebx]
jge 0x46ffbc
mov ecx, dword [esp + 0xe4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
imul ebx, edx
add ebx, dword [esp + 0xb0]
mov dl, byte [ecx + ebx*4 + 3]
lea ecx, [ecx + ebx*4]
mov ebx, dword [esp + 0xf4]
cmp dl, byte [ebx]
jbe 0x46ffae
mov edx, dword [esp + 0xe0]
mov edx, dword [edx + 8]
imul edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xe0]
mov ebx, dword [ebx + 0xc]
mov ecx, dword [ecx]
add edx, ebp
mov dword [ebx + edx*4], ecx
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xb0]
add edi, dword [esp + 0xb4]
cmp edi, eax
jle 0x46ffe4
mov edi, edi
add ebx, dword [esp + 0xc0]
sub edi, eax
cmp edi, eax
jg 0x46ffd0
mov dword [esp + 0xb0], ebx
add esi, ecx
cmp esi, eax
jle 0x470004
lea ebx, [ebx]
add edx, dword [esp + 0xd8]
sub esi, eax
cmp esi, eax
jg 0x46fff0
mov dword [esp + 0xc8], edx
inc ebp
cmp ebp, dword [esp + 0x68]
jl 0x46ff56
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x2c]
emms
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jmp 0x470037
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
add eax, dword [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x44], eax
jle 0x470055
add ebp, dword [esp + 0x48]
sub eax, ecx
cmp eax, ecx
jg 0x470043
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x34]
add ebx, dword [esp + 0x24]
inc ebp
cmp ebx, edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebx
jle 0x470084
lea ebx, [ebx]
mov ebp, dword [esp + 0x30]
sub ebx, edx
add esi, ebp
cmp ebx, edx
jg 0x470070
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], esi
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
add edi, edx
inc ebp
cmp edi, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x5c], edi
jle 0x4700b7
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
sub edi, eax
add ecx, edx
cmp edi, eax
jg 0x4700a3
mov dword [esp + 0x5c], edi
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
inc eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
add eax, ebp
cmp eax, ecx
mov dword [esp + 0x74], eax
jle 0x4700f0
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x68]
mov edi, edi
sub eax, ecx
add ebp, edx
cmp eax, ecx
jg 0x4700e0
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], ebp
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
inc eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xa4]
add eax, ebp
cmp eax, ecx
mov dword [esp + 0xa4], eax
jle 0x470146
mov edx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x98]
lea esp, [esp]
sub eax, ecx
add ebp, edx
cmp eax, ecx
jg 0x470130
mov dword [esp + 0xa4], eax
mov dword [esp + 0x98], ebp
mov eax, dword [esp + 0x94]
mov ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
inc eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x8c]
add eax, ebp
cmp eax, ecx
mov dword [esp + 0x8c], eax
jle 0x47019b
mov edx, dword [esp + 0x90]
mov ebp, dword [esp + 0x80]
sub eax, ecx
add ebp, edx
cmp eax, ecx
jg 0x470185
mov dword [esp + 0x8c], eax
mov dword [esp + 0x80], ebp
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x7c], ecx
inc eax
jmp 0x46fc0c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret