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

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
cmp ecx, 0x13
jle 0x411b10
mov eax, 4
xor edi, edi
nop
add eax, eax
add edi, 1
lea edx, [eax + 0xf]
cmp ecx, edx
jg 0x411ac0
mov dword [esp], edi
call fcn.00414680
lea edx, [esi + 1]
mov dword [eax], edi
movzx ecx, byte [esi]
lea edi, [eax + 4]
mov byte [eax + 4], cl
mov eax, edi
test cl, cl
je 0x411aff
lea esi, [esi]
nop
movzx ecx, byte [edx]
add eax, 1
add edx, 1
mov byte [eax], cl
test cl, cl
jne 0x411af0
test ebx, ebx
je 0x411b05
mov dword [ebx], eax
add esp, 0x10
mov eax, edi
pop ebx
pop esi
pop edi
ret
xor edi, edi
jmp 0x411acc
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov eax, dword [esp + 0xd4]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0xe4]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x18], esi
mov esi, dword [eax]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0xec]
mov eax, esi
mov dword [esp + 0x38], edx
and eax, 0xffffffcf
mov dword [esp + 0x1c], edi
mov dword [ecx], eax
mov eax, esi
and eax, 7
cmp eax, 3
je 0x412070
mov edi, esi
and edi, 4
mov dword [esp + 0x60], edi
jne 0x411fe8
test eax, eax
je 0x412038
mov edi, dword [edx]
mov eax, 0x20
xor edx, edx
cmp edi, 0x20
jle 0x411df9
add eax, eax
add edx, 1
cmp edi, eax
jg 0x411df0
mov dword [esp], edx
lea ebx, [edi - 1]
sar ebx, 5
call fcn.00414680
mov dword [esp + 0x40], ebx
mov ebp, eax
mov eax, dword [esp + 0x28]
lea edx, [ebp + 0x14]
lea ecx, [eax + ebx*4]
lea esi, [esi]
nop
mov ebx, dword [eax]
add eax, 4
add edx, 4
mov dword [edx - 4], ebx
cmp ecx, eax
jae 0x411e20
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
add ecx, 1
add eax, 1
lea ebx, [ebx*4 + 4]
cmp ecx, eax
mov eax, 4
cmovb ebx, eax
sar ebx, 2
jmp 0x411e60
test ebx, ebx
je 0x4120b0
mov eax, ebx
sub ebx, 1
mov edx, dword [ebp + ebx*4 + 0x14]
test edx, edx
je 0x411e58
bsr edx, dword [ebp + ebx*4 + 0x14]
mov dword [ebp + 0x10], eax
shl eax, 5
xor edx, 0x1f
sub eax, edx
mov ebx, eax
mov dword [esp], ebp
call fcn.00414080
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xac], eax
mov dword [esp + 0x68], ecx
test eax, eax
jne 0x4120c0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x412030
lea eax, [esp + 0xac]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00415020
fstp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
and edx, 0xfffff
or edx, 0x3ff00000
add eax, ebx
mov dword [esp + 0x44], edx
fld qword [esp + 0x40]
mov dword [esp + 0x58], eax
fsub dword [0x4d2b40]
lea ecx, [eax - 1]
mov eax, 1
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x58]
fmul qword [str.aCoc]
fadd qword [0x4d2b50]
mov dword [esp + 0x50], ecx
sub eax, edx
fild dword [esp + 0x50]
test ecx, ecx
fmul qword [0x4d2b58]
cmovns eax, ecx
sub eax, 0x435
faddp st(1)
test eax, eax
jle 0x411f3c
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fmul qword [0x4d2b60]
faddp st(1)
fst qword [esp + 0x50]
cvttsd2si eax, qword [esp + 0x50]
fldz
fcompi st(1)
mov dword [esp + 0x50], eax
ja 0x412468
fstp st(0)
mov eax, ecx
mov edx, dword [esp + 0x48]
shl eax, 0x14
add eax, edx
mov dword [esp + 0x44], eax
mov eax, ebx
sub eax, ecx
lea ecx, [eax - 1]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x50]
cmp ecx, 0x16
ja 0x4120e8
fld qword [ecx*8 + 0x4d2be0]
fst qword [esp + 0x48]
fld qword [esp + 0x40]
fxch st(1)
fcompi st(1)
fstp st(0)
ja 0x4124d0
mov dword [esp + 0x88], 0
mov dword [esp + 0x70], 0
test eax, eax
jg 0x411fc8
mov edx, 1
mov dword [esp + 0x64], 0
sub edx, eax
mov dword [esp + 0x70], edx
lea esi, [esi]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x78], 0
add dword [esp + 0x64], ecx
mov dword [esp + 0x74], ecx
jmp 0x41213e
xor ebx, ebx
cmp eax, 4
jne 0x412060
mov eax, dword [esp + 0x18]
mov dword [eax], 0xffff8000
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd8], 3
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], 0x4d2b39
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
jmp 0x411aa0
mov dword [esp], ebp
call fcn.00414760
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x4d2b3d
call 0x411aa0
mov ebx, eax
add esp, 0xbc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [eax], 0xffff8000
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd8], 8
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], str.Infinity
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
jmp 0x411aa0
mov dword [ebp + 0x10], 0
jmp 0x411e7f
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.00413f50
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x2c]
add edx, eax
sub ebx, eax
mov dword [esp + 0x68], edx
jmp 0x411e9e
mov dword [esp + 0x88], 1
mov edx, dword [esp + 0x64]
mov dword [esp + 0x70], 0
test edx, edx
jns 0x412116
mov edx, 1
mov dword [esp + 0x64], 0
sub edx, eax
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x411fc8
mov eax, dword [esp + 0x50]
sub dword [esp + 0x70], eax
mov dword [esp + 0x50], 0
mov ecx, eax
mov dword [esp + 0x74], eax
neg ecx
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x20]
cmp eax, 9
ja 0x4123d0
cmp eax, 5
jg 0x412488
mov eax, dword [esp + 0x58]
add eax, 0x3fd
cmp eax, 0x7f7
setbe al
movzx eax, al
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
cmp eax, 4
je 0x412843
cmp eax, 5
je 0x412cdc
mov dword [esp + 0x7c], 0
cmp eax, 2
je 0x41284b
cmp eax, 3
jne 0x4123f3
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
add eax, edx
mov edx, 1
mov dword [esp + 0x8c], eax
add eax, 1
test eax, eax
mov dword [esp + 0x48], eax
cmovg edx, eax
mov eax, edx
mov dword [esp], eax
mov dword [esp + 0xac], edx
call fcn.00411a60
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
sub eax, 1
mov dword [esp + 0x58], eax
je 0x41220e
mov ecx, dword [esp + 0x58]
mov eax, 2
test ecx, ecx
cmovns eax, ecx
and esi, 8
mov dword [esp + 0x58], eax
mov ecx, eax
je 0x412658
mov eax, 3
sub eax, ecx
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x48]
cmp esi, 0xe
setbe al
and al, byte [esp + 0x80]
mov ecx, eax
je 0x412658
mov eax, dword [esp + 0x74]
or eax, dword [esp + 0x58]
jne 0x412658
movsd xmm0, qword [esp + 0x40]
mov eax, dword [esp + 0x88]
mov dword [esp + 0xac], 0
movsd qword [esp + 0x58], xmm0
test eax, eax
je 0x412267
fld qword [esp + 0x58]
fld1
fcompi st(1)
ja 0x413104
fstp st(0)
fld qword [esp + 0x58]
fadd st(0)
fadd dword [0x4d2b7c]
fstp qword [esp + 0x90]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x94]
sub eax, 0x3400000
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x412606
movsd xmm1, qword [esp + 0x58]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x90], 0
movsd qword [esp + 0x98], xmm1
mov eax, dword [esp + 0x7c]
fld qword [esp + 0x80]
fld qword [esi*8 + 0x4d2bd8]
test eax, eax
je 0x412ce9
fdivr dword [0x4d2b84]
mov ecx, dword [esp + 0x6c]
cvttsd2si eax, qword [esp + 0x98]
lea edx, [ecx + 1]
mov dword [esp + 0x40], eax
add eax, 0x30
mov byte [ecx], al
fsubrp st(1)
fild dword [esp + 0x40]
fsubr qword [esp + 0x98]
fxch st(1)
fcomi st(1)
jbe 0x41236c
fstp st(0)
jmp 0x4132e4
mov eax, dword [esp + 0xac]
add eax, 1
mov dword [esp + 0xac], eax
cmp eax, esi
jge 0x412631
fld dword [0x4d2b74]
add edx, 1
fmul st(1), st(0)
fmulp st(2)
fxch st(1)
fst qword [esp + 0x40]
cvttsd2si eax, qword [esp + 0x40]
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
add eax, 0x30
mov byte [edx - 1], al
fsubp st(1)
fxch st(1)
fcomi st(1)
ja 0x4132e2
fld st(1)
fsubr dword [0x4d2b70]
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x412320
fstp st(0)
fstp st(0)
movzx ecx, byte [edx - 1]
mov ebx, dword [esp + 0x6c]
jmp 0x41239e
cmp eax, ebx
je 0x41321f
movzx ecx, byte [eax - 1]
mov edx, eax
lea eax, [edx - 1]
cmp cl, 0x39
je 0x412390
mov dword [esp + 0x6c], edx
add ecx, 1
mov byte [eax], cl
mov eax, dword [esp + 0x90]
mov dword [esp + 0x60], 0x20
add eax, 1
mov dword [esp + 0x64], eax
jmp 0x41259f
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
add eax, 0x3fd
cmp eax, 0x7f7
setbe al
movzx eax, al
mov dword [esp + 0x80], eax
mov dword [esp + 0x30], edi
fild dword [esp + 0x30]
fmul qword [0x4d2b68]
fstp qword [esp + 0x30]
cvttsd2si eax, qword [esp + 0x30]
add eax, 3
mov dword [esp], eax
mov dword [esp + 0xac], eax
call fcn.00411a60
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
sub eax, 1
mov dword [esp + 0x58], eax
je 0x4124e5
mov dword [esp + 0x30], 0
mov dword [esp + 0x7c], 1
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
jmp 0x4121e6
fild dword [esp + 0x50]
fucompi st(1)
fstp st(0)
jp 0x412478
je 0x411f56
sub dword [esp + 0x50], 1
jmp 0x411f56
mov dword [esp + 0x80], 0
sub eax, 4
mov dword [esp + 0x20], eax
cmp eax, 4
je 0x412843
cmp eax, 5
je 0x412cdc
mov dword [esp + 0x7c], 0
cmp eax, 2
je 0x41284b
mov dword [esp + 0x20], 3
jmp 0x41219f
sub dword [esp + 0x50], 1
mov dword [esp + 0x88], 0
jmp 0x4120f3
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], 0
test eax, eax
js 0x4132a3
mov dword [esp + 0x7c], 1
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
lea esi, [esi]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x74]
cmp dword [esi + 0x14], eax
jl 0x412664
mov edx, dword [esp + 0x30]
fld qword [eax*8 + 0x4d2be0]
test edx, edx
jns 0x412dbc
mov esi, dword [esp + 0x48]
test esi, esi
jg 0x412dbc
jne 0x41286f
fmul dword [0x4d2b80]
fld qword [esp + 0x40]
fxch st(1)
fcompi st(1)
fstp st(0)
jae 0x412871
add eax, 2
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x64], eax
add dword [esp + 0x6c], 1
mov byte [ebx], 0x31
mov dword [esp + 0x60], 0x20
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00414760
test esi, esi
je 0x41259f
mov dword [esp], esi
call fcn.00414760
mov dword [esp], ebp
call fcn.00414760
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
mov byte [eax], 0
mov dword [esi], edi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4125c2
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
or dword [eax], esi
add esp, 0xbc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
fstp st(0)
fld qword [esp + 0x58]
fadd st(0)
fadd dword [0x4d2b7c]
fstp qword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
sub eax, 0x3400000
mov dword [esp + 0x84], eax
fld qword [esp + 0x58]
fsub dword [0x4d2b80]
fld qword [esp + 0x80]
fxch st(1)
fcomi st(1)
ja 0x4131c8
fxch st(1)
fchs
fcompi st(1)
fstp st(0)
ja 0x412871
jmp 0x412639
fstp st(0)
fstp st(0)
jmp 0x412639
fstp st(0)
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
lea esi, [esi]
mov ecx, dword [esp + 0x68]
test ecx, ecx
jns 0x412518
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4128a0
mov esi, dword [esp + 0x38]
sub edi, ebx
lea eax, [edi + 1]
mov edx, dword [esi + 4]
mov esi, dword [esp + 0x68]
mov dword [esp + 0xac], eax
mov ecx, esi
sub ecx, edi
cmp ecx, edx
jge 0x412c98
mov edi, dword [esp + 0x20]
lea eax, [edi - 3]
and eax, 0xfffffffd
je 0x412ca3
mov eax, esi
mov esi, dword [esp + 0x48]
sub eax, edx
add eax, 1
cmp edi, 1
setg cl
test esi, esi
mov dword [esp + 0xac], eax
setg dl
test cl, dl
je 0x4126cc
cmp eax, esi
jg 0x413435
mov esi, dword [esp + 0x70]
add dword [esp + 0x64], eax
mov edx, dword [esp + 0x78]
add eax, esi
mov edi, esi
mov dword [esp + 0x70], eax
mov dword [esp], 1
mov dword [esp + 0x40], edx
call fcn.004148b0
mov dword [esp + 0x7c], 1
mov edx, dword [esp + 0x40]
mov esi, eax
test edi, edi
jle 0x412724
mov ecx, dword [esp + 0x64]
test ecx, ecx
jle 0x412724
cmp edi, ecx
mov eax, ecx
cmovle eax, edi
sub dword [esp + 0x70], eax
sub ecx, eax
mov dword [esp + 0xac], eax
sub edi, eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x78]
test eax, eax
je 0x41274e
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x41273c
test edx, edx
jne 0x412f49
mov eax, dword [esp + 0x78]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00414ae0
mov ebp, eax
mov dword [esp], 1
call fcn.004148b0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x412c20
cmp dword [esp + 0x20], 1
jle 0x412c60
mov ebx, 0x1f
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
sub ebx, eax
sub ebx, 4
and ebx, 0x1f
add edx, ebx
mov dword [esp + 0xac], ebx
mov eax, ebx
test edx, edx
jle 0x4127ae
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00414c60
mov ebp, eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x64]
add ecx, eax
test ecx, ecx
jle 0x4127cc
mov eax, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00414c60
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x20], 2
setg dl
test eax, eax
jne 0x412ae0
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x4128b0
test dl, dl
je 0x4128b0
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x41287b
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 0
mov dword [esp + 4], 5
mov dword [esp], eax
call fcn.004147d0
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 0x40], eax
call fcn.00414da0
test eax, eax
jle 0x41287b
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
add eax, 2
mov dword [esp + 0x64], eax
jmp 0x412577
mov dword [esp + 0x7c], 1
mov ecx, dword [esp + 0x30]
mov eax, 1
test ecx, ecx
cmovg eax, ecx
mov dword [esp + 0x8c], eax
mov edx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], eax
jmp 0x4121c3
fstp st(0)
mov dword [esp + 0x40], 0
xor esi, esi
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x60], 0x10
neg eax
mov dword [esp + 0x64], eax
jmp 0x412587
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
xor esi, esi
jmp 0x4126fe
mov eax, dword [esp + 0x74]
add eax, 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x412b60
add ebx, edi
test ebx, ebx
jle 0x4128db
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00414c60
mov esi, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], esi
test eax, eax
jne 0x413182
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, 1
jmp 0x4129c7
mov dword [esp], edx
call fcn.00414760
mov eax, 1
test ebx, ebx
js 0x412ff0
or ebx, dword [esp + 0x20]
jne 0x412928
mov edx, dword [esp + 0x28]
test byte [edx], 1
je 0x412ff0
mov edi, dword [esp + 0x30]
add edi, 1
mov ebx, edi
test eax, eax
jle 0x412940
cmp dword [esp + 0x58], 2
jne 0x4131e7
movzx eax, byte [esp + 0x38]
mov byte [edi - 1], al
mov eax, dword [esp + 0x48]
cmp dword [esp + 0xac], eax
je 0x413210
mov dword [esp], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.004147d0
mov dword [esp + 8], 0
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0xa
mov dword [esp], esi
cmp esi, eax
je 0x412ad0
call fcn.004147d0
mov dword [esp + 8], 0
mov esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0xa
mov dword [esp], eax
call fcn.004147d0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x30], edi
add eax, 1
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00411b50
mov dword [esp + 4], esi
mov dword [esp], ebp
lea ecx, [eax + 0x30]
mov edi, eax
mov dword [esp + 0x38], ecx
call fcn.00414da0
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00414df0
mov edx, eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x412900
mov dword [esp + 4], edx
mov dword [esp], ebp
mov dword [esp + 0x68], edx
call fcn.00414da0
mov edx, dword [esp + 0x68]
mov dword [esp + 0x50], eax
mov dword [esp], edx
call fcn.00414760
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
or eax, edx
jne 0x412e80
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov dword [esp + 0x50], edx
and edx, 1
or edx, dword [esp + 0x58]
jne 0x41290d
mov ecx, dword [esp + 0x38]
cmp ecx, 0x39
je 0x4134ca
test ebx, ebx
jle 0x41353c
mov dword [esp + 0x60], 0x20
lea ecx, [edi + 0x31]
mov eax, dword [esp + 0x30]
mov edx, esi
mov esi, dword [esp + 0x2c]
mov byte [eax], cl
lea edi, [eax + 1]
lea esi, [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], edx
mov dword [esp], eax
call fcn.00414760
test esi, esi
je 0x412eb7
mov edx, dword [esp + 0x20]
test edx, edx
je 0x412abc
cmp edx, esi
je 0x412abc
mov dword [esp], edx
call fcn.00414760
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edi
jmp 0x412597
call fcn.004147d0
mov dword [esp + 0x2c], eax
mov esi, eax
jmp 0x4129b9
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov byte [esp + 0x2c], dl
mov dword [esp + 4], eax
call fcn.00414da0
movzx edx, byte [esp + 0x2c]
test eax, eax
jns 0x4127e3
mov dword [esp], ebp
mov eax, dword [esp + 0x74]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
sub eax, 1
mov dword [esp + 0x38], eax
call fcn.004147d0
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x7c]
mov ebp, eax
test edx, edx
movzx edx, byte [esp + 0x2c]
setle al
and edx, eax
test ecx, ecx
jne 0x413399
test dl, dl
jne 0x4132bb
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x6c]
mov eax, 1
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
jmp 0x412ba4
mov dword [esp], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.004147d0
mov ebp, eax
mov eax, dword [esp + 0xac]
add eax, 1
mov dword [esp + 4], edi
add ebx, 1
mov dword [esp], ebp
mov dword [esp + 0xac], eax
call fcn.00411b50
add eax, 0x30
mov byte [ebx - 1], al
cmp dword [esp + 0xac], esi
jl 0x412b80
mov esi, dword [esp + 0x20]
mov ecx, eax
xor edx, edx
mov edi, dword [esp + 0x58]
test edi, edi
je 0x412f8a
mov eax, dword [ebp + 0x10]
cmp edi, 2
je 0x412fcf
cmp eax, 1
jg 0x412e89
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x412e89
test eax, eax
setne al
movzx eax, al
shl eax, 4
mov dword [esp + 0x60], eax
lea esi, [esi]
mov edi, ebx
sub ebx, 1
cmp byte [ebx], 0x30
je 0x412c10
jmp 0x412a90
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00414ae0
cmp dword [esp + 0x20], 1
mov dword [esp + 0x40], eax
jle 0x412ef6
mov dword [esp + 0x50], 0
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + 0x10]
bsr ebx, dword [ebx + eax*4 + 0x10]
xor ebx, 0x1f
jmp 0x41277a
cmp ebx, 1
jne 0x412775
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
add eax, 1
cmp dword [esp + 0x2c], eax
jle 0x412775
add dword [esp + 0x70], 1
add dword [esp + 0x64], 1
mov dword [esp + 0x50], 1
jmp 0x412775
cmp dword [esp + 0x20], 1
jle 0x4126cc
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x78]
lea eax, [edi - 1]
cmp esi, eax
jl 0x412ec4
mov edx, esi
sub edx, eax
test edi, edi
jns 0x4133dc
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x48]
mov dword [esp + 0xac], 0
sub edi, eax
jmp 0x4126e0
mov dword [esp + 0x7c], 1
jmp 0x41219f
fmulp st(1)
fld qword [esp + 0x40]
mov dword [esp + 0x80], ebp
xor edi, edi
mov dword [esp + 0xac], 1
mov edx, dword [esp + 0x6c]
mov ebp, ecx
fld st(0)
jmp 0x412d22
add eax, 1
fmul dword [0x4d2b74]
mov edi, ebp
mov dword [esp + 0xac], eax
fst qword [esp + 0x40]
cvttsd2si ecx, qword [esp + 0x40]
test ecx, ecx
je 0x412d3c
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
mov edi, ebp
fsubp st(1)
add edx, 1
add ecx, 0x30
mov byte [edx - 1], cl
mov eax, dword [esp + 0xac]
cmp eax, esi
jne 0x412d10
mov eax, edi
mov ebp, dword [esp + 0x80]
test al, al
fcmove st(0), st(1)
fstp st(1)
fld dword [0x4d2b84]
fld st(2)
fadd st(1)
fxch st(2)
fcomi st(2)
fstp st(2)
ja 0x4132d3
fsubrp st(2)
fxch st(1)
fcompi st(1)
ja 0x4133fa
fstp st(0)
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
test edi, edi
js 0x413382
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x14]
test esi, esi
js 0x413382
fld qword [0x4d2be0]
mov dword [esp + 0x58], 0
fld qword [esp + 0x40]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xac], 1
lea edx, [esi + 1]
fld st(0)
fdiv st(2)
fstp qword [esp + 0x20]
cvttsd2si eax, qword [esp + 0x20]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
lea ecx, [eax + 0x30]
mov byte [esi], cl
mov esi, dword [esp + 0x74]
fmul st(2)
add esi, 1
mov dword [esp + 0x64], esi
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x412e28
lea esi, [esi]
lea esi, [esi]
jne 0x412e28
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edx
jmp 0x41259f
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0x48]
cmp ecx, esi
je 0x4130d6
fmul dword [0x4d2b74]
add ecx, 1
add edx, 1
mov dword [esp + 0xac], ecx
fld st(0)
fdiv st(2)
fstp qword [esp + 0x20]
cvttsd2si eax, qword [esp + 0x20]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
lea ecx, [eax + 0x30]
mov byte [edx - 1], cl
fmul st(2)
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jnp 0x412e10
jmp 0x412e28
mov eax, dword [esp + 0x50]
jmp 0x41290d
mov ecx, dword [esp + 0x6c]
jmp 0x412e98
cmp ebx, ecx
je 0x412f30
mov edi, ebx
lea ebx, [ebx - 1]
movzx eax, byte [edi - 1]
cmp al, 0x39
je 0x412e90
add eax, 1
mov dword [esp + 0x60], 0x20
mov byte [ebx], al
jmp 0x412a90
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edi
jmp 0x41259f
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
mov edx, eax
mov edi, dword [esp + 0x78]
add dword [esp + 0x64], esi
mov dword [esp + 0xac], esi
add esi, ecx
sub edx, edi
mov dword [esp + 0x70], esi
mov edi, ecx
add dword [esp + 0x50], edx
xor edx, edx
mov dword [esp + 0x78], eax
jmp 0x4126e0
cmp ebx, 1
jne 0x412c43
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
add eax, 1
cmp dword [esp + 0x2c], eax
jle 0x412c43
add dword [esp + 0x70], 1
add dword [esp + 0x64], 1
mov dword [esp + 0x50], 1
jmp 0x412c4b
mov eax, dword [esp + 0x6c]
add dword [esp + 0x64], 1
mov dword [esp + 0x60], 0x20
mov byte [eax], 0x31
jmp 0x412a90
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 0x68], edx
call fcn.00414ae0
mov dword [esp + 4], ebp
mov dword [esp], eax
mov esi, eax
call fcn.00414960
mov dword [esp], ebp
mov dword [esp + 0x40], eax
call fcn.00414760
mov edx, dword [esp + 0x68]
sub dword [esp + 0x78], edx
mov ebp, dword [esp + 0x40]
je 0x41274e
jmp 0x41273c
mov dword [esp], ebp
mov dword [esp + 4], 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
call fcn.00414c60
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00414da0
mov edx, dword [esp + 0x20]
test eax, eax
jg 0x412e89
jne 0x412fcf
mov ecx, dword [esp + 0x28]
and ecx, 1
jne 0x412e89
cmp dword [ebp + 0x10], 1
mov dword [esp + 0x60], 0x10
jg 0x412c10
mov eax, dword [ebp + 0x14]
jmp 0x412bfd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
test ebx, ebx
je 0x413235
cmp dword [ebp + 0x10], 1
jle 0x413468
cmp dword [esp + 0x58], 2
je 0x413289
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
jmp 0x41308e
movzx eax, byte [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov byte [ecx - 1], al
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.004147d0
mov dword [esp], ebp
cmp esi, ebx
mov dword [esp + 8], 0
cmove esi, eax
mov dword [esp + 4], 0xa
mov dword [esp + 0x28], eax
call fcn.004147d0
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00411b50
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
add eax, 0x30
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00414da0
lea ecx, [edi + 1]
test eax, eax
jg 0x413028
mov dword [esp + 0x30], edi
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
cmp ecx, 0x39
je 0x4134d1
mov dword [esp + 0x60], 0x20
mov edx, esi
add ecx, 1
mov esi, ebx
mov eax, dword [esp + 0x30]
mov byte [eax], cl
jmp 0x412a90
mov edi, dword [esp + 0x58]
test edi, edi
je 0x413319
fstp st(0)
fstp st(0)
cmp edi, 1
je 0x41341d
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x60], 0x10
mov dword [esp + 0x6c], edx
jmp 0x41259f
test esi, esi
je 0x4125d9
mov esi, dword [esp + 0x8c]
test esi, esi
jle 0x412637
fmul dword [0x4d2b74]
fst qword [esp + 0x98]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
fmul dword [0x4d2b78]
fadd dword [0x4d2b7c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
fstp qword [esp + 0x90]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x94]
sub eax, 0x3400000
mov dword [esp + 0x84], eax
jmp 0x4122c5
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00414680
lea ecx, [eax + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x10]
mov dword [esp], ecx
lea edx, [eax*4 + 8]
lea eax, [esi + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00414c60
mov dword [esp + 0x2c], eax
jmp 0x4128eb
fstp st(0)
fstp st(0)
mov dword [esp + 0x64], 2
mov ebx, dword [esp + 0x6c]
xor esi, esi
mov dword [esp + 0x40], 0
jmp 0x412577
mov ecx, dword [esp + 0x38]
cmp ecx, 0x39
je 0x4134d1
mov eax, dword [esp + 0x30]
add ecx, 1
mov edx, esi
mov dword [esp + 0x60], 0x20
mov esi, dword [esp + 0x2c]
mov byte [eax], cl
jmp 0x412a90
mov edx, esi
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
jmp 0x412bd1
add dword [esp + 0x90], 1
mov ecx, 0x31
mov dword [esp + 0x6c], edx
jmp 0x4123ad
test eax, eax
jle 0x41327f
mov dword [esp], ebp
mov dword [esp + 4], 1
mov dword [esp + 0x20], ecx
call fcn.00414c60
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00414da0
mov ecx, dword [esp + 0x20]
test eax, eax
jle 0x4134e9
cmp ecx, 0x39
je 0x413519
mov dword [esp + 0x58], 0x20
lea ecx, [edi + 0x31]
cmp dword [ebp + 0x10], 1
jle 0x41348d
mov eax, dword [esp + 0x30]
mov edx, esi
mov dword [esp + 0x60], 0x10
mov esi, dword [esp + 0x2c]
lea edi, [eax + 1]
jmp 0x4130cb
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
jmp 0x412670
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
jmp 0x4127f7
fstp st(0)
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x6c]
jmp 0x41239e
fstp st(0)
fldz
xor eax, eax
mov ecx, 1
mov ebx, dword [esp + 0x6c]
fucompi st(1)
fstp st(0)
mov dword [esp + 0x6c], edx
setp al
cmovne eax, ecx
shl eax, 4
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x90]
add eax, 1
mov dword [esp + 0x64], eax
jmp 0x41259f
fadd st(0)
movzx ecx, byte [edx - 1]
fcomi st(1)
ja 0x4134b2
fucompi st(1)
fstp st(0)
mov ebx, dword [esp + 0x6c]
jp 0x413501
jne 0x413501
test al, 1
mov eax, dword [esp + 0x74]
mov dword [esp + 0x90], eax
jne 0x41239e
mov dword [esp + 0x60], 0x10
lea esi, [esi]
lea esi, [esi]
mov eax, edx
lea edx, [edx - 1]
cmp byte [eax - 1], 0x30
je 0x413360
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x90]
add eax, 1
mov dword [esp + 0x64], eax
jmp 0x41259f
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x78]
xor esi, esi
mov edi, dword [esp + 0x70]
jmp 0x4126fe
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
mov byte [esp + 0x2c], dl
call fcn.004147d0
movzx edx, byte [esp + 0x2c]
mov esi, eax
test dl, dl
jne 0x4132bb
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
jmp 0x4128c7
mov esi, dword [esp + 0x70]
mov eax, edi
add dword [esp + 0x64], edi
mov dword [esp + 0xac], edi
add eax, esi
mov edi, esi
mov dword [esp + 0x70], eax
jmp 0x4126e0
fldz
xor eax, eax
mov ecx, 1
mov ebx, dword [esp + 0x6c]
fucompi st(1)
fstp st(0)
setp al
cmovne eax, ecx
shl eax, 4
mov dword [esp + 0x60], eax
jmp 0x413360
mov eax, dword [esp + 0x74]
movzx ecx, byte [edx - 1]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x90], eax
jmp 0x41239e
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x78]
lea eax, [esi - 1]
cmp edi, eax
jl 0x412ec4
sub edi, eax
mov eax, dword [esp + 0x70]
add dword [esp + 0x64], esi
mov edx, edi
mov dword [esp + 0xac], esi
mov edi, eax
add eax, esi
mov dword [esp + 0x70], eax
jmp 0x4126e0
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x41300a
test eax, eax
jg 0x413239
mov eax, dword [esp + 0x30]
mov edx, esi
mov esi, dword [esp + 0x2c]
lea edi, [eax + 1]
jmp 0x4130cb
mov ebx, dword [ebp + 0x14]
mov edx, esi
mov esi, dword [esp + 0x2c]
test ebx, ebx
je 0x413528
mov eax, dword [esp + 0x30]
mov dword [esp + 0x60], 0x10
lea edi, [eax + 1]
jmp 0x4130cb
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x90], eax
jmp 0x41239e
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
mov edx, esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
mov ebx, edi
mov byte [eax], 0x39
jmp 0x412e98
jne 0x4134f4
test cl, 1
jne 0x41326b
mov dword [esp + 0x58], 0x20
jmp 0x41327f
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], 0x10
mov dword [esp + 0x90], eax
jmp 0x413360
mov eax, dword [esp + 0x30]
mov edx, esi
mov esi, dword [esp + 0x2c]
lea edi, [eax + 1]
jmp 0x4134d7
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
jmp 0x4130cb
cmp dword [ebp + 0x10], 1
mov dword [esp + 0x60], 0x10
jg 0x412a7d
xor eax, eax
cmp dword [ebp + 0x14], 0
setne al
shl eax, 4
mov dword [esp + 0x60], eax
jmp 0x412a7d