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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [ebp + 0xc]
push ebx
push esi
cmp eax, 5
push edi
ja case.default.0x401a2b
jmp dword [eax*4 + 0x402950]
mov esi, dword [0xbf3e90]
mov edi, dword [0xbf3e94]
xor eax, eax
mov ecx, 1
mov edx, 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x401b5b
mov esi, dword [0xbf3ef0]
mov edi, dword [0xbf3ef4]
xor eax, eax
mov ecx, 1
mov edx, 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x401b5b
mov esi, dword [0xbf3ee8]
mov edi, dword [0xbf3eec]
xor eax, eax
mov ecx, 2
mov edx, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x401b5b
mov esi, dword [0xbf3e98]
mov edi, dword [0xbf3e9c]
mov eax, 1
mov ecx, 2
xor edx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x401b5b
mov esi, dword [0xbf3eb8]
mov edi, dword [0xbf3ebc]
xor eax, eax
mov ecx, 2
mov edx, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x401b5b
mov esi, dword [0xbf3e80]
mov edi, dword [0xbf3e84]
mov eax, 1
mov ecx, 2
xor edx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x401b5b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
fld qword [eax*8 + 0xc16080]
lea esi, [eax*8 + 0xc161a0]
mov edi, dword [ebp + 8]
fstp qword [esp + 0xb8]
fld qword [ecx*8 + 0xc16080]
fstp qword [esp + 0xb0]
fld qword [edx*8 + 0xc16080]
fld qword [esp + 0xb8]
fmul qword [eax*8 + 0xbf3d40]
lea eax, [eax*8 + 0xc161c0]
fsubr qword [0x5e59e0]
fld qword [esp + 0xb0]
fmul qword [ecx*8 + 0xbf3d40]
fsubp st(1)
fld st(1)
fmul qword [edx*8 + 0xbf3d40]
fsubp st(1)
fxch st(1)
fmul qword [esp + 0x30]
faddp st(1)
fstp qword [esp + 0xd8]
fld qword [ebp + 0x18]
fchs
fld qword [esp + 0x30]
fmul qword [edx*8 + 0xc161a0]
fsubp st(1)
fld qword [ebp + 0x20]
fchs
fld qword [esp + 0x30]
fmul qword [edx*8 + 0xc161c0]
lea edx, [ecx*8 + 0xc161c0]
lea ecx, [ecx*8 + 0xc161a0]
fsubp st(1)
fld qword [edx]
fmul qword [esi]
fld qword [eax]
fmul qword [ecx]
fsubp st(1)
fdivr qword [0x46c4e0]
fld qword [0x5d59c0]
fmul qword [edx]
fmul st(1)
fstp qword [esp + 0x60]
fld qword [0x5d59c0]
fmul qword [eax]
fmul st(1)
fchs
fstp qword [esp + 0x70]
fld qword [0x5d59a0]
fmul qword [ecx]
fmul st(1)
fchs
fstp qword [esp + 0xc0]
fld qword [0x5d59a0]
fmul st(1)
fmul qword [esi]
fstp qword [esp + 0xe0]
fld st(2)
fmul qword [edx]
fld st(2)
fmul qword [ecx]
fsubp st(1)
fmul st(1)
fstp qword [esp + 0xd0]
fxch st(1)
fmul qword [esi]
fxch st(2)
fmul qword [eax]
xor eax, eax
mov al, byte [edi]
fsubp st(2)
fxch st(1)
shl eax, 4
fmul st(1)
mov ecx, dword [eax + 0x475920]
fstp qword [esp + 0xc8]
fstp st(0)
mov edx, dword [eax + 0x475924]
mov dword [esp + 0x78], ecx
xor ecx, ecx
mov dword [esp + 0x7c], edx
mov cl, byte [edi + 1]
shl ecx, 4
mov edx, dword [ecx + 0x475920]
mov esi, dword [ecx + 0x475924]
mov dword [esp + 0xa0], edx
xor edx, edx
mov dl, byte [edi + 2]
mov dword [esp + 0xa4], esi
mov esi, edx
shl esi, 4
mov edx, dword [esi + 0x475920]
mov ebx, dword [esi + 0x475924]
mov dword [esp + 0xe8], edx
xor edx, edx
mov dl, byte [edi + 3]
mov dword [esp + 0xec], ebx
shl edx, 4
mov edi, dword [edx + 0x475920]
mov ebx, dword [edx + 0x475924]
mov dword [esp + 0x98], edi
mov edi, dword [eax + 0x475928]
mov eax, dword [eax + 0x47592c]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x475928]
mov ecx, dword [ecx + 0x47592c]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x475928]
mov dword [esp + 0x84], ecx
mov ecx, dword [esi + 0x47592c]
mov dword [esp + 0xa8], eax
mov eax, dword [edx + 0x475928]
mov dword [esp + 0xac], ecx
mov ecx, dword [edx + 0x47592c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x68], eax
mov eax, edi
push edx
push eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x74], ecx
call fcn.004603c3
call fcn.00460494
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push ecx
push edx
mov esi, eax
call fcn.004602f4
call fcn.00460494
mov ecx, dword [esp + 0xb8]
mov edi, eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x6c], edi
push eax
push ecx
call fcn.004602f4
call fcn.00460494
mov edx, dword [esp + 0x84]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x80]
push edx
push eax
call fcn.004602f4
add esp, 0x20
call fcn.00460494
fld qword [esp + 0x50]
fcomp qword [esp + 0x80]
mov ebx, eax
mov dword [esp + 0x90], ebx
fnstsw ax
test ah, 0x40
je 0x401e03
fld qword [esp + 0x50]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x40
jne 0x402943
lea ecx, [esi - 1]
mov dword [esp + 0x5c], ecx
mov edi, ecx
fld qword [esp + 0x50]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x40
je 0x401e1c
lea ebx, [esi - 1]
mov dword [esp + 0x90], ebx
fld qword [esp + 0x80]
fsub qword [esp + 0x50]
cmp edi, ebx
fld st(0)
fabs
fcomp qword [0x46c4e8]
fnstsw ax
jge 0x4023c7
test ah, 1
je 0x401e54
fstp st(0)
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x401e67
fld qword [esp + 0xa0]
fsub qword [esp + 0x78]
fdiv st(1)
fstp qword [esp + 0x48]
fstp st(0)
fld qword [esp + 0x68]
fsub qword [esp + 0x50]
fld st(0)
fabs
fcomp qword [0x46c4e8]
fnstsw ax
test ah, 1
je 0x401e94
fstp st(0)
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x401ea7
fld qword [esp + 0x98]
fsub qword [esp + 0x78]
fdiv st(1)
fstp qword [esp + 0x38]
fstp st(0)
cmp esi, edi
mov dword [esp + 0xc], esi
jg 0x402026
shl esi, 8
mov dword [esp + 0x1c], esi
fild dword [esp + 0xc]
sub esp, 8
fst qword [esp + 0x18]
fsub qword [esp + 0x58]
fstp qword [esp + 0x48]
fld qword [esp + 0x50]
fmul qword [esp + 0x48]
fadd qword [esp + 0x80]
fstp qword [esp]
call fcn.004603c3
call fcn.00460494
fld qword [esp + 0x40]
fmul qword [esp + 0x48]
mov esi, eax
mov dword [esp + 0x28], esi
fadd qword [esp + 0x80]
fstp qword [esp]
call fcn.004602f4
add esp, 8
call fcn.00460494
fld qword [esp + 0x10]
fmul qword [esp + 0xc0]
cmp esi, eax
fadd qword [esp + 0xd0]
fstp qword [esp + 0x88]
fld qword [esp + 0x10]
fmul qword [esp + 0xe0]
fadd qword [esp + 0xc8]
fstp qword [esp + 0x40]
fild dword [esp + 0x20]
fst qword [esp + 0x10]
fmul qword [esp + 0x60]
fld qword [esp + 0x10]
fmul qword [esp + 0x70]
jg 0x402059
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
fld qword [esp + 0x30]
lea ecx, [edx + esi]
mov esi, dword [esp + 0x28]
lea edx, [ecx + ecx*4]
lea ecx, [ecx + edx*2]
shl ecx, 1
lea edi, [ecx + esi*4 + 0x4759a2]
mov esi, dword [esp + 0x24]
lea edx, [ecx + 0x4759a0]
lea esi, [ecx + esi*4 + 0x4759a2]
lea ecx, [ecx + ebx*4 + 0x4759a2]
sub eax, dword [esp + 0x20]
inc eax
mov bl, byte [edx]
add edx, 0x16
fld st(2)
fadd qword [esp + 0x88]
fld st(2)
fadd qword [esp + 0x40]
inc bl
add ecx, 0x16
fld st(1)
mov byte [edx - 0x16], bl
add esi, 0x16
fstp dword [ecx - 0x16]
add edi, 0x16
dec eax
fst dword [esi - 0x16]
fld st(2)
fstp dword [edi - 0x16]
fmul qword [esp + 0xb0]
fxch st(1)
fmul qword [esp + 0xb8]
faddp st(1)
fadd qword [esp + 0xd8]
fstp dword [edx - 8]
fxch st(2)
fadd qword [esp + 0x60]
fxch st(2)
fxch st(1)
fadd qword [esp + 0x70]
fxch st(1)
jne 0x401f98
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x5c]
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
inc eax
add edx, 0x100
cmp eax, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], edx
jle 0x401eba
fld qword [esp + 0xa8]
fsub qword [esp + 0x80]
fld st(0)
fabs
fcomp qword [0x46c4e8]
fnstsw ax
test ah, 1
je 0x40205f
fstp st(0)
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x402075
fstp st(0)
fstp st(0)
jmp 0x402007
fld qword [esp + 0xe8]
fsub qword [esp + 0xa0]
fdiv st(1)
fstp qword [esp + 0x48]
fstp st(0)
lea esi, [edi + 1]
cmp esi, ebx
mov dword [esp + 0xc], esi
jg 0x4021ee
shl esi, 8
mov dword [esp + 0x1c], esi
fild dword [esp + 0xc]
sub esp, 8
fst qword [esp + 0x18]
fsub qword [esp + 0x88]
fmul qword [esp + 0x50]
fadd qword [esp + 0xa8]
fstp qword [esp]
call fcn.004603c3
call fcn.00460494
fld qword [esp + 0x18]
fsub qword [esp + 0x58]
mov edi, eax
mov dword [esp + 0x28], edi
fmul qword [esp + 0x40]
fadd qword [esp + 0x80]
fstp qword [esp]
call fcn.004602f4
add esp, 8
call fcn.00460494
fld qword [esp + 0x10]
fmul qword [esp + 0xc0]
cmp edi, eax
fadd qword [esp + 0xd0]
fstp qword [esp + 0x88]
fld qword [esp + 0x10]
fmul qword [esp + 0xe0]
fadd qword [esp + 0xc8]
fstp qword [esp + 0x40]
fild dword [esp + 0x20]
fst qword [esp + 0x10]
fmul qword [esp + 0x60]
fld qword [esp + 0x10]
fmul qword [esp + 0x70]
jg 0x40221e
lea ecx, [esi + edi]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
lea edx, [ecx + ecx*4]
fld qword [esp + 0x30]
lea ecx, [ecx + edx*2]
shl ecx, 1
lea edi, [ecx + esi*4 + 0x4759a2]
mov esi, dword [esp + 0x24]
lea edx, [ecx + 0x4759a0]
lea esi, [ecx + esi*4 + 0x4759a2]
lea ecx, [ecx + ebx*4 + 0x4759a2]
sub eax, dword [esp + 0x20]
inc eax
mov bl, byte [edx]
add edx, 0x16
fld st(2)
fadd qword [esp + 0x88]
fld st(2)
fadd qword [esp + 0x40]
inc bl
add ecx, 0x16
fld st(1)
mov byte [edx - 0x16], bl
add esi, 0x16
fstp dword [ecx - 0x16]
add edi, 0x16
dec eax
fst dword [esi - 0x16]
fld st(2)
fstp dword [edi - 0x16]
fmul qword [esp + 0xb0]
fxch st(1)
fmul qword [esp + 0xb8]
faddp st(1)
fadd qword [esp + 0xd8]
fstp dword [edx - 8]
fxch st(2)
fadd qword [esp + 0x60]
fxch st(2)
fxch st(1)
fadd qword [esp + 0x70]
fxch st(1)
jne 0x402164
mov ebx, dword [esp + 0x90]
mov esi, dword [esp + 0x1c]
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0xc]
add esi, 0x100
inc eax
mov dword [esp + 0x1c], esi
cmp eax, ebx
mov dword [esp + 0xc], eax
jle 0x40208b
fld qword [esp + 0xa8]
fsub qword [esp + 0x68]
fld st(0)
fabs
fcomp qword [0x46c4e8]
fnstsw ax
test ah, 1
je 0x402224
fstp st(0)
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x40223a
fstp st(0)
fstp st(0)
jmp 0x4021d3
fld qword [esp + 0xe8]
fsub qword [esp + 0x98]
fdiv st(1)
fstp qword [esp + 0x38]
fstp st(0)
mov eax, dword [esp + 0x94]
inc ebx
cmp ebx, eax
mov dword [esp + 0xc], ebx
jg 0x402943
mov esi, ebx
shl esi, 8
mov dword [esp + 0x1c], esi
fild dword [esp + 0xc]
sub esp, 8
fst qword [esp + 0x18]
fsub qword [esp + 0x88]
fmul qword [esp + 0x50]
fadd qword [esp + 0xa8]
fstp qword [esp]
call fcn.004603c3
call fcn.00460494
fld qword [esp + 0x18]
fsub qword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x28], edi
fmul qword [esp + 0x40]
fadd qword [esp + 0xa0]
fstp qword [esp]
call fcn.004602f4
add esp, 8
call fcn.00460494
fld qword [esp + 0x10]
fmul qword [esp + 0xc0]
cmp edi, eax
fadd qword [esp + 0xd0]
fstp qword [esp + 0x88]
fld qword [esp + 0x10]
fmul qword [esp + 0xe0]
fadd qword [esp + 0xc8]
fstp qword [esp + 0x40]
fild dword [esp + 0x20]
fst qword [esp + 0x10]
fmul qword [esp + 0x60]
fld qword [esp + 0x10]
fmul qword [esp + 0x70]
jg 0x4023c1
lea ecx, [esi + edi]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
lea edx, [ecx + ecx*4]
fld qword [esp + 0x30]
lea ecx, [ecx + edx*2]
shl ecx, 1
lea edi, [ecx + esi*4 + 0x4759a2]
mov esi, dword [esp + 0x24]
lea edx, [ecx + 0x4759a0]
lea esi, [ecx + esi*4 + 0x4759a2]
lea ecx, [ecx + ebx*4 + 0x4759a2]
sub eax, dword [esp + 0x20]
inc eax
mov bl, byte [edx]
add edx, 0x16
fld st(2)
fadd qword [esp + 0x88]
fld st(2)
fadd qword [esp + 0x40]
inc bl
add ecx, 0x16
fld st(1)
mov byte [edx - 0x16], bl
add esi, 0x16
fstp dword [ecx - 0x16]
add edi, 0x16
dec eax
fst dword [esi - 0x16]
fld st(2)
fstp dword [edi - 0x16]
fmul qword [esp + 0xb0]
fxch st(1)
fmul qword [esp + 0xb8]
faddp st(1)
fadd qword [esp + 0xd8]
fstp dword [edx - 8]
fxch st(2)
fadd qword [esp + 0x60]
fxch st(2)
fxch st(1)
fadd qword [esp + 0x70]
fxch st(1)
jne 0x402330
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x94]
inc ebx
add esi, 0x100
cmp ebx, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], esi
jle 0x402257
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
fstp st(0)
jmp 0x40239c
test ah, 1
je 0x4023e0
fstp st(0)
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x4023f3
fld qword [esp + 0xa0]
fsub qword [esp + 0x78]
fdiv st(1)
fstp qword [esp + 0x48]
fstp st(0)
fld qword [esp + 0x68]
fsub qword [esp + 0x50]
fld st(0)
fabs
fcomp qword [0x46c4e8]
fnstsw ax
test ah, 1
je 0x402420
fstp st(0)
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x402433
fld qword [esp + 0x98]
fsub qword [esp + 0x78]
fdiv st(1)
fstp qword [esp + 0x38]
fstp st(0)
cmp esi, ebx
mov dword [esp + 0xc], esi
jg 0x4025b1
shl esi, 8
mov dword [esp + 0x1c], esi
fild dword [esp + 0xc]
sub esp, 8
fst qword [esp + 0x18]
fsub qword [esp + 0x58]
fstp qword [esp + 0x48]
fld qword [esp + 0x50]
fmul qword [esp + 0x48]
fadd qword [esp + 0x80]
fstp qword [esp]
call fcn.004603c3
call fcn.00460494
fld qword [esp + 0x40]
fmul qword [esp + 0x48]
mov esi, eax
mov dword [esp + 0x28], esi
fadd qword [esp + 0x80]
fstp qword [esp]
call fcn.004602f4
add esp, 8
call fcn.00460494
fld qword [esp + 0x10]
fmul qword [esp + 0xc0]
cmp esi, eax
fadd qword [esp + 0xd0]
fstp qword [esp + 0x88]
fld qword [esp + 0x10]
fmul qword [esp + 0xe0]
fadd qword [esp + 0xc8]
fstp qword [esp + 0x40]
fild dword [esp + 0x20]
fst qword [esp + 0x10]
fmul qword [esp + 0x60]
fld qword [esp + 0x10]
fmul qword [esp + 0x70]
jg 0x4025e1
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add ecx, esi
mov esi, dword [esp + 0x28]
fld qword [esp + 0x30]
lea edx, [ecx + ecx*4]
lea ecx, [ecx + edx*2]
shl ecx, 1
lea edi, [ecx + esi*4 + 0x4759a2]
mov esi, dword [esp + 0x24]
lea edx, [ecx + 0x4759a0]
lea esi, [ecx + esi*4 + 0x4759a2]
lea ecx, [ecx + ebx*4 + 0x4759a2]
sub eax, dword [esp + 0x20]
inc eax
mov bl, byte [edx]
add edx, 0x16
fld st(2)
fadd qword [esp + 0x88]
fld st(2)
fadd qword [esp + 0x40]
inc bl
add ecx, 0x16
fld st(1)
mov byte [edx - 0x16], bl
add esi, 0x16
fstp dword [ecx - 0x16]
add edi, 0x16
dec eax
fst dword [esi - 0x16]
fld st(2)
fstp dword [edi - 0x16]
fmul qword [esp + 0xb0]
fxch st(1)
fmul qword [esp + 0xb8]
faddp st(1)
fadd qword [esp + 0xd8]
fstp dword [edx - 8]
fxch st(2)
fadd qword [esp + 0x60]
fxch st(2)
fxch st(1)
fadd qword [esp + 0x70]
fxch st(1)
jne 0x402523
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x5c]
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
inc eax
add edx, 0x100
cmp eax, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], edx
jle 0x402446
fld qword [esp + 0xa8]
fsub qword [esp + 0x68]
fld st(0)
fabs
fcomp qword [0x46c4e8]
fnstsw ax
test ah, 1
je 0x4025e7
fstp st(0)
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x4025fd
fstp st(0)
fstp st(0)
jmp 0x402592
fld qword [esp + 0xe8]
fsub qword [esp + 0x98]
fdiv st(1)
fstp qword [esp + 0x38]
fstp st(0)
inc ebx
cmp ebx, edi
mov dword [esp + 0xc], ebx
jg 0x402772
mov esi, ebx
shl esi, 8
mov dword [esp + 0x1c], esi
fild dword [esp + 0xc]
sub esp, 8
fst qword [esp + 0x18]
fsub qword [esp + 0x58]
fmul qword [esp + 0x50]
fadd qword [esp + 0x80]
fstp qword [esp]
call fcn.004603c3
call fcn.00460494
fld qword [esp + 0x18]
fsub qword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x28], edi
fmul qword [esp + 0x40]
fadd qword [esp + 0xa0]
fstp qword [esp]
call fcn.004602f4
add esp, 8
call fcn.00460494
fld qword [esp + 0x10]
fmul qword [esp + 0xc0]
cmp edi, eax
fadd qword [esp + 0xd0]
fstp qword [esp + 0x88]
fld qword [esp + 0x10]
fmul qword [esp + 0xe0]
fadd qword [esp + 0xc8]
fstp qword [esp + 0x40]
fild dword [esp + 0x20]
fst qword [esp + 0x10]
fmul qword [esp + 0x60]
fld qword [esp + 0x10]
fmul qword [esp + 0x70]
jg 0x4027a5
lea ecx, [esi + edi]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
lea edx, [ecx + ecx*4]
fld qword [esp + 0x30]
lea ecx, [ecx + edx*2]
shl ecx, 1
lea edi, [ecx + esi*4 + 0x4759a2]
mov esi, dword [esp + 0x24]
lea edx, [ecx + 0x4759a0]
lea esi, [ecx + esi*4 + 0x4759a2]
lea ecx, [ecx + ebx*4 + 0x4759a2]
sub eax, dword [esp + 0x20]
inc eax
mov bl, byte [edx]
add edx, 0x16
fld st(2)
fadd qword [esp + 0x88]
fld st(2)
fadd qword [esp + 0x40]
inc bl
add ecx, 0x16
fld st(1)
mov byte [edx - 0x16], bl
add esi, 0x16
fstp dword [ecx - 0x16]
add edi, 0x16
dec eax
fst dword [esi - 0x16]
fld st(2)
fstp dword [edi - 0x16]
fmul qword [esp + 0xb0]
fxch st(1)
fmul qword [esp + 0xb8]
faddp st(1)
fadd qword [esp + 0xd8]
fstp dword [edx - 8]
fxch st(2)
fadd qword [esp + 0x60]
fxch st(2)
fxch st(1)
fadd qword [esp + 0x70]
fxch st(1)
jne 0x4026e9
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x5c]
inc ebx
add esi, 0x100
cmp ebx, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], esi
jle 0x402613
mov edi, eax
fld qword [esp + 0xa8]
fsub qword [esp + 0x80]
fld st(0)
fabs
fcomp qword [0x46c4e8]
fnstsw ax
test ah, 1
je 0x4027ab
fstp st(0)
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x4027c1
fstp st(0)
fstp st(0)
jmp 0x402755
fld qword [esp + 0xe8]
fsub qword [esp + 0xa0]
fdiv st(1)
fstp qword [esp + 0x48]
fstp st(0)
mov eax, dword [esp + 0x94]
lea ebx, [edi + 1]
cmp ebx, eax
mov dword [esp + 0xc], ebx
jg 0x402943
mov esi, ebx
shl esi, 8
mov dword [esp + 0x1c], esi
fild dword [esp + 0xc]
sub esp, 8
fst qword [esp + 0x18]
fsub qword [esp + 0x88]
fmul qword [esp + 0x50]
fadd qword [esp + 0xa8]
fstp qword [esp]
call fcn.004603c3
call fcn.00460494
fld qword [esp + 0x18]
fsub qword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x28], edi
fmul qword [esp + 0x40]
fadd qword [esp + 0xa0]
fstp qword [esp]
call fcn.004602f4
add esp, 8
call fcn.00460494
fld qword [esp + 0x10]
fmul qword [esp + 0xc0]
cmp edi, eax
fadd qword [esp + 0xd0]
fstp qword [esp + 0x88]
fld qword [esp + 0x10]
fmul qword [esp + 0xe0]
fadd qword [esp + 0xc8]
fstp qword [esp + 0x40]
fild dword [esp + 0x20]
fst qword [esp + 0x10]
fmul qword [esp + 0x60]
fld qword [esp + 0x10]
fmul qword [esp + 0x70]
jg 0x40294a
lea ecx, [esi + edi]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
lea edx, [ecx + ecx*4]
fld qword [esp + 0x30]
lea ecx, [ecx + edx*2]
shl ecx, 1
lea edi, [ecx + esi*4 + 0x4759a2]
mov esi, dword [esp + 0x24]
lea edx, [ecx + 0x4759a0]
lea esi, [ecx + esi*4 + 0x4759a2]
lea ecx, [ecx + ebx*4 + 0x4759a2]
sub eax, dword [esp + 0x20]
inc eax
mov bl, byte [edx]
add edx, 0x16
fld st(2)
fadd qword [esp + 0x88]
fld st(2)
fadd qword [esp + 0x40]
inc bl
add ecx, 0x16
fld st(1)
mov byte [edx - 0x16], bl
add esi, 0x16
fstp dword [ecx - 0x16]
add edi, 0x16
dec eax
fst dword [esi - 0x16]
fld st(2)
fstp dword [edi - 0x16]
fmul qword [esp + 0xb0]
fxch st(1)
fmul qword [esp + 0xb8]
faddp st(1)
fadd qword [esp + 0xd8]
fstp dword [edx - 8]
fxch st(2)
fadd qword [esp + 0x60]
fxch st(2)
fxch st(1)
fadd qword [esp + 0x70]
fxch st(1)
jne 0x4028b9
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x94]
inc ebx
add esi, 0x100
cmp ebx, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], esi
jle 0x4027e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
fstp st(0)
jmp 0x402925