Function at 0x46fe80
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 0x46ff41
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 0x46feea
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 0x46fefd
lea ebx, [edx + 1]
lea esi, [ecx + ebp]
fld dword [ecx + 8]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46ff15
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 0x46ff2d
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 0x46fed3
mov eax, dword [esp + 0xf0]
cmp edx, eax
jge 0x46ff7e
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 0x46ff76
mov ebx, edx
lea esi, [edx*8]
inc edx
add ecx, 8
cmp edx, ebp
jl 0x46ff60
mov ecx, dword [esp + 0xf0]
lea eax, [ebx - 1]
test eax, eax
jge 0x46ff90
add eax, ecx
jmp 0x46ff96
cmp eax, ecx
jl 0x46ff96
sub eax, ecx
mov edx, eax
fld dword [edi + edx*8]
mov dword [esp + 0x14], eax
call fcn.00461da0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.00461da0
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.00461da0
cmp ebp, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], ebp
jle 0x46ffeb
mov ecx, ebp
sub ecx, esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], 0xffffffff
jmp 0x46fff9
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 0x470034
mov esi, edi
sub esi, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], 0xffffffff
jmp 0x470042
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 0x470078
mov edx, esi
sub edx, ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], 0xffffffff
jmp 0x470086
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 0x47009c
mov edx, dword [esp + 0xf0]
add ebx, edx
jmp 0x4700a9
mov eax, dword [esp + 0xf0]
cmp ebx, eax
jl 0x4700a9
sub ebx, eax
mov ecx, dword [esp + 0xe8]
mov eax, ebx
fld dword [ecx + eax*8]
mov dword [esp + 0x10], ebx
call fcn.00461da0
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.00461da0
cmp ebp, ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], ebp
jle 0x4700fa
sub ebp, ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x78], 0xffffffff
jmp 0x470108
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 0x470148
sub edi, ecx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa8], 0xffffffff
jmp 0x47015c
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 0x470193
sub esi, ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], 0xffffffff
jmp 0x4701a7
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.00461da0
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 0x4702fd
mov ebx, dword [esp + 0x14]
lea ebp, [ebx - 1]
test ebp, ebp
jge 0x4701f6
mov ecx, dword [esp + 0xf0]
add ebp, ecx
jmp 0x470203
mov eax, dword [esp + 0xf0]
cmp ebp, eax
jl 0x470203
sub ebp, eax
mov edi, dword [esp + 0xe8]
fld dword [edi + ebp*8]
mov dword [esp + 0x14], ebp
call fcn.00461da0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.00461da0
mov edi, eax
mov eax, dword [esp + 0xe8]
fld dword [eax + ebp*8 + 4]
fsub dword [eax + ebx*8 + 4]
call fcn.00461da0
cmp edi, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], edi
jle 0x470256
sub edi, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], 0xffffffff
jmp 0x470264
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 0x470297
sub ecx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0xffffffff
jmp 0x4702a5
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 0x4702d1
sub ecx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], 0xffffffff
jmp 0x4702df
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 0x47076e
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 0x47044d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xf0]
mov edi, eax
inc eax
jns 0x47031f
add eax, ecx
jmp 0x470325
cmp eax, ecx
jl 0x470325
sub eax, ecx
mov ebp, dword [esp + 0xe8]
mov edx, eax
fld dword [ebp + edx*8]
mov dword [esp + 0x10], eax
call fcn.00461da0
fld dword [ebp + edi*8]
mov ebx, eax
call fcn.00461da0
mov esi, eax
mov eax, dword [esp + 0x10]
fld dword [ebp + eax*8 + 4]
fsub dword [ebp + edi*8 + 4]
call fcn.00461da0
xor ebp, ebp
cmp esi, ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
jle 0x470377
sub esi, ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], 0xffffffff
jmp 0x470385
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 0x4703c6
sub ecx, edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 0xffffffff
jmp 0x4703da
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 0x470415
sub ecx, edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], 0xffffffff
jmp 0x470429
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 0x47076e
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 0x4705f3
mov edx, dword [esp + 0xe0]
cmp ebp, dword [edx + 4]
jge 0x4705ef
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 0x4704a9
mov edx, esi
sub edx, ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xc0], 0xffffffff
jmp 0x4704bd
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 0x4704e6
mov ecx, esi
sub ecx, edx
mov dword [esp + 0xd8], 0xffffffff
jmp 0x4704f5
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 0x4705d3
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xb0]
test ebp, ebp
jl 0x470583
mov ebx, dword [esp + 0xe0]
cmp ebp, dword [ebx]
jge 0x47057c
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 0x47056e
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 0x4705a4
mov edi, edi
add ebx, dword [esp + 0xc0]
sub edi, eax
cmp edi, eax
jg 0x470590
mov dword [esp + 0xb0], ebx
add esi, ecx
cmp esi, eax
jle 0x4705c4
lea ebx, [ebx]
add edx, dword [esp + 0xd8]
sub esi, eax
cmp esi, eax
jg 0x4705b0
mov dword [esp + 0xc8], edx
inc ebp
cmp ebp, dword [esp + 0x68]
jl 0x470516
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 0x4705f7
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
add eax, dword [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x44], eax
jle 0x470615
add ebp, dword [esp + 0x48]
sub eax, ecx
cmp eax, ecx
jg 0x470603
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 0x470644
lea ebx, [ebx]
mov ebp, dword [esp + 0x30]
sub ebx, edx
add esi, ebp
cmp ebx, edx
jg 0x470630
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 0x470677
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
sub edi, eax
add ecx, edx
cmp edi, eax
jg 0x470663
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 0x4706b0
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x68]
mov edi, edi
sub eax, ecx
add ebp, edx
cmp eax, ecx
jg 0x4706a0
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 0x470706
mov edx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x98]
lea esp, [esp]
sub eax, ecx
add ebp, edx
cmp eax, ecx
jg 0x4706f0
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 0x47075b
mov edx, dword [esp + 0x90]
mov ebp, dword [esp + 0x80]
sub eax, ecx
add ebp, edx
cmp eax, ecx
jg 0x470745
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 0x4701cc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret