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

Disassembly:
push ebp
xor eax, eax
xor edx, edx
push edi
fldz
push esi
push ebx
sub esp, 0xec
mov edi, dword [esp + 0x100]
mov dword [esp + 0x74], eax
xor eax, eax
mov ebx, edi
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x9c], eax
xor eax, eax
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xdc], edx
fstp qword [esp + 0xc8]
mov eax, dword [eax]
mov dword [esp + 0xe0], edi
mov dword [esp + 0x80], eax
movsx eax, byte [ebx]
cmp eax, 0x2d
ja case.0x414184.237
jmp dword [eax*4 + 0x448a78]
mov eax, 1
mov dword [esp + 0x64], eax
mov eax, ebx
inc ebx
mov dword [esp + 0xe0], ebx
cmp byte [eax + 1], 0
jne case.0x414184.237
xor ebp, ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0xe0], edi
mov esi, 6
mov dword [esp + 0xdc], esi
mov ebx, dword [esp + 0xe4]
mov ebp, dword [esp + 0x104]
test ebp, ebp
je 0x4141df
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0x104]
mov dword [edx], eax
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4141ef
or dword [esp + 0xdc], 8
test ebx, ebx
jne 0x4144d8
mov eax, dword [esp + 0xdc]
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebx], 0x30
je 0x414e01
mov dword [esp + 0x5c], ebx
mov esi, dword [esp + 0x108]
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
xor edx, edx
mov dword [esp + 0x78], eax
xor eax, eax
mov esi, dword [esi + 0x10]
mov dword [esp + 0x3c], edx
xor ebp, ebp
mov dword [esp + 0xa0], eax
mov dword [esp + 0x60], esi
movsx ecx, byte [ebx]
cmp ecx, 0x2f
jle 0x414298
jmp 0x414258
cmp ecx, 0x39
jg 0x414298
cmp ebp, 8
jg 0x4144ba
mov edx, dword [esp + 0x40]
lea eax, [edx + edx*4]
lea eax, [ecx + eax*2 - 0x30]
mov dword [esp + 0x40], eax
mov eax, ebx
inc ebx
inc ebp
mov dword [esp + 0xe0], ebx
movsx ecx, byte [eax + 1]
cmp ecx, 0x2f
jg 0x414258
jmp 0x414298
mov dword [esp + 0x7c], ebp
cmp ecx, 0x2e
je 0x414e47
xor esi, esi
cmp ecx, 0x65
sete al
mov dword [esp + 0x98], esi
cmp ecx, 0x45
sete dl
or eax, edx
test al, 1
je 0x4143c8
mov eax, dword [esp + 0x74]
or eax, ebp
or eax, dword [esp + 0x70]
je 0x4141aa
xor ecx, ecx
lea eax, [ebx + 1]
mov edi, ebx
mov dword [esp + 0x90], ecx
mov ebx, eax
mov dword [esp + 0xe0], eax
movsx ecx, byte [edi + 1]
cmp ecx, 0x2b
je 0x4154ab
cmp ecx, 0x2d
je 0x41549f
lea eax, [ecx - 0x30]
cmp eax, 9
ja 0x414f5d
cmp ecx, 0x30
jne 0x414325
mov eax, ebx
inc ebx
mov dword [esp + 0xe0], ebx
movsx ecx, byte [eax + 1]
cmp ecx, 0x30
je 0x414312
lea eax, [ecx - 0x31]
xor esi, esi
cmp eax, 8
mov dword [esp + 0x98], esi
ja 0x4143c8
sub ecx, 0x30
mov esi, ebx
inc ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0xe0], ebx
movsx ecx, byte [esi + 1]
cmp ecx, 0x2f
jle 0x414385
cmp ecx, 0x39
jg 0x414385
lea edx, [esi + 2]
mov dword [esp + 0xe0], edx
mov ebx, dword [esp + 0x44]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*2 - 0x30]
mov ebx, edx
lea edx, [edx + 1]
mov dword [esp + 0x44], eax
movsx ecx, byte [edx - 1]
cmp ecx, 0x2f
jle 0x414385
cmp ecx, 0x39
jle 0x41435c
sub ebx, esi
cmp ebx, 8
setg al
cmp dword [esp + 0x44], 0x4e1f
setg dl
or eax, edx
test al, 1
mov edx, 0x4e1f
mov dword [esp + 0x98], edx
jne 0x4143b5
mov esi, dword [esp + 0x44]
mov dword [esp + 0x98], esi
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4143c8
neg dword [esp + 0x98]
nop
test ebp, ebp
jne 0x414517
mov eax, dword [esp + 0x74]
or eax, dword [esp + 0x70]
jne 0x4141bd
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x4141aa
cmp ecx, 0x4e
je 0x414fa0
jg 0x414f8e
cmp ecx, 0x49
jne 0x4141aa
mov eax, 0x448a54
lea ebx, [esp + 0xe0]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00418348
test eax, eax
je 0x4141aa
dec dword [esp + 0xe0]
mov eax, 0x448a57
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00418348
mov edx, dword [esp + 0xe0]
cmp eax, 1
mov eax, 3
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0x108]
adc edx, 0
mov dword [esp + 0xe0], edx
mov edx, dword [ecx + 8]
mov edi, dword [esp + 0x10c]
lea eax, [edx + 1]
mov dword [edi], eax
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0xe4]
test edi, edi
je 0x4141c4
mov esi, dword [esp + 0x60]
test esi, esi
je 0x415561
mov dword [ebx + 0x10], 0
mov ecx, 0x50
mov dword [esp + 0xdc], ecx
jmp 0x4141c4
inc ebx
mov dword [esp + 0xe0], ebx
jmp 0x414178
cmp ebp, 0xf
jg 0x414275
mov esi, dword [esp + 0x3c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*2 - 0x30]
mov dword [esp + 0x3c], eax
jmp 0x414275
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x110]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.00418398
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
call fcn.004175a8
mov eax, dword [esp + 0xdc]
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
xor ecx, ecx
mov ebx, 1
mov edx, dword [esp + 0x78]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0xdc], ebx
sub dword [esp + 0x98], edx
mov eax, dword [ecx + 0xc]
mov ebx, dword [esp + 0x98]
and eax, 3
cmp eax, 2
je 0x4154ca
jg 0x414f69
test eax, eax
je 0x414f80
mov edi, dword [esp + 0x7c]
test edi, edi
jne 0x41456b
mov dword [esp + 0x7c], ebp
cmp ebp, 0x10
mov edi, ebp
jle 0x414577
mov edi, 0x10
mov eax, dword [esp + 0x40]
xor edx, edx
push edx
push eax
fild qword [esp]
add esp, 8
cmp edi, 9
jle 0x4145a1
fmul qword [edi*8 + 0x448b70]
xor edx, edx
mov eax, dword [esp + 0x3c]
push edx
push eax
fild qword [esp]
add esp, 8
faddp st(1)
cmp dword [esp + 0x80], 0x35
setle al
xor edx, edx
cmp ebp, 0xf
setle dl
test eax, edx
je 0x41546c
cmp dword [esp + 0x98], 0
je 0x415679
jle 0x415785
cmp dword [esp + 0x98], 0x16
jg 0x4156c5
fst qword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x4157e4
bsf eax, eax
mov edx, 0x35
sub edx, eax
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x110]
mov ecx, dword [eax*4 + 0x4489f8]
lea eax, [esp + 0xdc]
mov dword [esp + 0x1c], eax
add edx, ecx
xor ecx, ecx
mov dword [esp + 0x18], ebx
cmp edx, 0x35
mov edx, dword [esp + 0x98]
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10c]
setle cl
mov dword [esp + 0x14], ecx
fmul qword [edx*8 + 0x448bb8]
mov edx, dword [esp + 0x108]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
fst qword [esp + 0xc8]
fstp qword [esp]
xor ebx, ebx
call fcn.00413d18
test eax, eax
jne 0x4141bd
mov eax, ebp
xor esi, esi
sub eax, edi
add ebx, eax
test ebx, ebx
jle 0x415593
mov ecx, ebx
and ecx, 0xf
je 0x4146a1
fld qword [ecx*8 + 0x448bb8]
fmul qword [esp + 0xc8]
fstp qword [esp + 0xc8]
and ebx, 0xfffffff0
je 0x415478
sar ebx, 4
cmp ebx, 0xf
lea ecx, [esp + 0xc8]
jle 0x414705
fld qword [0x448cd8]
mov esi, esi
lea edi, [edi]
mov edx, dword [ecx + 4]
sub ebx, 0x10
mov eax, edx
and edx, 0x800fffff
and eax, 0x7ff00000
or edx, 0x3ff00000
mov dword [ecx + 4], edx
shr eax, 0x14
cmp ebx, 0xf
fld qword [esp + 0xc8]
lea esi, [eax + esi - 0x3ff]
fmul st(1)
fstp qword [esp + 0xc8]
jg 0x4146c8
fstp st(0)
mov edx, dword [ecx + 4]
mov eax, edx
and eax, 0x7ff00000
shr eax, 0x14
and edx, 0x800fffff
or edx, 0x3ff00000
mov dword [ecx + 4], edx
lea esi, [eax + esi - 0x3ff]
xor eax, eax
mov dword [esp + 0x84], eax
test ebx, ebx
jle 0x415478
fld qword [esp + 0xc8]
nop
lea esi, [esi]
test bl, 1
je 0x414762
mov edi, dword [esp + 0x84]
fmul qword [edi*8 + 0x448cb8]
fst qword [esp + 0xc8]
inc dword [esp + 0x84]
sar ebx, 1
test ebx, ebx
jg 0x414748
fstp qword [esp]
lea eax, [esp + 0xc4]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc0]
mov dword [esp + 8], eax
call fcn.00417dd8
mov dword [esp + 0xe4], eax
mov ecx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
mov edi, dword [esp + 0x80]
add ecx, esi
mov esi, ebx
sub esi, edi
mov edx, ecx
test esi, esi
mov dword [esp + 0x84], esi
jle 0x4147ec
mov dword [esp + 0xc0], ecx
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00417f18
mov eax, dword [esp + 0xc0]
mov ecx, esi
mov edi, dword [esp + 0x80]
add ecx, eax
mov edx, ecx
mov dword [esp + 0xc4], edi
mov ebx, edi
xor eax, eax
mov edi, dword [esp + 0x108]
lea esi, [edx + ebx]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x80]
sub esi, eax
mov eax, dword [edi + 8]
inc eax
cmp eax, esi
jl 0x415533
mov dword [esp + 0x68], esi
mov eax, dword [edi + 4]
cmp eax, esi
mov dword [esp + 0x94], eax
jle 0x4154be
sub edx, eax
mov edi, 1
test edx, edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x84], edx
jle 0x415739
mov dword [esp + 4], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc0], ecx
mov dword [esp], eax
call fcn.004179d8
mov dword [esp + 0xe4], eax
mov edx, dword [esp + 0x84]
add dword [esp + 0xc4], edx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x94]
test eax, eax
mov dword [esp + 0x68], edx
mov dword [esp + 0xc0], edx
je 0x41489b
lea eax, [esi + 1]
cmp eax, edx
jl 0x4159b0
mov dword [esp + 8], ebp
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004181f8
mov dword [esp + 0x30], eax
lea ecx, [eax + 0xc]
mov dword [esp + 0x28], ecx
nop
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.004174d8
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x10]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
lea edx, [eax*4]
lea eax, [edx + 8]
add edi, 0xc
cmp eax, 7
jbe 0x414918
test edi, 4
je 0x414918
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 0xc]
mov edi, esi
mov dword [esi + 0xc], eax
mov esi, ebx
add edi, 0x10
add esi, 0x10
lea eax, [edx + 4]
nop
cld
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xe4]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004174d8
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0xe4]
mov edi, dword [esp + 0x38]
mov eax, dword [edx + 0x10]
lea esi, [edx + 0xc]
add edi, 0xc
lea ecx, [eax*4]
lea eax, [ecx + 8]
cmp eax, 7
jbe 0x414978
test edi, 4
je 0x414978
mov eax, dword [edx + 0xc]
lea esi, [edx + 0x10]
mov edi, dword [esp + 0x38]
mov dword [edi + 0xc], eax
mov edi, dword [esp + 0x38]
lea eax, [ecx + 4]
add edi, 0x10
cld
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov dword [esp], 1
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xc4]
mov ebx, edx
sub eax, edx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xc0]
add ebx, eax
call fcn.00417718
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x98]
test ebp, ebp
js 0x415368
mov edi, dword [esp + 0x98]
xor edx, edx
xor esi, esi
mov dword [esp + 0xa8], edi
test ebx, ebx
js 0x41535b
add esi, ebx
mov ecx, dword [esp + 0xa4]
mov ebp, esi
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0xa4]
sub eax, ecx
lea ecx, [ebx + esi]
mov esi, dword [esp + 0x80]
inc eax
mov dword [esp + 0x84], eax
sub ecx, esi
cmp ecx, dword [esp + 0x94]
jge 0x414a25
mov ebx, dword [esp + 0x94]
sub ecx, ebx
add eax, ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x84]
add edi, eax
lea esi, [ebp + eax]
cmp edi, esi
mov ecx, edi
jle 0x414a3a
mov ecx, esi
cmp ecx, ebp
jle 0x414a40
mov ecx, ebp
test ecx, ecx
jle 0x414a4a
sub esi, ecx
sub edi, ecx
sub ebp, ecx
test edx, edx
jle 0x414a84
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
call fcn.004178c8
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00417748
mov ebx, eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004175a8
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0xac]
sub esi, eax
test esi, esi
jle 0x415298
mov dword [esp + 4], esi
mov edx, dword [esp + 0x38]
mov dword [esp], edx
call fcn.004179d8
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0xa8]
test esi, esi
jle 0x414acf
mov ebx, dword [esp + 0xa8]
mov esi, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.004178c8
mov dword [esp + 0x34], eax
test edi, edi
jle 0x414ae7
mov dword [esp + 4], edi
mov edi, dword [esp + 0x34]
mov dword [esp], edi
call fcn.004179d8
mov dword [esp + 0x34], eax
test ebp, ebp
jle 0x414aff
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004179d8
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x34]
mov ebx, 0x20
mov edi, 1
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00417b28
cmp dword [eax + 0x10], 1
mov ebp, eax
jle 0x415198
mov ebx, dword [esp + 0x2c]
xor edx, edx
xor eax, eax
mov dword [esp + 0x8c], edx
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0xc], 0
mov dword [esp + 0x44], eax
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.00417ad8
mov ecx, eax
mov eax, dword [esp + 0x6c]
test eax, eax
setne al
xor edx, edx
test ecx, ecx
setle dl
test eax, edx
je 0x415018
mov eax, 1
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x6c]
and eax, 1
xor eax, esi
mov dword [esp + 0x8c], eax
je 0x4158a8
test esi, esi
jne 0x415388
mov eax, 0x11
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x94]
cmp dword [esp + 0x68], eax
je 0x414c28
mov edx, dword [esp + 0x80]
xor ecx, ecx
cmp edx, 0x1f
mov dword [esp + 0x84], edx
jle 0x41541f
mov ebx, dword [esp + 0xe4]
nop
mov eax, dword [ebx + ecx*4 + 0x14]
test eax, eax
jne 0x414c28
sub dword [esp + 0x84], 0x20
inc ecx
cmp dword [esp + 0x84], 0x1f
jg 0x414bd8
cmp dword [esp + 0x84], 1
jle 0x41597e
lea edx, [ebx + ecx*4]
mov eax, dword [edx + 0x14]
bsf ecx, eax
shr eax, cl
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x84]
dec eax
cmp ecx, eax
jge 0x41597e
mov esi, esi
lea edi, [edi]
mov eax, 0x10
test esi, esi
mov dword [esp + 0x88], eax
je 0x4152b8
mov eax, 0x20
xor edi, edi
mov dword [esp + 0x88], eax
fld1
fst qword [esp + 0x48]
fstp qword [esp + 0x50]
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x9c]
add edx, eax
test ecx, ecx
mov dword [esp + 0x40], edx
jne 0x414c80
cmp eax, dword [esp + 0x80]
jl 0x415399
fld qword [esp + 0x50]
lea eax, [esp + 0xbc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
fstp qword [esp]
call fcn.00417dd8
mov esi, eax
mov eax, dword [esp + 0xb8]
test eax, eax
jl 0x41542b
jle 0x414cc3
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004179d8
mov esi, eax
test edi, edi
mov ebx, dword [esp + 0xe4]
je 0x41512a
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00417b28
mov dword [esp + 0xe4], eax
mov edi, dword [ebx + 0x10]
mov ecx, eax
mov edx, dword [esp + 0x9c]
dec edi
test edx, edx
jne 0x414d38
cmp dword [eax + 0x10], edi
jle 0x414d0f
bsr edx, dword [eax + edi*4 + 0x14]
xor edx, 0x1f
bsr eax, dword [ebx + edi*4 + 0x14]
xor eax, 0x1f
cmp edx, eax
jle 0x414d38
mov eax, dword [esp + 0x94]
cmp dword [esp + 0x68], eax
jne 0x41543e
dec dword [esp + 0xc4]
mov eax, 1
mov dword [esp + 0x9c], eax
nop
lea esi, [esi]
mov dword [esp], esi
call fcn.004175a8
mov dword [esp], ebx
call fcn.004175a8
mov ecx, dword [esp + 0x8c]
test ecx, ecx
jne 0x4151a3
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
add eax, edx
cmp dword [esp + 0x40], eax
sete dl
xor eax, eax
cmp dword [esp + 0x44], 0
setne al
test edx, eax
je 0x414db8
fld qword [esp + 0x50]
fmul qword [0x448a70]
fld qword [esp + 0x48]
fsub dword [0x448a64]
fld st(1)
fchs
fucomp st(1)
fnstsw ax
sahf
jbe 0x415328
fstp st(0)
fld qword [esp + 0x48]
fucompp
fnstsw ax
sahf
ja 0x4159e6
nop
lea esi, [esi]
xor eax, eax
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x415308
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004175a8
mov edx, dword [esp + 0x34]
mov dword [esp], edx
call fcn.004175a8
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call fcn.004175a8
mov dword [esp], ebp
call fcn.004175a8
jmp 0x4148c8
movsx eax, byte [ebx + 1]
cmp eax, 0x58
je 0x4154d9
mov esi, 1
cmp eax, 0x78
mov dword [esp + 0x70], esi
je 0x4154d9
nop
lea esi, [esi]
mov eax, ebx
inc ebx
mov dword [esp + 0xe0], ebx
movzx eax, byte [eax + 1]
cmp al, 0x30
je 0x414e28
test al, al
jne 0x414212
jmp 0x4141bd
mov eax, 1
mov dword [esp + 0xa0], eax
mov eax, ebx
inc ebx
mov dword [esp + 0xe0], ebx
test ebp, ebp
movsx ecx, byte [eax + 1]
jne 0x414ed6
cmp ecx, 0x30
jne 0x414e81
inc dword [esp + 0x74]
mov eax, ebx
inc ebx
mov dword [esp + 0xe0], ebx
movsx ecx, byte [eax + 1]
cmp ecx, 0x30
je 0x414e6a
lea eax, [ecx - 0x31]
cmp eax, 8
ja 0x4142a5
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x74]
lea esi, [ecx - 0x30]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x74], eax
jmp 0x414ee2
mov eax, ebp
inc ebp
cmp eax, 8
jg 0x414f41
mov ecx, dword [esp + 0x40]
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*2]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, ebx
inc ebx
mov dword [esp + 0xe0], ebx
movsx ecx, byte [eax + 1]
lea esi, [ecx - 0x30]
cmp esi, 9
ja 0x4142a5
inc dword [esp + 0x74]
test esi, esi
je 0x414ec8
mov edx, dword [esp + 0x74]
mov ecx, 1
add dword [esp + 0x78], edx
cmp ecx, edx
jmp 0x414f08
jge 0x414ea8
mov eax, ebp
inc ebp
cmp eax, 8
jg 0x414f28
mov edx, dword [esp + 0x40]
lea eax, [edx + edx*4]
add eax, eax
mov dword [esp + 0x40], eax
inc ecx
cmp ecx, dword [esp + 0x74]
jmp 0x414f08
cmp ebp, 0x10
jg 0x414f1f
mov edx, dword [esp + 0x3c]
inc ecx
lea eax, [edx + edx*4]
add eax, eax
cmp ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
jmp 0x414f08
cmp ebp, 0x10
jg 0x414ec2
mov edx, dword [esp + 0x3c]
lea eax, [edx + edx*4]
lea eax, [esi + eax*2]
mov dword [esp + 0x3c], eax
jmp 0x414ec2
mov dword [esp + 0xe0], edi
jmp 0x4143c8
cmp eax, 3
jne 0x41455f
mov esi, dword [esp + 0x64]
inc esi
mov dword [esp + 0x6c], esi
jmp 0x41455f
mov eax, 1
mov dword [esp + 0x6c], eax
jmp 0x41455f
cmp ecx, 0x69
je 0x414405
cmp ecx, 0x6e
jne 0x4141aa
mov ebp, 0x448a5d
lea ebx, [esp + 0xe0]
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00418348
test eax, eax
je 0x4141aa
mov esi, dword [esp + 0x108]
mov edi, 4
mov dword [esp + 0xdc], edi
mov edi, dword [esp + 0x10c]
mov edx, dword [esi + 8]
lea eax, [edx + 1]
mov dword [edi], eax
mov eax, dword [esp + 0xe0]
cmp byte [eax], 0x28
jne 0x414467
mov dword [esp + 4], esi
mov eax, dword [esp + 0x110]
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.004184b8
mov dword [esp + 0xdc], eax
mov edx, dword [esi + 8]
jmp 0x414467
test ecx, ecx
jl 0x4158b8
je 0x4157fd
mov dword [esp], ebp
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.004182c8
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fld dword [0x448a60]
fucompp
fnstsw ax
sahf
jae 0x414c28
fld qword [esp + 0x50]
test esi, esi
fld dword [0x448a64]
fmul st(1), st(0)
fxch st(1)
fst qword [esp + 0x48]
fstp qword [esp + 0x50]
je 0x415077
mov eax, 0x10
xor edi, edi
mov dword [esp + 0x88], eax
fld qword [0x448a68]
fld qword [esp + 0x48]
fxch st(1)
fucomp st(1)
fnstsw ax
sahf
jbe 0x4153e8
fnstcw word [esp + 0xb6]
movzx eax, word [esp + 0xb6]
fld qword [esp + 0x48]
fxch st(1)
or ax, 0xc00
mov word [esp + 0xb4], ax
fldcw word [esp + 0xb4]
fistp dword [esp + 0x44]
fldcw word [esp + 0xb6]
cmp dword [esp + 0x6c], 1
fild dword [esp + 0x44]
fsub st(1), st(0)
fxch st(1)
fstp qword [esp + 0x48]
je 0x415484
jle 0x41553f
fstp st(1)
cmp dword [esp + 0x6c], 2
jne 0x414c50
test edi, edi
jne 0x414c50
fld qword [esp + 0x48]
fldz
fxch st(1)
fucompp
fnstsw ax
sahf
jbe 0x414c50
fstp st(0)
inc dword [esp + 0x44]
mov eax, 0x30
mov ebx, dword [esp + 0x88]
fild dword [esp + 0x44]
sub eax, ebx
mov dword [esp + 0x88], eax
jmp 0x414c50
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00418038
mov dword [esp + 0xe4], eax
mov edi, dword [eax + 0x10]
mov ecx, eax
dec edi
cmp dword [ebx + 0x10], edi
jle 0x415160
bsr edx, dword [eax + edi*4 + 0x14]
xor edx, 0x1f
bsr eax, dword [ebx + edi*4 + 0x14]
xor eax, 0x1f
cmp edx, eax
jge 0x414d38
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4153f8
mov eax, dword [esp + 0xc4]
inc eax
cmp eax, dword [esp + 0x80]
mov dword [esp + 0xc4], eax
jne 0x414d38
xor eax, eax
jmp 0x414d2c
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x414b30
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x415493
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0xc4]
sub ebx, eax
mov dword [esp + 0x84], ebx
test ebx, ebx
je 0x415493
jle 0x415a18
mov dword [esp + 4], ebx
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
call fcn.004179d8
mov dword [esp + 0xe4], eax
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x84]
sub edx, eax
mov dword [esp + 0xc0], edx
mov esi, dword [esp + 0x10c]
mov edi, dword [esp + 0x38]
mov dword [esi], edx
mov dword [esp], edi
call fcn.004175a8
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.004175a8
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
call fcn.004175a8
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.004175a8
mov dword [esp], ebp
call fcn.004175a8
mov ebx, dword [esp + 0x108]
mov eax, dword [esp + 0xc0]
cmp dword [ebx + 8], eax
jge 0x414473
mov eax, dword [esp + 0xe4]
mov ebp, 0xa3
mov dword [eax + 0x10], 0
mov dword [esp + 0xdc], ebp
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov esi, dword [esp + 0x108]
mov edx, dword [esi + 8]
jmp 0x414467
jge 0x414aa9
mov ecx, dword [esp + 0x38]
neg esi
mov dword [esp + 4], esi
mov dword [esp], ecx
call fcn.00417f18
jmp 0x414aa9
mov eax, dword [esp + 0x9c]
test eax, eax
setne al
xor edx, edx
cmp dword [esp + 0xa4], 1
setle dl
test eax, edx
je 0x414c4a
mov ebx, dword [esp + 0xe4]
mov dword [ebx + 0x10], 0
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc0], eax
mov eax, 0x50
mov dword [esp + 0xdc], eax
jmp 0x4151a3
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
call fcn.00417fe8
mov dword [esp + 0xac], eax
jmp 0x414dd0
fucomp st(1)
fnstsw ax
sahf
jbe 0x4153f1
fld1
fsubrp st(1)
fld qword [esp + 0x48]
fxch st(1)
fucompp
fnstsw ax
sahf
jbe 0x414db8
mov esi, dword [esp + 0x88]
or dword [esp + 0xdc], esi
jmp 0x4151a3
sub edi, ebx
jmp 0x4149dd
mov edx, dword [esp + 0x98]
xor edi, edi
mov dword [esp + 0xa8], edi
xor edi, edi
neg edx
mov esi, edx
jmp 0x4149d3
mov eax, 0x21
mov dword [esp + 0xdc], eax
jmp 0x414c28
mov ecx, dword [esp + 0x80]
sub ecx, eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x84], ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004179d8
mov dword [esp + 0xe4], eax
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
sub dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], esi
jmp 0x414c80
fstp st(0)
fstp st(0)
jmp 0x414c54
fstp st(0)
jmp 0x414db8
mov dword [esp], ecx
mov eax, 1
mov dword [esp + 4], eax
call fcn.00417f18
inc dword [esp + 0xc0]
inc dword [esp + 0x68]
xor edi, edi
mov dword [esp + 0x44], edi
jmp 0x414d38
mov ebx, dword [esp + 0xe4]
jmp 0x414bf3
mov dword [esp], esi
neg eax
mov dword [esp + 4], eax
call fcn.00417f18
jmp 0x414cc3
mov dword [esp], ecx
mov eax, 1
mov dword [esp + 4], eax
call fcn.004179d8
dec dword [esp + 0xc0]
dec dword [esp + 0x68]
mov dword [esp + 0xe4], eax
xor eax, eax
mov dword [esp + 0x8c], eax
jmp 0x415414
fstp qword [esp + 0xc8]
jmp 0x414675
fld qword [esp + 0xc8]
jmp 0x41476f
fstp st(1)
test edi, edi
jne 0x4150f3
jmp 0x414c50
mov edx, dword [esp + 0xc0]
jmp 0x415208
mov edx, 1
mov dword [esp + 0x90], edx
lea ebx, [edi + 2]
mov dword [esp + 0xe0], ebx
movsx ecx, byte [eax + 1]
jmp 0x414301
mov dword [esp + 0xc0], ecx
jmp 0x41489b
mov edx, dword [esp + 0x64]
sub eax, edx
mov dword [esp + 0x6c], eax
jmp 0x41455f
mov edx, dword [esp + 0x64]
lea eax, [esp + 0xe4]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x108]
lea eax, [esp + 0xe0]
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004186d8
mov dword [esp + 0xdc], eax
cmp eax, 6
jne 0x4141bd
mov dword [esp + 0xe0], edi
xor ecx, ecx
mov dword [esp + 0x64], ecx
jmp 0x4141bd
mov dword [esp + 0xc0], ecx
jmp 0x415260
mov esi, dword [esp + 0x6c]
test esi, esi
jne 0x415732
fld qword [esp + 0x48]
fucomp st(2)
fnstsw ax
fstp st(1)
sahf
jb 0x414c50
jmp 0x415106
mov eax, dword [esp + 0xdc]
mov edx, dword [ebx + 0x10]
and eax, 0xfffffff8
test edx, edx
jle 0x415575
or eax, 2
mov dword [esp + 0xdc], eax
test al, 0x30
je 0x4141c4
or eax, 0x40
mov dword [esp + 0xdc], eax
jmp 0x4141c4
jge 0x415478
neg ebx
mov ecx, ebx
and ecx, 0xf
je 0x4155b7
fld qword [ecx*8 + 0x448bb8]
fdivr qword [esp + 0xc8]
fstp qword [esp + 0xc8]
and ebx, 0xfffffff0
je 0x415478
sar ebx, 4
cmp ebx, 0xf
lea ecx, [esp + 0xc8]
jle 0x415612
fld qword [0x448c98]
mov edx, dword [ecx + 4]
sub ebx, 0x10
mov eax, edx
and edx, 0x800fffff
and eax, 0x7ff00000
or edx, 0x3ff00000
mov dword [ecx + 4], edx
shr eax, 0x14
cmp ebx, 0xf
fld qword [esp + 0xc8]
lea esi, [eax + esi - 0x3ff]
fmul st(1)
fstp qword [esp + 0xc8]
jg 0x4155d5
fstp st(0)
mov edx, dword [ecx + 4]
mov eax, edx
and eax, 0x7ff00000
shr eax, 0x14
and edx, 0x800fffff
or edx, 0x3ff00000
mov dword [ecx + 4], edx
lea esi, [eax + esi - 0x3ff]
xor eax, eax
mov dword [esp + 0x84], eax
test ebx, ebx
jle 0x415478
fld qword [esp + 0xc8]
test bl, 1
je 0x415667
mov eax, dword [esp + 0x84]
fmul qword [eax*8 + 0x448c78]
fst qword [esp + 0xc8]
inc dword [esp + 0x84]
sar ebx, 1
test ebx, ebx
jg 0x41564d
jmp 0x41476f
fst qword [esp + 0xc8]
mov esi, 1
mov edx, dword [esp + 0x110]
mov dword [esp + 0x14], esi
lea eax, [esp + 0xdc]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x108]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 8], esi
fstp qword [esp]
jmp 0x414668
mov ecx, 0xf
sub ecx, ebp
lea eax, [ecx + 0x16]
cmp eax, dword [esp + 0x98]
jl 0x41546c
fmul qword [ecx*8 + 0x448bb8]
mov esi, dword [esp + 0x98]
lea eax, [esp + 0xdc]
mov dword [esp + 0x1c], eax
xor eax, eax
mov ebx, dword [esp + 0x110]
mov dword [esp + 0x14], eax
sub esi, ecx
mov eax, dword [esp + 0x108]
fmul qword [esi*8 + 0x448bb8]
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x10c]
mov dword [esp + 8], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], esi
jmp 0x41465c
fstp st(1)
jmp 0x414c50
jge 0x414876
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x84]
lea eax, [ebx + ecx]
mov dword [esp + 0xc4], eax
test eax, eax
jle 0x415a9d
neg dword [esp + 0x84]
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
call fcn.00417f18
jmp 0x414876
cmp dword [esp + 0x98], 0xffffffea
jl 0x41546c
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x110]
shl eax, 3
mov ebx, dword [esp + 0x10c]
neg eax
fdiv qword [eax + 0x448bb8]
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x108]
lea eax, [esp + 0xdc]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
jmp 0x41465c
mov eax, dword [esp + 0xd4]
mov edx, 0x15
or eax, 0x100000
bsf eax, eax
jmp 0x4145fc
test esi, esi
je 0x4159f9
mov ebx, dword [esp + 0x9c]
test ebx, ebx
je 0x415839
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xe4]
mov eax, ecx
lea edx, [ebx + 0x14]
sar eax, 5
lea edi, [edx + eax*4]
cmp edx, edi
jae 0x415a39
mov eax, dword [edx]
add edx, 4
inc eax
je 0x415829
mov edi, 0x11
mov dword [esp + 0xdc], edi
mov edx, dword [esp + 0x80]
cmp dword [esp + 0xa4], edx
setl al
xor edx, edx
cmp dword [esp + 0x9c], 0
sete dl
test eax, edx
jne 0x4151a3
mov ebx, dword [esp + 0xe4]
test byte [ebx + 0x14], 1
je 0x4151a3
test esi, esi
jne 0x415b03
cmp dword [esp + 0xa4], 1
je 0x4152e0
mov dword [esp], ebx
call fcn.00413c68
mov eax, 0x11
jmp 0x4152fa
cmp esi, 1
sbb eax, eax
and eax, 0x10
add eax, 0x11
jmp 0x4152fa
cmp esi, 1
sbb eax, eax
and eax, 0x10
add eax, 0x11
test esi, esi
setne dl
cmp dword [esp + 0xa4], 1
mov dword [esp + 0xdc], eax
setg al
or eax, edx
test al, 1
jne 0x4151a3
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x94]
test edi, edi
setne al
cmp dword [esp + 0x68], ebx
sete dl
or eax, edx
test al, 1
jne 0x4151a3
mov dword [esp], ebp
mov esi, 1
mov dword [esp + 4], esi
call fcn.004179d8
mov dword [esp], eax
mov esi, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 4], esi
call fcn.00417ad8
test eax, eax
mov edx, 0x11
jle 0x4151a3
mov edi, dword [esp + 0x94]
cmp dword [esp + 0x68], edi
jne 0x415ad4
mov eax, dword [esp + 0xe4]
mov esi, 0x21
mov dword [esp + 0xdc], esi
cmp dword [eax + 0x10], 1
jne 0x4151a3
cmp dword [eax + 0x14], 1
jne 0x4151a3
mov ebx, 1
mov dword [esp + 0x60], ebx
jmp 0x4151a3
mov dword [esp], ebx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x80]
dec edx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 4], ecx
call fcn.00413ca8
mov dword [esp + 0xe4], eax
jmp 0x4151a3
mov ebx, dword [esp + 0xe4]
mov ecx, 0x50
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x10c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [esp + 0xdc], ecx
mov dword [edi], esi
jmp 0x414489
mov eax, dword [esp + 0x88]
or dword [esp + 0xdc], eax
jmp 0x4151a3
cmp dword [esp + 0xa4], 1
je 0x415aca
mov ecx, 0x21
mov dword [esp + 0xdc], ecx
jmp 0x415845
mov eax, dword [esp + 0x84]
neg eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
call fcn.00417f18
jmp 0x4151f1
and ecx, 0x1f
je 0x415a50
mov eax, 0xffffffff
shl eax, cl
mov ecx, dword [edx]
or eax, ecx
inc eax
jne 0x415839
mov dword [ebx + 0x10], 1
mov ecx, dword [esp + 0x94]
mov eax, 1
mov dword [ebx + 0x14], 1
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xc4], eax
mov eax, 0x21
lea edx, [ecx + ebx - 1]
mov dword [esp + 0xdc], eax
xor eax, eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0x9c], eax
jmp 0x4151b2
inc eax
jl 0x4159b0
mov eax, dword [esp + 0xe4]
mov edx, 1
mov dword [esp + 0xc4], edx
mov dword [eax + 0x14], 1
mov dword [eax + 0x10], 1
jmp 0x414876
mov edx, 1
jmp 0x415938
mov dword [esp + 0xdc], edx
mov eax, dword [esp + 0x80]
sub dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
jmp 0x41599f
mov dword [esp], ebx
call fcn.00413b98
mov dword [esp + 0xe4], eax
mov ecx, dword [esp + 0xc4]
mov edx, eax
mov ebx, ecx
and ebx, 0x1f
mov dword [esp + 0x84], ebx
je 0x415b37
mov eax, 0x20
sub eax, ebx
mov dword [esp + 0x84], eax
mov eax, dword [edx + 0x10]
dec eax
sar eax, 5
bsr eax, dword [edx + eax*4 + 0x14]
xor eax, 0x1f
cmp eax, dword [esp + 0x84]
je 0x415b59
lea eax, [ecx + 1]
mov dword [esp + 0xc4], eax
mov edx, 0x21
mov dword [esp + 0xdc], edx
jmp 0x4151a3