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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1e0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], edx
lea esi, [eax + 0x44]
mov ecx, 3
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x6c]
call fcn.0040a3b0
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
cmp eax, edi
jle 0x40aa20
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 1
lea esi, [esi]
lea esi, [esi]
mov edx, dword [esp + 0x6c]
lea esi, [edi + 1]
mov dword [esp + 0x70], esi
movzx ebp, byte [edx + edi]
and ebp, 0xff
cmp byte [edx + edi], 0x1f
ja case.0x40a8af.0
jmp dword [ebp*4 + 0x466fe8]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x40b220
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40aa20
dec eax
mov dword [esp + 0x1c], eax
fld dword [esp + eax*4 + 0x120]
mov eax, dword [esp + 0x20]
cmp eax, 9
jg 0x40aa0a
lea ecx, [eax + 1]
mov dword [esp + 0x20], ecx
mov ecx, eax
lea eax, [eax + eax]
add eax, ecx
lea eax, [esp + eax*4 + 0xa8]
mov ecx, 3
mov edi, eax
lea esi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
cmp ebp, 0xa
je 0x40b210
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x50]
mov eax, dword [eax + 0x58]
mov ecx, eax
test eax, eax
jle 0x40a92e
xor ecx, ecx
cmp eax, ecx
jle 0x40aa10
lea esi, [ecx + 1]
xor edx, edx
mov dl, byte [edi + ecx]
shl edx, 8
cmp eax, esi
jle 0x40a94f
xor ebx, ebx
mov bl, byte [edi + esi]
or edx, ebx
lea esi, [ecx + 2]
cmp edx, 0x846b
jbe 0x40b26e
mov ebx, 0x8000
fnstcw word [esp + 0x5e]
mov cx, word [esp + 0x5e]
or ch, 0xc
mov word [esp + 0x5c], cx
fldcw word [esp + 0x5c]
fistp dword [esp + 0x40]
fldcw word [esp + 0x5e]
mov ecx, dword [esp + 0x40]
add ecx, ebx
cmp ecx, edx
jae 0x40aa20
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], eax
mov dword [esp + 0xc], ecx
lea esi, [esp + 0x90]
mov ecx, 3
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x9c]
call fcn.0040a3b0
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], eax
test eax, eax
je 0x40aa20
xor edi, edi
jmp 0x40aa00
mov eax, dword [esp + 0x1c]
sar eax, 1
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov edi, esi
mov dword [esp + 0x1c], 0
lea esi, [esi]
nop
cmp eax, edi
jg 0x40a890
jmp 0x40aa20
fstp st(0)
jmp 0x40aa20
fstp st(0)
jmp 0x40aa20
fstp st(0)
lea esi, [esi]
lea esi, [esi]
xor eax, eax
jmp 0x40ae9e
cmp ebp, 0xff
je 0x40b3c6
cmp ebp, 0x1c
je 0x40aa46
cmp ebp, 0x1f
jle 0x40aa20
test edi, edi
jns 0x40aa4c
mov edi, eax
mov dword [esp + 0x70], edi
lea eax, [esp + 0x6c]
call fcn.00401410
mov word [esp + 0x40], ax
fild word [esp + 0x40]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x2f
jg 0x40aa14
fstp dword [esp + ecx*4 + 0x120]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x40aa00
mov ecx, dword [esp + 0x1c]
cmp ecx, 3
jle 0x40aa20
mov eax, dword [esp + 0x74]
mov edx, ecx
and edx, 1
jne 0x40b240
fldz
mov ecx, 3
add edx, 7
lea edi, [esp + 0x120]
mov dword [esp + 0x40], esi
mov ebx, dword [esp + 0x1c]
mov esi, edx
mov dword [esp + 0x1c], eax
mov eax, ecx
jmp 0x40ab03
fxch st(3)
fstp dword [esp + 0x14]
fxch st(1)
mov dword [esp + 0x10], 0
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.00401800
mov eax, esi
add esi, 4
fldz
cmp eax, ebx
jge 0x40ab60
fld dword [esp + eax*4 + 0x120]
fld dword [edi + esi*4 - 0x14]
fld dword [edi + esi*4 - 0x18]
fld dword [edi + esi*4 - 0x1c]
cmp ebp, 0x1b
jne 0x40aad0
fxch st(3)
mov dword [esp + 0x14], 0
fstp dword [esp + 0x10]
fxch st(1)
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.00401800
mov eax, esi
add esi, 4
fldz
cmp eax, ebx
jl 0x40ab03
fstp st(0)
jmp 0x40ab62
fstp st(0)
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x1c], 0
jmp 0x40aa00
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x40ab92
mov edx, dword [esp + 0x1c]
sar edx, 1
add dword [esp + 0x28], edx
mov ecx, dword [esp + 0x28]
lea edx, [ecx + 7]
sar edx, 3
add edx, esi
cmp edx, eax
jg 0x40aba8
test edx, edx
js 0x40aba8
mov eax, edx
mov edi, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
jmp 0x40aa00
mov eax, dword [esp + 0x1c]
cmp eax, 7
jle 0x40aa20
sub eax, 8
mov ebx, eax
and ebx, 0xfffffffe
lea ebp, [ebx + 2]
xor ebx, ebx
lea edi, [esp + 0x120]
mov dword [esp + 0x40], esi
mov esi, edi
mov edi, eax
lea esi, [esi]
fld dword [esi + ebx*4 + 4]
fstp dword [esp + 4]
fld dword [esi + ebx*4]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.00401750
add ebx, 2
cmp ebx, ebp
jne 0x40ac00
mov eax, edi
mov esi, dword [esp + 0x40]
mov edx, edi
shr edx, 1
and eax, 0xfffffffe
lea ecx, [eax + 3]
lea ebx, [edx + edx + 2]
lea edx, [eax + 7]
mov edi, dword [esp + 0x1c]
cmp edx, edi
jge 0x40aa20
fld dword [esp + edx*4 + 0x120]
fstp dword [esp + 0x14]
fld dword [esp + eax*4 + 0x138]
fstp dword [esp + 0x10]
fld dword [esp + eax*4 + 0x134]
fstp dword [esp + 0xc]
fld dword [esp + eax*4 + 0x130]
fstp dword [esp + 8]
fld dword [esp + ecx*4 + 0x120]
fstp dword [esp + 4]
fld dword [esp + ebx*4 + 0x120]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.00401800
mov eax, dword [esp + 0x74]
mov edi, esi
mov dword [esp + 0x1c], 0
jmp 0x40aa00
mov eax, dword [esp + 0x1c]
cmp eax, 7
jle 0x40aa20
lea ebp, [eax - 2]
lea ebx, [esp + 0x120]
xor edi, edi
lea esi, [esi]
fld dword [ebx + 0x14]
fstp dword [esp + 0x14]
fld dword [ebx + 0x10]
fstp dword [esp + 0x10]
fld dword [ebx + 0xc]
fstp dword [esp + 0xc]
fld dword [ebx + 8]
fstp dword [esp + 8]
fld dword [ebx + 4]
fstp dword [esp + 4]
fld dword [ebx]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.00401800
mov edx, edi
add edi, 6
add ebx, 0x18
lea eax, [edx + 0xb]
cmp eax, ebp
jl 0x40acc0
add edx, 7
mov eax, dword [esp + 0x1c]
cmp edx, eax
jge 0x40aa20
fld dword [esp + edx*4 + 0x120]
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x120]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.00401750
mov eax, dword [esp + 0x74]
mov edi, esi
mov dword [esp + 0x1c], 0
jmp 0x40aa00
mov eax, dword [esp + 0x1c]
cmp eax, 3
jle 0x40aa20
mov ebp, eax
mov eax, 1
mov ecx, 2
mov ebx, 4
mov dword [esp + 0x40], 7
xor edi, edi
mov edx, 3
fld dword [esp + edx*4 + 0x120]
cmp ebp, 5
je 0x40b260
fldz
fxch st(1)
fstp dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + ecx*4 + 0x120]
fstp dword [esp + 0xc]
fld dword [esp + eax*4 + 0x120]
fstp dword [esp + 8]
mov dword [esp + 4], 0
fld dword [esp + edi*4 + 0x120]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.00401800
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
cmp ecx, edx
jle 0x40ae80
sub ecx, ebx
mov ebp, ecx
lea edi, [ebx + 4]
lea ecx, [ebx + 2]
lea eax, [ebx + 1]
lea edx, [ebx + 7]
jmp 0x40ae0d
mov eax, dword [esp + 0x1c]
cmp eax, 3
jle 0x40aa20
mov ebp, eax
mov edx, 7
mov eax, 1
mov ecx, 2
mov edi, 4
xor ebx, ebx
mov dword [esp + 0x40], 3
cmp ebp, 5
je 0x40b409
fldz
mov dword [esp + 0x44], edx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x40]
fld dword [esp + edx*4 + 0x120]
fstp dword [esp + 0x10]
fld dword [esp + ecx*4 + 0x120]
fstp dword [esp + 0xc]
fld dword [esp + eax*4 + 0x120]
fstp dword [esp + 8]
fld dword [esp + ebx*4 + 0x120]
fstp dword [esp + 4]
mov dword [esp], 0
mov eax, dword [esp + 0x18]
call fcn.00401800
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x1c], edx
jg 0x40b415
lea esi, [esi]
lea esi, [esi]
mov edi, esi
mov dword [esp + 0x1c], 0
jmp 0x40aa00
mov eax, dword [esp + 0x18]
call fcn.004015e0
mov eax, 1
add esp, 0x1e0
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40aa20
mov dword [esp + 4], 0
fld dword [esp + eax*4 + 0x11c]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.004016a0
mov eax, dword [esp + 0x74]
mov edi, esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
jmp 0x40aa00
mov eax, dword [esp + 0x1c]
cmp eax, 1
jle 0x40aa20
fld dword [esp + eax*4 + 0x11c]
fstp dword [esp + 4]
fld dword [esp + eax*4 + 0x118]
jmp 0x40aecb
cmp esi, eax
jge 0x40aa20
add edi, 2
mov dword [esp + 0x70], edi
mov al, byte [edx + esi]
cmp al, 0x24
je 0x40b5a5
ja 0x40b290
cmp al, 0x22
je 0x40b4f0
cmp al, 0x23
jne 0x40aa20
cmp dword [esp + 0x1c], 0xc
jle 0x40aa20
fld dword [esp + 0x138]
fstp dword [esp + 0x50]
fld dword [esp + 0x13c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x140]
fstp dword [esp + 0x48]
fld dword [esp + 0x144]
fstp dword [esp + 0x44]
fld dword [esp + 0x148]
fstp dword [esp + 0x40]
fld dword [esp + 0x14c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x134]
fstp dword [esp + 0x14]
fld dword [esp + 0x130]
fstp dword [esp + 0x10]
fld dword [esp + 0x12c]
fstp dword [esp + 0xc]
fld dword [esp + 0x128]
fstp dword [esp + 8]
fld dword [esp + 0x124]
fstp dword [esp + 4]
fld dword [esp + 0x120]
fstp dword [esp]
mov esi, dword [esp + 0x18]
mov eax, esi
call fcn.00401800
fld dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x40]
fstp dword [esp + 0x10]
fld dword [esp + 0x44]
fstp dword [esp + 0xc]
fld dword [esp + 0x48]
fstp dword [esp + 8]
fld dword [esp + 0x4c]
fstp dword [esp + 4]
fld dword [esp + 0x50]
fstp dword [esp]
mov eax, esi
call fcn.00401800
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], 0
jmp 0x40aa00
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40aa20
dec ecx
mov dword [esp + 0x20], ecx
lea eax, [ecx + ecx]
add eax, ecx
lea esi, [esp + eax*4 + 0xa8]
mov ecx, 3
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
jmp 0x40aa00
mov ebp, dword [esp + 0x1c]
cmp ebp, 5
jle 0x40aa20
lea edi, [esp + 0x120]
mov ebx, 5
lea esi, [esi]
fld dword [edi + 0x14]
fstp dword [esp + 0x14]
fld dword [edi + 0x10]
fstp dword [esp + 0x10]
fld dword [edi + 0xc]
fstp dword [esp + 0xc]
fld dword [edi + 8]
fstp dword [esp + 8]
fld dword [edi + 4]
fstp dword [esp + 4]
fld dword [edi]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.00401800
add ebx, 6
add edi, 0x18
cmp ebx, ebp
jl 0x40b0a0
jmp 0x40ac8b
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x40aa20
mov edi, 1
xor ebx, ebx
fld dword [esp + ebx*4 + 0x120]
fstp dword [esp + 4]
mov dword [esp], 0
mov eax, dword [esp + 0x18]
call fcn.00401750
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x1c], edi
jle 0x40ae80
lea ebx, [edi + 1]
jmp 0x40b143
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x40aa20
mov ebx, 1
xor edi, edi
mov dword [esp + 4], 0
fld dword [esp + edi*4 + 0x120]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.00401750
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x1c], ebx
jle 0x40ae80
lea edi, [ebx + 1]
jmp 0x40b0f3
mov eax, dword [esp + 0x1c]
cmp eax, 1
jle 0x40aa20
mov ebx, eax
sub ebx, 2
and ebx, 0xfffffffe
add ebx, 2
xor ebp, ebp
lea edi, [esp + 0x120]
lea esi, [esi]
lea esi, [esi]
nop
fld dword [edi + ebp*4 + 4]
fstp dword [esp + 4]
fld dword [edi + ebp*4]
fstp dword [esp]
mov eax, dword [esp + 0x18]
call fcn.00401750
add ebp, 2
cmp ebp, ebx
jne 0x40b1b0
jmp 0x40ac8b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40aa20
fld dword [esp + eax*4 + 0x11c]
fstp dword [esp + 4]
mov dword [esp], 0
jmp 0x40aece
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
jmp 0x40a926
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x7c]
test eax, eax
jne 0x40b432
mov dword [esp + 0x30], 1
jmp case.0x40a8af.29
cmp ecx, 4
je 0x40ae80
fld dword [esp + 0x120]
mov ecx, 4
jmp 0x40aaaf
fld dword [esp + ebx*4 + 0x120]
fxch st(1)
jmp 0x40ad81
cmp edx, 0x4d8
sbb ebx, ebx
and ebx, 0xfffffc00
add ebx, 0x46b
jmp 0x40a960
cmp al, 0x25
jne 0x40aa20
cmp dword [esp + 0x1c], 0xa
jle 0x40aa20
fld dword [esp + 0x120]
fld dword [esp + 0x124]
fld dword [esp + 0x128]
fstp dword [esp + 0x1c]
fld dword [esp + 0x12c]
fstp dword [esp + 0x40]
fld dword [esp + 0x130]
fld dword [esp + 0x134]
fld dword [esp + 0x138]
fst dword [esp + 0x4c]
fld dword [esp + 0x13c]
fstp dword [esp + 0x44]
fld dword [esp + 0x140]
fstp dword [esp + 0x48]
fld dword [esp + 0x144]
fld st(0)
fstp dword [esp + 0x50]
fld dword [esp + 0x148]
fstp dword [esp + 0x54]
fld dword [esp + 0x1c]
fadd st(6)
fadd st(4)
faddp st(2)
fxch st(1)
fadd dword [esp + 0x48]
fld dword [esp + 0x40]
fadd st(5)
fadd st(3)
fadd dword [esp + 0x44]
faddp st(2)
fld st(0)
fabs
fld st(2)
fabs
fxch st(1)
fcompp
fnstsw ax
test ah, 0x45
jne 0x40b66a
fstp st(0)
fchs
fld dword [esp + 0x54]
fxch st(1)
fstp dword [esp + 0x58]
fstp dword [esp + 0x54]
fstp dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x40]
fstp dword [esp + 0xc]
fld dword [esp + 0x1c]
fstp dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
mov esi, dword [esp + 0x18]
mov eax, esi
call fcn.00401800
fld dword [esp + 0x58]
fstp dword [esp + 0x14]
fld dword [esp + 0x54]
fstp dword [esp + 0x10]
fld dword [esp + 0x50]
fstp dword [esp + 0xc]
fld dword [esp + 0x48]
fstp dword [esp + 8]
fld dword [esp + 0x44]
fstp dword [esp + 4]
fld dword [esp + 0x4c]
fstp dword [esp]
mov eax, esi
call fcn.00401800
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], 0
jmp 0x40aa00
mov ebx, 4
xor edi, edi
xor ecx, ecx
nop
shl ecx, 8
cmp esi, eax
jge 0x40b3e9
movzx edi, byte [edx + esi]
and edi, 0xff
or ecx, edi
inc esi
mov edi, 1
dec ebx
jne 0x40b3d0
mov eax, edi
test al, al
je 0x40b3f6
mov dword [esp + 0x70], esi
fld dword [0x467d44]
mov dword [esp + 0x40], ecx
fimul dword [esp + 0x40]
jmp 0x40aa62
fld dword [esp + edi*4 + 0x120]
jmp 0x40ae18
lea eax, [edi + 7]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
sub eax, edi
mov ebp, eax
lea ebx, [edi + 4]
lea ecx, [edi + 2]
lea eax, [edi + 1]
jmp 0x40ad6d
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x74]
mov edx, eax
jle 0x40b43f
xor edx, edx
cmp eax, edx
jle 0x40b47b
lea esi, [edx + 1]
xor ecx, ecx
mov cl, byte [edi + edx]
test ecx, ecx
jne 0x40b677
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + esi]
cmp eax, edx
jl 0x40b689
test edx, edx
js 0x40b689
cmp eax, edx
jle 0x40b689
xor eax, eax
mov al, byte [edi + edx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x2c]
lea esi, [ebx + 0x68]
mov ecx, 3
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x84]
call fcn.0040a3b0
lea edi, [esp + 0xc]
mov ecx, 3
lea esi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x38]
mov ecx, 3
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x78]
call fcn.0040a590
mov eax, dword [esp + 0x78]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 1
jmp case.0x40a8af.29
cmp dword [esp + 0x1c], 6
jle 0x40aa20
fld dword [esp + 0x128]
fld dword [esp + 0x130]
fstp dword [esp + 0x48]
fld dword [esp + 0x134]
fstp dword [esp + 0x44]
fld dword [esp + 0x138]
fstp dword [esp + 0x40]
fldz
fst dword [esp + 0x14]
fld dword [esp + 0x12c]
fstp dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0xc]
fstp dword [esp + 0x1c]
fld dword [esp + 0x124]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x120]
fstp dword [esp]
mov esi, dword [esp + 0x18]
mov eax, esi
call fcn.00401800
fldz
fst dword [esp + 0x14]
fld dword [esp + 0x40]
fstp dword [esp + 0x10]
fld dword [esp + 0x1c]
fchs
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x48]
fstp dword [esp]
mov eax, esi
call fcn.00401800
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], 0
jmp 0x40aa00
cmp dword [esp + 0x1c], 8
jle 0x40aa20
fld dword [esp + 0x124]
fld dword [esp + 0x12c]
fld dword [esp + 0x134]
fstp dword [esp + 0x50]
fld dword [esp + 0x138]
fstp dword [esp + 0x4c]
fld dword [esp + 0x13c]
fstp dword [esp + 0x48]
fld dword [esp + 0x140]
fstp dword [esp + 0x44]
mov dword [esp + 0x14], 0
fld dword [esp + 0x130]
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 0x40]
fld dword [esp + 0x128]
fstp dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x120]
fstp dword [esp]
mov esi, dword [esp + 0x18]
mov eax, esi
call fcn.00401800
fld dword [esp + 0x1c]
fld dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x48]
fadd st(1), st(0)
fxch st(1)
fchs
fstp dword [esp + 0x14]
fld dword [esp + 0x44]
fstp dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [esp + 0x4c]
fstp dword [esp + 8]
mov dword [esp + 4], 0
fld dword [esp + 0x50]
jmp 0x40b58a
fstp st(1)
fchs
fld dword [esp + 0x54]
jmp 0x40b34d
cmp ecx, 3
je 0x40b696
mov dword [esp + 0x30], 0xffffffff
jmp 0x40b47b
mov dword [esp + 0x30], 0
jmp 0x40b47b
cmp eax, esi
jle 0x40b67c
lea ebx, [edx + 2]
xor ecx, ecx
mov cl, byte [edi + esi]
shl ecx, 8
mov dword [esp + 0x34], ecx
cmp eax, ebx
jle 0x40b789
lea esi, [edx + 3]
xor ecx, ecx
mov cl, byte [edi + ebx]
mov ebx, ecx
mov ecx, dword [esp + 0x34]
or ebx, ecx
mov dword [esp + 0x34], ebx
cmp eax, esi
jle 0x40b78b
lea ebx, [edx + 4]
xor ecx, ecx
mov cl, byte [edi + esi]
shl ecx, 8
cmp eax, ebx
jle 0x40b79a
lea esi, [edx + 5]
mov dl, byte [edi + ebx]
and edx, 0xff
or edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x34]
test edx, edx
je 0x40b67c
xor edx, edx
mov dword [esp + 0x40], ebp
mov ebp, ecx
mov dword [esp + 0x30], edx
jmp 0x40b75e
lea ecx, [esi + 1]
cmp eax, ecx
jle 0x40b7a3
lea ebx, [esi + 2]
xor edx, edx
mov dl, byte [edi + ecx]
mov ecx, edx
shl ecx, 8
cmp eax, ebx
jle 0x40b794
lea edx, [esi + 3]
mov dword [esp + 0x38], edx
xor edx, edx
mov dl, byte [edi + ebx]
mov ebx, edx
or ecx, ebx
mov edx, dword [esp + 0x3c]
cmp edx, ebp
jl 0x40b748
cmp edx, ecx
jl 0x40b777
mov ebp, ecx
mov esi, dword [esp + 0x38]
inc dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp edx, ecx
je 0x40b766
cmp eax, esi
jg 0x40b710
xor ebp, ebp
jmp 0x40b74e
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
jmp 0x40b47b
mov ebp, dword [esp + 0x40]
xor eax, eax
mov al, byte [edi + esi]
mov dword [esp + 0x30], eax
jmp 0x40b47b
mov esi, ebx
xor ecx, ecx
xor edx, edx
jmp 0x40b6e6
mov dword [esp + 0x38], ebx
jmp 0x40b73c
mov esi, ebx
xor edx, edx
jmp 0x40b6e6
mov esi, ecx
xor ebp, ebp
jmp 0x40b74e