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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
call sub.msvcrt.dll_localeconv
mov esi, dword [eax]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [esp + 0xa4], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xe8]
fldz
fstp qword [esp + 0xb8]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xe0]
mov ecx, eax
mov dword [esp + 0xb0], eax
movsx edx, byte [ecx]
cmp dl, 0x2d
ja case.0x4e6ff8.1
movzx eax, dl
jmp dword [eax*4 + 0x52b2ac]
mov eax, dword [esp + 0xe0]
xor ecx, ecx
mov dword [esp + 0xa4], 6
mov dword [esp + 0x3c], 0
mov dword [esp + 0xb0], eax
mov edx, dword [esp + 0xe4]
test edx, edx
je 0x4e703e
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0xe4]
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4e7086
test ecx, ecx
je 0x4e7074
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
call fcn.004e9900
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.004e8c60
mov eax, dword [esp + 0xa4]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
or dword [esp + 0xa4], 8
jmp 0x4e7046
mov dword [esp + 0x3c], 0
lea eax, [ecx + 1]
mov dword [esp + 0xb0], eax
movsx edx, byte [ecx + 1]
test dl, dl
je case.0x4e6ff8.0
mov ecx, eax
cmp dl, 0x30
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
je 0x4e76f0
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x78], eax
lea eax, [edx - 0x30]
cmp al, 9
ja 0x4e856d
mov eax, dword [esp + 0x24]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x38], esi
xor ebx, ebx
mov esi, edi
add eax, 1
jmp 0x4e7115
lea ecx, [ebp + ebp*4]
lea ebp, [edx + ecx*2 - 0x30]
mov dword [esp + 0xb0], eax
movsx edx, byte [eax]
add ebx, 1
mov edi, eax
add eax, 1
lea ecx, [edx - 0x30]
cmp cl, 9
ja 0x4e7160
cmp ebx, 8
jle 0x4e70f3
cmp ebx, 0xf
jg 0x4e70fb
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*2 - 0x30]
jmp 0x4e70fb
mov dword [esp + 0x3c], 1
jmp 0x4e7098
add ecx, 1
mov dword [esp + 0xb0], ecx
movsx edx, byte [ecx]
cmp dl, 0x2d
jbe 0x4e6ff5
nop
lea esi, [esi]
mov dword [esp + 0x3c], 0
jmp 0x4e70b0
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x38]
mov ecx, edi
movsx eax, byte [esi]
cmp eax, edx
mov dword [esp + 0x38], eax
je 0x4e7737
mov edi, ebx
xor esi, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov eax, edx
and eax, 0xffffffdf
cmp eax, 0x45
jne 0x4e72c0
mov eax, edi
or eax, esi
or eax, dword [esp + 0x28]
je 0x4e73c0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xe0], eax
add eax, 1
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xe0]
movsx edx, byte [eax + 1]
cmp dl, 0x2b
je 0x4e850a
cmp dl, 0x2d
je 0x4e78de
mov dword [esp + 0x40], 0
lea eax, [edx - 0x30]
cmp eax, 9
ja 0x4e7a00
cmp edx, 0x30
jne 0x4e7213
mov eax, dword [esp + 0xb0]
add eax, 1
mov dword [esp + 0xb0], eax
movsx edx, byte [eax]
add eax, 1
cmp edx, 0x30
je 0x4e7201
lea ecx, [edx - 0x31]
xor eax, eax
cmp ecx, 8
ja 0x4e72c2
mov eax, dword [esp + 0xb0]
lea ecx, [edx - 0x30]
lea edx, [eax + 1]
mov dword [esp + 0xb0], edx
mov dword [esp + 0x4c], eax
movzx eax, byte [eax + 1]
mov dword [esp + 0x50], edx
movsx edx, al
sub eax, 0x30
cmp al, 9
ja 0x4e728f
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x50], esi
mov esi, edx
mov dword [esp + 0x54], edi
add eax, 2
lea esi, [esi]
lea edx, [ecx + ecx*4]
mov edi, eax
lea ecx, [esi + edx*2 - 0x30]
mov dword [esp + 0xb0], eax
movzx edx, byte [eax]
add eax, 1
movsx esi, dl
sub edx, 0x30
cmp dl, 9
jbe 0x4e7260
mov edx, esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov eax, 0x4e1f
cmp dword [esp + 0x4c], 8
jg 0x4e72b0
cmp ecx, 0x4e1f
cmovle eax, ecx
mov ecx, eax
neg ecx
cmp dword [esp + 0x40], 0
cmovne eax, ecx
jmp 0x4e72c2
xor eax, eax
test edi, edi
jne 0x4e7406
mov eax, dword [esp + 0x28]
or eax, esi
jne 0x4e73fa
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4e73c0
cmp edx, 0x4e
je 0x4e72ff
jle 0x4e73b0
cmp edx, 0x69
je 0x4e8644
cmp edx, 0x6e
jne 0x4e73c0
lea ebx, [esp + 0xb0]
mov dword [esp + 4], 0x52b2a9
mov dword [esp], ebx
call fcn.004e98b0
test eax, eax
je 0x4e73c0
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0xa4], 4
mov eax, dword [eax + 8]
mov dword [esp + 0x38], 0
mov dword [esp + 0x20], eax
add eax, 1
mov dword [esi], eax
cmp byte [edx], 0x28
je 0x4e89d6
nop
lea esi, [esi]
mov ebx, dword [esp + 0xec]
mov dword [ebx], eax
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4e7023
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x4e79d0
mov edx, dword [esp + 0xa4]
xor eax, eax
mov ebx, dword [ecx + 0x10]
and edx, 0xfffffff8
test ebx, ebx
setg al
add eax, eax
or eax, edx
test al, 0x30
jne 0x4e73e5
mov dword [esp + 0xa4], eax
jmp 0x4e7023
cmp edx, 0x49
je 0x4e8644
lea esi, [esi]
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xa4], 6
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xb0], eax
jmp 0x4e7023
or eax, 0x40
mov dword [esp + 0xa4], eax
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov ecx, dword [esp + 0xb4]
jmp 0x4e7023
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 0xc]
and eax, 3
mov esi, eax
sub esi, ecx
cmp eax, 2
mov dword [esp + 0x68], esi
je 0x4e7451
mov esi, ecx
add esi, 1
cmp eax, 3
mov dword [esp + 0x68], esi
je 0x4e7451
test eax, eax
sete al
movzx eax, al
mov dword [esp + 0x68], eax
test ebx, ebx
mov esi, 0x10
cmove ebx, edi
cmp edi, 0x10
cmovle esi, edi
xor edx, edx
mov dword [esp + 0x80], ebp
cmp esi, 9
mov dword [esp + 0x84], edx
fild qword [esp + 0x80]
fst qword [esp + 0xb8]
jle 0x4e74b1
fmul qword [esi*8 + 0x52b3d8]
xor edx, edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
fild qword [esp + 0x80]
faddp st(1)
fstp qword [esp + 0xb8]
jmp 0x4e74b3
fstp st(0)
cmp edi, 0xf
jg 0x4e74c3
cmp dword [esp + 0x2c], 0x35
jle 0x4e763d
mov eax, dword [esp + 0x58]
mov edx, edi
sub edx, esi
add eax, edx
cmp eax, 0
jle 0x4e8419
mov edx, eax
and edx, 0xf
je 0x4e74f2
fld qword [esp + 0xb8]
fmul qword [edx*8 + 0x52b420]
fstp qword [esp + 0xb8]
and eax, 0xfffffff0
jne 0x4e7812
fld qword [esp + 0xb8]
xor esi, esi
lea eax, [esp + 0xa8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
fstp qword [esp]
call fcn.004e94a0
mov ecx, dword [esp + 0xa8]
add esi, dword [esp + 0xac]
mov edx, esi
mov dword [esp + 0xac], esi
mov esi, ecx
sub esi, dword [esp + 0x2c]
mov dword [esp + 0xb4], eax
test esi, esi
jle 0x4e7573
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004e95d0
mov eax, dword [esp + 0x2c]
add esi, dword [esp + 0xac]
mov dword [esp + 0xa8], eax
mov edx, esi
mov ecx, eax
mov dword [esp + 0xac], esi
lea eax, [ecx + edx]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x6c], eax
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x6c]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
add eax, 1
cmp esi, eax
jg 0x4e8334
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
cmp esi, eax
mov dword [esp + 0x48], eax
jge 0x4e8540
mov esi, edx
sub esi, eax
cmp esi, 0
jle 0x4e7957
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004e90d0
add dword [esp + 0xa8], esi
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4e7a15
mov eax, dword [esp + 0x6c]
add eax, 1
cmp dword [esp + 0x48], eax
jle 0x4e7a15
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xec]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xa4], 0x50
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [eax], ebx
jmp 0x4e737c
cmp dword [esp + 0x58], 0
je 0x4e854d
jle 0x4e7988
cmp dword [esp + 0x58], 0x16
jg 0x4e8582
mov eax, dword [esp + 0x58]
mov edx, dword [eax*4 + 0x52b380]
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4e877c
tzcnt ecx, eax
mov eax, 0x35
sub eax, ecx
mov ecx, dword [esp + 0x58]
add eax, edx
fld qword [esp + 0xb8]
cmp eax, 0x35
setle al
movzx eax, al
fmul qword [ecx*8 + 0x52b420]
mov dword [esp + 4], eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x68]
fstp qword [esp + 0xb8]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xe8]
mov dword [esp], eax
lea eax, [esp + 0xb8]
call fcn.004e6bc0
test eax, eax
jne 0x4e73fa
xor eax, eax
jmp 0x4e74c7
movzx eax, byte [ecx + 1]
cmp al, 0x58
je 0x4e8372
add ecx, 1
cmp al, 0x78
je 0x4e8372
mov eax, ecx
mov dword [esp + 0xb0], ecx
add ecx, 1
movsx edx, byte [ecx - 1]
cmp dl, 0x30
je 0x4e7707
xor ecx, ecx
test dl, dl
je 0x4e7023
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
jmp 0x4e70c5
movzx eax, byte [esi + 1]
test al, al
je 0x4e88a2
cmp al, byte [ecx + 1]
jne 0x4e7179
mov eax, 1
jmp 0x4e775c
cmp dl, byte [ecx + eax]
jne 0x4e77f5
add eax, 1
movzx edx, byte [esi + eax]
mov edi, eax
test dl, dl
jne 0x4e7753
add ecx, edi
test ebx, ebx
mov dword [esp + 0xb0], ecx
movsx edx, byte [ecx]
je 0x4e7907
mov edi, ebx
xor esi, esi
mov dword [esp + 0x38], 0
lea ecx, [edx - 0x30]
cmp ecx, 9
mov dword [esp + 0x30], 1
ja 0x4e718d
mov eax, dword [esp + 0xb0]
add esi, 1
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x4e862b
add dword [esp + 0x38], esi
cmp esi, 1
je 0x4e8a14
lea edx, [edi + esi - 1]
mov dword [esp + 0x40], ebx
mov esi, edx
mov ebx, dword [esp + 0x48]
jmp 0x4e77de
lea ebp, [ebp + ebp*4]
add ebp, ebp
cmp edi, edx
je 0x4e860e
add edi, 1
lea eax, [edi - 1]
cmp eax, 8
jle 0x4e77d0
cmp edi, 0x10
jg 0x4e77d6
lea ebx, [ebx + ebx*4]
add ebx, ebx
jmp 0x4e77d6
mov edx, dword [esp + 0x38]
mov edi, ebx
xor esi, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x4e718d
sar eax, 4
cmp eax, 0xf
jle 0x4e892c
xor esi, esi
fld qword [0x52b540]
mov ecx, eax
mov dword [esp + 0x28], edi
mov edi, esi
nop
mov esi, dword [esp + 0xbc]
sub ecx, 0x10
mov edx, esi
and esi, 0x800fffff
or esi, 0x3ff00000
and edx, 0x7ff00000
mov dword [esp + 0xbc], esi
shr edx, 0x14
cmp ecx, 0xf
fld qword [esp + 0xb8]
lea edi, [edi + edx - 0x3ff]
fmul st(1)
fstp qword [esp + 0xb8]
jg 0x4e7830
fstp st(0)
mov esi, edi
mov edi, dword [esp + 0x28]
and eax, 0xf
mov ecx, dword [esp + 0xbc]
mov edx, ecx
and ecx, 0x800fffff
and edx, 0x7ff00000
or ecx, 0x3ff00000
shr edx, 0x14
lea esi, [esi + edx - 0x3ff]
xor edx, edx
mov dword [esp + 0xbc], ecx
test eax, eax
fld qword [esp + 0xb8]
je 0x4e7504
lea esi, [esi]
test al, 1
je 0x4e78cb
fmul qword [edx*8 + 0x52b520]
add edx, 1
sar eax, 1
jne 0x4e78c0
fst qword [esp + 0xb8]
jmp 0x4e7504
mov dword [esp + 0x40], 1
mov eax, dword [esp + 0xe0]
add eax, 2
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xe0]
movsx edx, byte [eax + 2]
jmp 0x4e71e6
cmp edx, 0x30
jne 0x4e898f
lea eax, [ecx + 1]
mov dword [esp + 0xb0], eax
movsx edx, byte [eax]
mov esi, eax
sub esi, ecx
add eax, 1
cmp edx, 0x30
je 0x4e7913
lea eax, [edx - 0x31]
cmp eax, 8
ja 0x4e85f7
mov eax, dword [esp + 0xb0]
xor edi, edi
mov dword [esp + 0x38], esi
lea ecx, [edx - 0x30]
mov esi, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
jmp 0x4e77ab
je 0x4e75e3
add ecx, esi
test ecx, ecx
mov dword [esp + 0xa8], ecx
jle 0x4e8951
mov eax, dword [esp + 0xb4]
neg esi
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004e95d0
jmp 0x4e75e3
mov ecx, dword [esp + 0x58]
cmp ecx, 0xffffffea
mov eax, ecx
jl 0x4e74c7
neg eax
fld qword [esp + 0xb8]
fdiv qword [eax*8 + 0x52b420]
lea eax, [esp + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
fstp qword [esp + 0xb8]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
jmp 0x4e76b9
mov dword [ecx + 0x10], 0
mov dword [esp + 0xa4], 0x50
call sub.msvcrt.dll__errno
mov ecx, dword [esp + 0xb4]
mov dword [eax], 0x22
jmp 0x4e7023
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xb0], eax
xor eax, eax
jmp 0x4e72c2
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], 1
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004e9730
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x30], 0
mov dword [esp + 0x64], eax
add eax, 0xc
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
add eax, 1
mov dword [esp + 0x74], eax
mov eax, ebx
neg eax
test ebx, ebx
cmovns eax, esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
and eax, 1
mov dword [esp + 0x7c], eax
jmp 0x4e7c52
mov esi, dword [esp + 0x68]
test esi, esi
je 0x4e7e3f
mov eax, dword [esp + 0x7c]
xor eax, ebx
mov dword [esp + 0x54], eax
je 0x4e86ac
test ebx, ebx
je 0x4e80b0
fld1
xor esi, esi
fst qword [esp + 0x30]
mov dword [esp + 0xa4], 0x21
fstp qword [esp + 0x40]
mov dword [esp + 0x5c], 0x20
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov edx, dword [esp + 0x38]
add ebx, eax
test edx, edx
mov dword [esp + 0x60], ebx
jne 0x4e7af7
cmp dword [esp + 0x2c], eax
jg 0x4e8282
lea eax, [esp + 0xa0]
fld qword [esp + 0x30]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
fstp qword [esp]
call fcn.004e94a0
mov ebp, eax
mov eax, dword [esp + 0x9c]
test eax, eax
js 0x4e82b7
je 0x4e7b3a
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004e90d0
mov ebp, eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebp
test eax, eax
mov dword [esp], ebx
je 0x4e7fc6
call fcn.004e9230
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx + 0x10]
test ecx, ecx
mov dword [esp + 0xb4], eax
jne 0x4e7ba8
lea ecx, [edx - 1]
cmp ecx, dword [eax + 0x10]
jge 0x4e7b8a
add edx, 3
bsr ecx, dword [eax + edx*4 + 4]
bsr edx, dword [ebx + edx*4 + 4]
xor ecx, 0x1f
xor edx, 0x1f
cmp ecx, edx
jle 0x4e7ba8
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x6c], ecx
jne 0x4e8062
sub dword [esp + 0xa8], 1
mov dword [esp + 0x38], 1
mov dword [esp], ebp
call fcn.004e8c60
mov dword [esp], ebx
call fcn.004e8c60
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4e7eb2
test esi, esi
je 0x4e7c12
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0xa8]
cmp dword [esp + 0x60], eax
jne 0x4e7c12
fld qword [esp + 0x30]
fmul qword [0x52b3f0]
fld qword [esp + 0x40]
fsub dword [0x52b3e4]
fld st(1)
fchs
fucompi st(1)
jbe 0x4e8250
fstp st(0)
fld qword [esp + 0x40]
fucompi st(1)
fstp st(0)
jbe 0x4e7c12
jmp 0x4e826e
fstp st(0)
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4e8096
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004e8c60
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004e8c60
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004e8c60
mov dword [esp], edi
call fcn.004e8c60
mov esi, dword [esp + 0x64]
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.004e8b90
mov edx, dword [esi + 0x10]
mov esi, dword [esp + 0x70]
lea edx, [edx*4 + 8]
mov dword [esp + 8], edx
mov dword [esp + 0x28], eax
add eax, 0xc
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004e8b90
mov ebx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb4]
lea edx, [ebx + 0xc]
mov ecx, dword [eax + 0x10]
add eax, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
lea ecx, [ecx*4 + 8]
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memcpy
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0xa8]
mov dword [esp], 1
sub ebp, edi
add edi, dword [esp + 0xac]
call fcn.004e8db0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
test eax, eax
cmovg esi, eax
test edi, edi
js 0x4e8055
mov eax, dword [esp + 0x4c]
mov edx, esi
lea ebx, [eax + edi]
mov eax, dword [esp + 0x74]
add edi, ebp
sub edi, dword [esp + 0x2c]
sub eax, ebp
cmp dword [esp + 0x48], edi
jle 0x4e7d1d
sub edi, dword [esp + 0x48]
add eax, edi
lea edi, [ebx + eax]
add edx, eax
cmp edi, edx
mov eax, edx
cmovle eax, edi
cmp eax, ebx
cmovg eax, ebx
test eax, eax
jle 0x4e7d38
sub edi, eax
sub edx, eax
sub ebx, eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4e7d84
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], edx
mov dword [esp], eax
call fcn.004e8f30
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x24], eax
call fcn.004e8de0
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 0x40], eax
call fcn.004e8c60
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
sub edi, dword [esp + 0x30]
cmp edi, 0
jle 0x4e8030
mov eax, dword [esp + 0x20]
mov dword [esp + 4], edi
mov dword [esp + 0x30], edx
mov dword [esp], eax
call fcn.004e90d0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
test esi, esi
je 0x4e7dcd
mov eax, dword [esp + 0x28]
mov dword [esp + 4], esi
mov dword [esp + 0x30], edx
mov dword [esp], eax
call fcn.004e8f30
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
test edx, edx
jle 0x4e7de5
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004e90d0
mov dword [esp + 0x28], eax
test ebx, ebx
jle 0x4e7dfd
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004e90d0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004e9230
cmp dword [eax + 0x10], 1
mov edi, eax
jle 0x4e7ea7
mov eax, dword [esp + 0x24]
mov ebx, dword [edi + 0xc]
mov dword [edi + 0xc], 0
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004e91e0
test eax, eax
jle 0x4e7a86
test eax, eax
js 0x4e86c7
je 0x4e87a9
mov eax, dword [esp + 0x24]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004e9820
fld dword [0x52b3e0]
fucompi st(1)
jb 0x4e8160
fstp st(0)
test ebx, ebx
jne 0x4e82e3
mov dword [esp + 0x54], 0
cmp ebp, 1
jle 0x4e8869
fld1
xor esi, esi
fst qword [esp + 0x30]
mov dword [esp + 0x5c], 0x10
fstp qword [esp + 0x40]
mov dword [esp + 0x50], 1
jmp 0x4e7ad1
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4e7e1d
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4e83ef
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0xec]
mov dword [ebx], eax
mov dword [esp], ebp
call fcn.004e8c60
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004e8c60
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004e8c60
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.004e8c60
mov dword [esp], edi
call fcn.004e8c60
mov eax, dword [esp + 0xe8]
mov ebx, dword [esp + 0xac]
cmp dword [eax + 8], ebx
jge 0x4e7369
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 0xc]
and eax, 3
cmp eax, 2
je 0x4e8858
cmp eax, 3
je 0x4e8798
cmp eax, 1
je 0x4e833c
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.004e8c60
mov eax, dword [esp + 0xe8]
mov ebx, dword [esp + 0xec]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xa4], 0x11
mov eax, dword [eax + 8]
mov dword [ebx], eax
mov eax, dword [esp + 0xe8]
mov ebx, dword [esp + 0xf0]
mov ecx, dword [eax]
lea eax, [ecx + 0x1f]
sar eax, 5
lea edx, [ebx + eax*4]
mov eax, ebx
cmp ebx, edx
jae 0x4e7fae
lea esi, [esi]
add eax, 4
cmp edx, eax
mov dword [eax - 4], 0xffffffff
ja 0x4e7fa0
and ecx, 0x1f
je 0x4e7fbf
mov eax, 0x20
sub eax, ecx
mov ecx, eax
shr dword [edx - 4], cl
xor ecx, ecx
jmp 0x4e7370
call fcn.004e99f0
mov edx, dword [eax + 0x10]
mov dword [esp + 0xb4], eax
lea ecx, [edx - 1]
cmp ecx, dword [ebx + 0x10]
jge 0x4e7ff8
add edx, 3
bsr ecx, dword [eax + edx*4 + 4]
bsr edx, dword [ebx + edx*4 + 4]
xor ecx, 0x1f
xor edx, 0x1f
cmp ecx, edx
jge 0x4e7ba8
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e8310
mov eax, dword [esp + 0xa8]
add eax, 1
cmp dword [esp + 0x2c], eax
mov dword [esp + 0xa8], eax
mov eax, 0
cmovne eax, ecx
mov dword [esp + 0x38], eax
jmp 0x4e7ba8
je 0x4e7dad
mov eax, dword [esp + 0x20]
neg edi
mov dword [esp + 4], edi
mov dword [esp + 0x30], edx
mov dword [esp], eax
call fcn.004e95d0
mov edx, dword [esp + 0x30]
jmp 0x4e7dad
mov edx, esi
mov ebx, dword [esp + 0x4c]
sub edx, edi
jmp 0x4e7d05
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.004e90d0
mov dword [esp], ebp
sub dword [esp + 0xac], 1
sub dword [esp + 0x6c], 1
mov dword [esp + 0xb4], eax
call fcn.004e8c60
mov dword [esp], ebx
call fcn.004e8c60
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.004e96f0
mov dword [esp + 0x30], eax
jmp 0x4e7c26
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x6c], eax
mov dword [esp + 0xa4], 0x11
je 0x4e7e7d
xor edx, edx
mov esi, dword [esp + 0xb4]
cmp dword [esp + 0x2c], 0x1f
mov eax, dword [esp + 0x2c]
jle 0x4e8107
mov ebx, dword [esi + 0x14]
test ebx, ebx
jne 0x4e7e7d
mov eax, dword [esp + 0x2c]
xor edx, edx
jmp 0x4e80fc
mov ecx, dword [esi + edx*4 + 0x14]
test ecx, ecx
jne 0x4e7e7d
sub eax, 0x20
add edx, 1
cmp eax, 0x1f
jg 0x4e80f0
cmp eax, 1
jle 0x4e8126
lea edx, [esi + edx*4]
sub eax, 1
mov ebx, dword [edx + 0x14]
tzcnt ecx, ebx
shr ebx, cl
cmp eax, ecx
mov dword [edx + 0x14], ebx
jg 0x4e7e7d
mov eax, dword [esp + 0x6c]
mov dword [esp], esi
mov ebp, dword [esp + 0x20]
sub eax, 1
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 0xa8], eax
call fcn.004e6f10
mov dword [esp + 0xb4], eax
jmp 0x4e7eb6
fld dword [0x52b3e4]
cmp ebx, 1
fmul st(1), st(0)
sbb eax, eax
mov dword [esp + 0x5c], eax
xor eax, eax
and dword [esp + 0x5c], 0x10
add dword [esp + 0x5c], 0x10
cmp ebx, 1
setb al
fld st(1)
fstp qword [esp + 0x40]
fld qword [0x52b3e8]
fucompi st(2)
mov dword [esp + 0x50], eax
jbe 0x4e82d0
fnstcw word [esp + 0x8a]
fld st(1)
movzx eax, word [esp + 0x8a]
mov ah, 0xc
mov word [esp + 0x88], ax
mov eax, dword [esp + 0x68]
fldcw word [esp + 0x88]
fistp dword [esp + 0x8c]
fldcw word [esp + 0x8a]
mov esi, dword [esp + 0x8c]
cmp eax, 1
mov dword [esp + 0x8c], esi
fild dword [esp + 0x8c]
fsub st(2), st(0)
fxch st(2)
fst qword [esp + 0x40]
je 0x4e8517
cmp eax, 2
jne 0x4e83dc
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x50]
fstp qword [esp + 0x30]
test ecx, ecx
jne 0x4e8240
fldz
fld qword [esp + 0x40]
fucompi st(1)
fstp st(0)
ja 0x4e821e
jmp 0x4e8240
fstp st(0)
add esi, 1
mov eax, 0x30
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], esi
fild dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
fstp qword [esp + 0x30]
mov dword [esp + 0x54], 0
jmp 0x4e7ad1
fucompi st(1)
jbe 0x4e7c10
fsubr dword [0x52b3dc]
fld qword [esp + 0x40]
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x4e7c12
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x20]
or dword [esp + 0xa4], eax
jmp 0x4e7eb6
mov ebp, dword [esp + 0x2c]
mov ebx, ebp
sub ebx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004e90d0
sub dword [esp + 0xac], ebx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xb4], eax
jmp 0x4e7af7
neg eax
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004e95d0
jmp 0x4e7b3a
fstp st(0)
fstp st(0)
fld qword [esp + 0x40]
xor esi, esi
fstp qword [esp + 0x30]
jmp 0x4e8240
fld1
xor esi, esi
fst qword [esp + 0x30]
mov dword [esp + 0x5c], 0x20
fstp qword [esp + 0x40]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
jmp 0x4e7ad1
mov dword [esp + 4], 1
xor esi, esi
mov dword [esp], eax
call fcn.004e95d0
add dword [esp + 0xac], 1
add dword [esp + 0x6c], 1
jmp 0x4e7ba8
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xa4], 0xa3
mov dword [eax + 0x10], 0
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 8]
add eax, 1
jmp 0x4e7360
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 4], eax
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.004e9b70
mov ecx, dword [esp + 0xb4]
cmp eax, 6
mov dword [esp + 0xa4], eax
jne 0x4e7023
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x3c], 0
mov dword [esp + 0xb0], eax
jmp 0x4e7023
fucompi st(1)
fstp st(0)
jae 0x4e821c
fstp qword [esp + 0x30]
jmp 0x4e8240
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x2c]
sub ebx, eax
cmp ebx, 0
jne 0x4e85ba
mov eax, dword [esp + 0xac]
mov dword [esp + 0x38], 0
jmp 0x4e7ec9
je 0x4e74fb
neg eax
mov edx, eax
and edx, 0xf
je 0x4e843d
fld qword [esp + 0xb8]
fdiv qword [edx*8 + 0x52b420]
fstp qword [esp + 0xb8]
and eax, 0xfffffff0
je 0x4e74fb
sar eax, 4
cmp eax, 0xf
mov edx, eax
jle 0x4e8a0d
mov esi, eax
xor eax, eax
fld qword [0x52b500]
mov dword [esp + 0x28], edi
mov edi, eax
mov ecx, dword [esp + 0xbc]
sub esi, 0x10
mov eax, ecx
and ecx, 0x800fffff
or ecx, 0x3ff00000
and eax, 0x7ff00000
mov dword [esp + 0xbc], ecx
shr eax, 0x14
cmp esi, 0xf
fld qword [esp + 0xb8]
lea edi, [edi + eax - 0x3ff]
fmul st(1)
fstp qword [esp + 0xb8]
jg 0x4e8464
fstp st(0)
mov esi, edi
mov edi, dword [esp + 0x28]
and edx, 0xf
mov ecx, dword [esp + 0xbc]
mov eax, ecx
and eax, 0x7ff00000
shr eax, 0x14
lea esi, [esi + eax - 0x3ff]
mov eax, ecx
and eax, 0x800fffff
or eax, 0x3ff00000
mov dword [esp + 0xbc], eax
xor eax, eax
test edx, edx
fld qword [esp + 0xb8]
jle 0x4e7504
nop
test dl, 1
je 0x4e84fc
fmul qword [eax*8 + 0x52b4e0]
sar edx, 1
add eax, 1
test edx, edx
jg 0x4e84f0
jmp 0x4e78d2
mov dword [esp + 0x40], 0
jmp 0x4e78e6
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x50]
fstp qword [esp + 0x30]
test ebx, ebx
je 0x4e8240
fldz
fld qword [esp + 0x40]
fucompi st(1)
fstp st(0)
ja 0x4e821e
jmp 0x4e8240
mov dword [esp + 0x38], 0
jmp 0x4e7a25
lea eax, [esp + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
jmp 0x4e76b9
mov ecx, dword [esp + 0x24]
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x48], 0
jmp 0x4e716a
mov ecx, dword [esp + 0x58]
mov edx, 0x25
sub edx, edi
cmp ecx, edx
mov eax, ecx
jg 0x4e74c7
mov eax, 0xf
fld qword [esp + 0xb8]
sub eax, edi
fmul qword [eax*8 + 0x52b420]
sub ecx, eax
fmul qword [ecx*8 + 0x52b420]
jmp 0x4e79a7
jle 0x4e8910
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004e90d0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x38], 0
sub eax, ebx
mov dword [esp + 0xac], eax
jmp 0x4e7ec9
xor edi, edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 1
jmp 0x4e718d
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x40]
cmp esi, 8
lea edi, [esi + 1]
jg 0x4e8933
lea eax, [ebp + ebp*4]
xor esi, esi
lea ebp, [ecx + eax*2]
mov ecx, dword [esp + 0x30]
mov eax, ecx
add eax, 1
mov dword [esp + 0xb0], eax
movsx edx, byte [ecx + 1]
jmp 0x4e7789
lea ebx, [esp + 0xb0]
mov dword [esp + 4], 0x52b2a0
mov dword [esp], ebx
call fcn.004e98b0
test eax, eax
je 0x4e73c0
mov dword [esp + 4], str.inity
mov dword [esp], ebx
sub dword [esp + 0xb0], 1
call fcn.004e98b0
test eax, eax
jne 0x4e8687
add dword [esp + 0xb0], 1
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xa4], 3
mov dword [esp + 0x38], 0
mov eax, dword [eax + 8]
add eax, 1
jmp 0x4e7360
cmp ebx, 1
mov ebp, dword [esp + 0x20]
sbb eax, eax
and eax, 0x10
add eax, 0x11
mov dword [esp + 0xa4], eax
jmp 0x4e7eb6
cmp ebx, 1
sbb eax, eax
and eax, 0x10
add eax, 0x11
test ebx, ebx
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xa4], eax
jne 0x4e7eb6
cmp dword [esp + 0x30], 1
jg 0x4e7eb6
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4e7eb6
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x6c], eax
je 0x4e7eb6
mov dword [esp], edi
mov dword [esp + 4], 1
call fcn.004e90d0
mov edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004e91e0
test eax, eax
jle 0x4e83ef
mov dword [esp + 0xa4], 0x11
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x2c]
sub dword [esp + 0xac], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.004e6f10
mov dword [esp + 0xb4], eax
jmp 0x4e7eb6
mov eax, dword [esp + 0xbc]
or eax, 0x100000
tzcnt ecx, eax
mov eax, 0x15
sub eax, ecx
jmp 0x4e767e
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jne 0x4e833c
jmp 0x4e7f45
test ebx, ebx
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x20]
je 0x4e88ac
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4e897f
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0xb4]
mov edx, ecx
lea eax, [esi + 0x14]
sar edx, 5
lea edx, [eax + edx*4]
cmp eax, edx
jae 0x4e8802
cmp dword [esi + 0x14], 0xffffffff
lea eax, [esi + 0x18]
je 0x4e87fd
jmp 0x4e897f
add eax, 4
cmp dword [eax - 4], 0xffffffff
jne 0x4e897f
cmp edx, eax
nop
ja 0x4e87f0
and ecx, 0x1f
je 0x4e8817
or edx, 0xffffffff
shl edx, cl
or edx, dword [eax]
add edx, 1
jne 0x4e897f
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 1
mov dword [esp + 0xa8], 1
lea eax, [eax + ebx - 1]
mov dword [esp + 0xac], eax
mov eax, 1
mov dword [esp + 0xa4], 0x21
jmp 0x4e83f6
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e833c
jmp 0x4e7f45
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4e7e86
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0xb4]
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], 0x50
mov dword [esp + 0xac], eax
jmp 0x4e7eb6
mov edi, 1
jmp 0x4e7769
cmp dword [esp + 0x30], 1
je 0x4e8996
mov dword [esp + 0xa4], 0x21
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4e88d8
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x2c], eax
jg 0x4e83ef
mov eax, dword [esp + 0xb4]
mov edx, dword [eax + 0x14]
test dl, 1
je 0x4e7eb6
test ebx, ebx
jne 0x4e8a1b
cmp dword [esp + 0x30], 1
je 0x4e8880
sub edx, 1
mov dword [eax + 0x14], edx
mov dword [esp + 0xa4], 0x11
jmp 0x4e7eb6
mov eax, ebx
neg eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.004e95d0
jmp 0x4e85da
xor esi, esi
jmp 0x4e787f
xor esi, esi
cmp edi, 0x10
jg 0x4e862b
mov eax, dword [esp + 0x48]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
mov dword [esp + 0x48], eax
jmp 0x4e862b
cmp ecx, 0xffffffff
jl 0x4e760b
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xa8], 1
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], 1
jmp 0x4e75e3
mov dword [esp + 0xa4], 0x11
jmp 0x4e88c2
xor esi, esi
jmp 0x4e7929
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x6c], eax
jne 0x4e8a61
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xa4], 0x21
cmp dword [eax + 0x10], 1
jne 0x4e7eb6
cmp dword [eax + 0x14], 1
mov eax, dword [esp + 0x30]
cmovne eax, dword [esp + 0x78]
mov dword [esp + 0x78], eax
jmp 0x4e7eb6
mov eax, dword [esp + 0xf0]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 4], eax
call fcn.004ea4c0
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 8]
add eax, 1
jmp 0x4e7360
xor esi, esi
jmp 0x4e84b2
mov esi, edi
jmp 0x4e8616
mov dword [esp], eax
call fcn.004e6b20
mov ecx, dword [esp + 0xa8]
mov edx, dword [eax + 0x10]
mov dword [esp + 0xb4], eax
bsr eax, dword [eax + edx*4 + 0x10]
mov edx, ecx
neg edx
and edx, 0x1f
xor eax, 0x1f
cmp edx, eax
je 0x4e8a51
add ecx, 1
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa4], 0x21
jmp 0x4e7eb6
mov dword [esp + 0xa4], 1
jmp 0x4e874b