Function at 0x46dd10
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 0x46ddd1
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 0x46dd7a
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 0x46dd8d
lea ebx, [edx + 1]
lea esi, [ecx + ebp]
fld dword [ecx + 8]
fcomp dword [esi + edi + 4]
fnstsw ax
test ah, 5
jp 0x46dda5
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 0x46ddbd
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 0x46dd63
mov eax, dword [esp + 0xf0]
cmp edx, eax
jge 0x46de0e
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 0x46de06
mov ebx, edx
lea esi, [edx*8]
inc edx
add ecx, 8
cmp edx, ebp
jl 0x46ddf0
mov ecx, dword [esp + 0xf0]
lea eax, [ebx - 1]
test eax, eax
jge 0x46de20
add eax, ecx
jmp 0x46de26
cmp eax, ecx
jl 0x46de26
sub eax, ecx
mov edx, eax
fld dword [edi + edx*8]
mov dword [esp + 0x14], eax
call fcn.0045c1b0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.0045c1b0
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.0045c1b0
cmp ebp, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], ebp
jle 0x46de7b
mov ecx, ebp
sub ecx, esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], 0xffffffff
jmp 0x46de89
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 0x46dec4
mov esi, edi
sub esi, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], 0xffffffff
jmp 0x46ded2
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 0x46df08
mov edx, esi
sub edx, ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], 0xffffffff
jmp 0x46df16
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 0x46df2c
mov edx, dword [esp + 0xf0]
add ebx, edx
jmp 0x46df39
mov eax, dword [esp + 0xf0]
cmp ebx, eax
jl 0x46df39
sub ebx, eax
mov ecx, dword [esp + 0xe8]
mov eax, ebx
fld dword [ecx + eax*8]
mov dword [esp + 0x10], ebx
call fcn.0045c1b0
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.0045c1b0
cmp ebp, ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], ebp
jle 0x46df8a
sub ebp, ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x78], 0xffffffff
jmp 0x46df98
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 0x46dfd8
sub edi, ecx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa8], 0xffffffff
jmp 0x46dfec
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 0x46e023
sub esi, ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], 0xffffffff
jmp 0x46e037
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.0045c1b0
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 0x46e18d
mov ebx, dword [esp + 0x14]
lea ebp, [ebx - 1]
test ebp, ebp
jge 0x46e086
mov ecx, dword [esp + 0xf0]
add ebp, ecx
jmp 0x46e093
mov eax, dword [esp + 0xf0]
cmp ebp, eax
jl 0x46e093
sub ebp, eax
mov edi, dword [esp + 0xe8]
fld dword [edi + ebp*8]
mov dword [esp + 0x14], ebp
call fcn.0045c1b0
fld dword [edi + ebx*8]
mov esi, eax
call fcn.0045c1b0
mov edi, eax
mov eax, dword [esp + 0xe8]
fld dword [eax + ebp*8 + 4]
fsub dword [eax + ebx*8 + 4]
call fcn.0045c1b0
cmp edi, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], edi
jle 0x46e0e6
sub edi, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], 0xffffffff
jmp 0x46e0f4
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 0x46e127
sub ecx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0xffffffff
jmp 0x46e135
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 0x46e161
sub ecx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], 0xffffffff
jmp 0x46e16f
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 0x46e5fe
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 0x46e2dd
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xf0]
mov edi, eax
inc eax
jns 0x46e1af
add eax, ecx
jmp 0x46e1b5
cmp eax, ecx
jl 0x46e1b5
sub eax, ecx
mov ebp, dword [esp + 0xe8]
mov edx, eax
fld dword [ebp + edx*8]
mov dword [esp + 0x10], eax
call fcn.0045c1b0
fld dword [ebp + edi*8]
mov ebx, eax
call fcn.0045c1b0
mov esi, eax
mov eax, dword [esp + 0x10]
fld dword [ebp + eax*8 + 4]
fsub dword [ebp + edi*8 + 4]
call fcn.0045c1b0
xor ebp, ebp
cmp esi, ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
jle 0x46e207
sub esi, ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], 0xffffffff
jmp 0x46e215
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 0x46e256
sub ecx, edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 0xffffffff
jmp 0x46e26a
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 0x46e2a5
sub ecx, edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], 0xffffffff
jmp 0x46e2b9
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 0x46e5fe
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 0x46e483
mov edx, dword [esp + 0xe0]
cmp ebp, dword [edx + 4]
jge 0x46e47f
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 0x46e339
mov edx, esi
sub edx, ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xc0], 0xffffffff
jmp 0x46e34d
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 0x46e376
mov ecx, esi
sub ecx, edx
mov dword [esp + 0xd8], 0xffffffff
jmp 0x46e385
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 0x46e463
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xb0]
test ebp, ebp
jl 0x46e413
mov ebx, dword [esp + 0xe0]
cmp ebp, dword [ebx]
jge 0x46e40c
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 0x46e3fe
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 0x46e434
mov edi, edi
add ebx, dword [esp + 0xc0]
sub edi, eax
cmp edi, eax
jg 0x46e420
mov dword [esp + 0xb0], ebx
add esi, ecx
cmp esi, eax
jle 0x46e454
lea ebx, [ebx]
add edx, dword [esp + 0xd8]
sub esi, eax
cmp esi, eax
jg 0x46e440
mov dword [esp + 0xc8], edx
inc ebp
cmp ebp, dword [esp + 0x68]
jl 0x46e3a6
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 0x46e487
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
add eax, dword [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x44], eax
jle 0x46e4a5
add ebp, dword [esp + 0x48]
sub eax, ecx
cmp eax, ecx
jg 0x46e493
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 0x46e4d4
lea ebx, [ebx]
mov ebp, dword [esp + 0x30]
sub ebx, edx
add esi, ebp
cmp ebx, edx
jg 0x46e4c0
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 0x46e507
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
sub edi, eax
add ecx, edx
cmp edi, eax
jg 0x46e4f3
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 0x46e540
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x68]
mov edi, edi
sub eax, ecx
add ebp, edx
cmp eax, ecx
jg 0x46e530
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 0x46e596
mov edx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x98]
lea esp, [esp]
sub eax, ecx
add ebp, edx
cmp eax, ecx
jg 0x46e580
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 0x46e5eb
mov edx, dword [esp + 0x90]
mov ebp, dword [esp + 0x80]
sub eax, ecx
add ebp, edx
cmp eax, ecx
jg 0x46e5d5
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 0x46e05c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret