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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
call sub.msvcrt.dll_localeconv
mov esi, dword [eax]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xf8]
fldz
mov dword [esp + 0xb4], 0
mov dword [esp + 0xc4], 0
fstp qword [esp + 0xc8]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xc0], eax
movzx edx, byte [eax]
cmp dl, 0x2d
ja case.0x4a0e36.1
movzx ecx, dl
jmp dword [ecx*4 + 0x64edac]
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0xb4], 6
mov eax, 6
test ecx, ecx
je 0x4a0e72
mov eax, dword [esp + 0xf4]
mov edi, dword [esp + 0xf0]
mov dword [eax], edi
mov eax, dword [esp + 0xb4]
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x60], 0
lea edi, [eax + 1]
mov dword [esp + 0xc0], edi
movzx edx, byte [eax + 1]
mov dword [esp + 0x30], edi
test dl, dl
je case.0x4a0e36.0
cmp dl, 0x30
mov dword [esp + 0x38], 0
je 0x4a0f6d
mov eax, dword [esp + 0xf8]
movsx ecx, dl
mov eax, dword [eax + 0x10]
mov dword [esp + 0x78], eax
lea eax, [ecx - 0x30]
cmp eax, 9
mov eax, dword [esp + 0x30]
ja 0x4a16e1
lea edi, [eax + 1]
mov dword [esp + 0x20], 0
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x40], esi
jmp 0x4a0f0d
lea eax, [ebp + ebp*4]
lea ebp, [ecx + eax*2 - 0x30]
mov dword [esp + 0xc0], edi
movsx ecx, byte [edi]
add ebx, 1
mov eax, edi
lea edi, [edi + 1]
lea esi, [ecx - 0x30]
mov edx, ecx
cmp esi, 9
ja 0x4a0fd0
cmp ebx, 8
jle 0x4a0ee5
cmp ebx, 0xf
jg 0x4a0eed
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2 - 0x30]
mov dword [esp + 0x20], eax
jmp 0x4a0eed
add eax, 1
mov dword [esp + 0xc0], eax
movzx edx, byte [eax]
cmp dl, 0x2d
jbe 0x4a0e33
lea esi, [esi]
lea edi, [edi]
cmp dl, 0x30
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x38], 0
jne 0x4a0eaf
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + 1]
cmp al, 0x58
je 0x4a1660
cmp al, 0x78
je 0x4a1660
mov eax, dword [esp + 0x30]
add eax, 1
lea esi, [esi]
mov ecx, eax
mov dword [esp + 0xc0], eax
lea eax, [eax + 1]
movzx edx, byte [eax - 1]
cmp dl, 0x30
je 0x4a0f90
test dl, dl
mov dword [esp + 0x30], ecx
je 0x4a12d5
mov dword [esp + 0x38], 1
jmp 0x4a0eaf
mov dword [esp + 0x60], 1
jmp 0x4a0e88
mov esi, dword [esp + 0x40]
mov dword [esp + 0x48], ebp
cmp byte [esi], dl
je 0x4a1450
mov ebp, ebx
xor edi, edi
mov dword [esp + 0x40], 0
xor esi, esi
mov eax, ecx
and eax, 0xffffffdf
cmp eax, 0x45
je 0x4a10e0
xor eax, eax
test ebp, ebp
jne 0x4a12e1
mov eax, dword [esp + 0x38]
or eax, edi
jne 0x4a12d5
test esi, esi
jne 0x4a1211
cmp ecx, 0x4e
je 0x4a1037
jle 0x4a1208
cmp ecx, 0x69
je 0x4a24b0
cmp ecx, 0x6e
jne 0x4a1211
lea ebx, [esp + 0xc0]
mov dword [esp + 4], 0x64eda9
mov dword [esp], ebx
call fcn.004a95a0
test eax, eax
je 0x4a1211
mov eax, dword [esp + 0xf8]
mov edi, dword [esp + 0xfc]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xb4], 4
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
add eax, 1
mov dword [edi], eax
cmp byte [edx], 0x28
mov eax, dword [esp + 0xc4]
jne 0x4a1231
mov eax, dword [esp + 0x100]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 4], eax
call fcn.004a8490
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xf8]
mov edi, dword [esp + 0xfc]
mov eax, dword [eax + 8]
add eax, 1
mov dword [edi], eax
mov eax, dword [esp + 0xc4]
jmp 0x4a1231
mov eax, ebp
or eax, edi
or eax, dword [esp + 0x38]
je 0x4a1211
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf0], eax
add eax, 1
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xf0]
movsx ecx, byte [eax + 1]
cmp cl, 0x2b
je 0x4a23a2
cmp cl, 0x2d
je 0x4a1830
mov dword [esp + 0x4c], 0
lea eax, [ecx - 0x30]
cmp eax, 9
ja 0x4a18b0
cmp ecx, 0x30
jne 0x4a1162
mov eax, dword [esp + 0xc0]
add eax, 1
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 0xc0], eax
movsx ecx, byte [eax]
add eax, 1
cmp ecx, 0x30
je 0x4a1150
lea edx, [ecx - 0x31]
xor eax, eax
cmp edx, 8
ja 0x4a0ffe
lea eax, [ecx - 0x30]
mov ecx, dword [esp + 0xc0]
lea edx, [ecx + 1]
mov dword [esp + 0x54], ecx
mov dword [esp + 0xc0], edx
movsx ecx, byte [ecx + 1]
mov dword [esp + 0x50], edx
lea edx, [ecx - 0x30]
cmp edx, 9
ja 0x4a11db
mov edx, dword [esp + 0x54]
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], edi
add edx, 2
mov esi, esi
lea edi, [edi]
lea eax, [eax + eax*4]
mov dword [esp + 0xc0], edx
mov edi, edx
add edx, 1
lea eax, [ecx + eax*2 - 0x30]
movsx ecx, byte [edx - 1]
lea esi, [ecx - 0x30]
cmp esi, 9
jbe 0x4a11b0
mov dword [esp + 0x50], edi
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x54]
cmp edx, 8
jg 0x4a27ea
cmp eax, 0x4e1f
jg 0x4a27ea
mov edx, eax
neg edx
cmp dword [esp + 0x4c], 0
cmovne eax, edx
jmp 0x4a0ffe
cmp ecx, 0x49
je 0x4a24b0
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xb4], 6
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xf4]
test ecx, ecx
je 0x4a124c
mov edx, dword [esp + 0xc0]
mov edi, dword [esp + 0xf4]
mov dword [edi], edx
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4a125c
or dword [esp + 0xb4], 8
test eax, eax
je 0x4a0e6b
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.004a95f0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.004a8a20
jmp 0x4a0e6b
mov eax, dword [esp + 0xfc]
mov edi, dword [esp + 0x64]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [eax], edi
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4a1635
mov ecx, 0x50
nop
or ecx, 0x40
mov dword [esp + 0xb4], ecx
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov eax, dword [esp + 0xc4]
jmp 0x4a1231
sub eax, dword [esp + 0x40]
mov esi, dword [esp + 0x60]
mov dword [esp + 0xb4], 1
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xf8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
and eax, 3
mov edi, eax
sub edi, esi
cmp eax, 2
mov dword [esp + 0x6c], edi
je 0x4a132e
lea edi, [esi + 1]
cmp eax, 3
mov dword [esp + 0x6c], edi
je 0x4a132e
test eax, eax
sete al
movzx eax, al
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x48]
test ebx, ebx
mov dword [esp + 0x3c], 0
cmove ebx, ebp
mov edi, 0x10
cmp ebp, 0x10
cmovle edi, ebp
cmp ebp, 9
mov dword [esp + 0x38], eax
fild qword [esp + 0x38]
fst qword [esp + 0xc8]
jle 0x4a1384
fmul qword [edi*8 + 0x64f118]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
fild qword [esp + 0x20]
faddp st(1)
fstp qword [esp + 0xc8]
jmp 0x4a1386
fstp st(0)
cmp dword [esp + 0x2c], 0x35
jg 0x4a14f0
cmp ebp, 0xf
jg 0x4a14f0
cmp dword [esp + 0x70], 0
je 0x4a1886
jle 0x4a2435
mov eax, dword [esp + 0x70]
cmp eax, 0x16
jg 0x4a247b
mov edx, dword [esp + 0xc8]
mov eax, dword [eax*4 + 0x64ee80]
test edx, edx
je 0x4a26d4
xor ecx, ecx
tzcnt ecx, edx
mov edx, 0x35
sub edx, ecx
mov esi, dword [esp + 0x70]
fld qword [esp + 0xc8]
add eax, edx
cmp eax, 0x35
lea ecx, [esp + 0xb4]
setle al
fmul qword [esi*8 + 0x64f160]
mov esi, dword [esp + 0x6c]
movzx eax, al
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
fstp qword [esp + 0xc8]
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xf8]
mov dword [esp], eax
lea eax, [esp + 0xc8]
call fcn.004a0930
test eax, eax
jne 0x4a12d5
xor eax, eax
jmp 0x4a14f4
movzx edx, byte [esi + 1]
test dl, dl
je 0x4a2503
cmp dl, byte [eax + 1]
jne 0x4a0fe0
add eax, 2
add esi, 2
jmp 0x4a147e
add eax, 1
add esi, 1
cmp byte [edi], dl
jne 0x4a0fe0
movzx edx, byte [esi]
mov edi, eax
test dl, dl
jne 0x4a1470
mov edx, eax
test ebx, ebx
mov dword [esp + 0xc0], edx
movsx ecx, byte [edx]
je 0x4a17e0
lea esi, [ecx - 0x30]
xor edi, edi
mov ebp, ebx
mov dword [esp + 0x40], 0
cmp esi, 9
ja 0x4a181c
test esi, esi
lea eax, [edi + 1]
mov dword [esp + 0x4c], esi
mov ecx, dword [esp + 0xc0]
jne 0x4a26f1
mov edi, eax
lea eax, [ecx + 1]
mov dword [esp + 0xc0], eax
movsx ecx, byte [ecx + 1]
lea esi, [ecx - 0x30]
cmp esi, 9
jbe 0x4a14b3
jmp 0x4a181c
mov eax, dword [esp + 0x70]
mov esi, ebp
sub esi, edi
add esi, eax
cmp esi, 0
jle 0x4a18c5
mov eax, esi
and eax, 0xf
je 0x4a151f
fld qword [esp + 0xc8]
fmul qword [eax*8 + 0x64f160]
fstp qword [esp + 0xc8]
and esi, 0xfffffff0
jne 0x4a1700
fld qword [esp + 0xc8]
jmp 0x4a1533
fstp st(0)
lea eax, [esp + 0xb8]
fstp qword [esp]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xbc]
mov dword [esp + 8], eax
call fcn.004a92d0
mov edx, dword [esp + 0xb8]
add esi, dword [esp + 0xbc]
mov dword [esp + 0xc4], eax
mov edi, edx
sub edi, dword [esp + 0x2c]
mov dword [esp + 0xbc], esi
test edi, edi
jle 0x4a159e
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004a82c0
add edi, dword [esp + 0xbc]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xb8], edx
mov esi, edi
mov dword [esp + 0xbc], edi
lea eax, [edx + esi]
sub eax, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xf8]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
add eax, 1
cmp eax, edi
jl 0x4a19c0
mov eax, dword [esp + 0xf8]
mov eax, dword [eax + 4]
cmp edi, eax
mov dword [esp + 0x64], eax
jge 0x4a2413
sub esi, eax
cmp esi, 0
jg 0x4a1860
jne 0x4a250b
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x64]
test eax, eax
mov dword [esp + 0xbc], edi
je 0x4a1a50
mov eax, dword [esp + 0x88]
add eax, 1
cmp eax, edi
jge 0x4a1a50
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xfc]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [eax], edi
mov dword [ecx + 0x10], 0
mov dword [esp + 0xb4], 0x50
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov eax, dword [esp + 0xc4]
jmp 0x4a1231
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 4], eax
lea eax, [esp + 0xc0]
mov dword [esp], eax
call fcn.004a78b0
cmp eax, 6
mov dword [esp + 0xb4], eax
jne 0x4a12d5
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
test edx, edx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc4]
je 0x4a125c
mov edi, dword [esp + 0xf4]
mov ebx, dword [esp + 0xf0]
mov dword [edi], ebx
jmp 0x4a125c
mov dword [esp + 0x20], 0
mov dword [esp + 0x48], 0
xor ebx, ebx
jmp 0x4a0fd8
mov eax, esi
sar eax, 4
cmp eax, 0xf
jle 0x4a27f4
lea edi, [eax - 0x10]
fld qword [0x64f280]
xor esi, esi
mov dword [esp + 0x20], edi
and edi, 0xf
mov edx, dword [esp + 0xcc]
sub eax, 0x10
mov ecx, edx
and edx, 0x800fffff
or edx, 0x3ff00000
shr ecx, 0x14
mov dword [esp + 0xcc], edx
and ecx, 0x7ff
cmp edi, eax
fld qword [esp + 0xc8]
lea ecx, [esi + ecx - 0x3ff]
fmul st(1)
mov esi, ecx
fstp qword [esp + 0xc8]
jne 0x4a1720
fstp st(0)
mov eax, dword [esp + 0x20]
and eax, 0xf
mov edi, dword [esp + 0xcc]
mov edx, edi
and edi, 0x800fffff
shr edx, 0x14
or edi, 0x3ff00000
and edx, 0x7ff
mov dword [esp + 0xcc], edi
test eax, eax
lea esi, [ecx + edx - 0x3ff]
fld qword [esp + 0xc8]
je 0x4a1533
fld st(0)
xor ecx, ecx
xor edx, edx
nop
test al, 1
je 0x4a17c0
fmul qword [edx*8 + 0x64f260]
mov ecx, 1
add edx, 1
sar eax, 1
jne 0x4a17b0
test cl, cl
je 0x4a1531
fstp st(1)
fst qword [esp + 0xc8]
jmp 0x4a1533
cmp ecx, 0x30
jne 0x4a27fb
lea eax, [edx + 1]
lea esi, [esi]
mov dword [esp + 0xc0], eax
movsx ecx, byte [eax]
mov edi, eax
sub edi, edx
add eax, 1
cmp ecx, 0x30
je 0x4a17f0
lea eax, [ecx - 0x31]
cmp eax, 8
jbe 0x4a2760
mov dword [esp + 0x40], 0
xor ebp, ebp
mov esi, 1
jmp 0x4a0fee
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0xf0]
add eax, 2
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xf0]
movsx ecx, byte [eax + 2]
jmp 0x4a112b
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004a8e90
add dword [esp + 0xb8], esi
mov dword [esp + 0xc4], eax
jmp 0x4a15ee
lea eax, [esp + 0xb4]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
jmp 0x4a1416
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xc0], eax
xor eax, eax
jmp 0x4a0ffe
je 0x4a1528
neg esi
mov eax, esi
and eax, 0xf
je 0x4a18e9
fld qword [esp + 0xc8]
fdiv qword [eax*8 + 0x64f160]
fstp qword [esp + 0xc8]
and esi, 0xfffffff0
je 0x4a1528
mov eax, esi
sar eax, 4
cmp eax, 0xf
jle 0x4a28f3
lea edi, [eax - 0x10]
fld qword [0x64f240]
xor esi, esi
mov dword [esp + 0x20], edi
and edi, 0xf
mov edx, dword [esp + 0xcc]
sub eax, 0x10
mov ecx, edx
and edx, 0x800fffff
or edx, 0x3ff00000
shr ecx, 0x14
mov dword [esp + 0xcc], edx
and ecx, 0x7ff
cmp edi, eax
fld qword [esp + 0xc8]
lea ecx, [esi + ecx - 0x3ff]
fmul st(1)
mov esi, ecx
fstp qword [esp + 0xc8]
jne 0x4a1912
fstp st(0)
mov eax, dword [esp + 0x20]
and eax, 0xf
mov edi, dword [esp + 0xcc]
mov edx, edi
and edi, 0x800fffff
shr edx, 0x14
or edi, 0x3ff00000
and edx, 0x7ff
mov dword [esp + 0xcc], edi
test eax, eax
lea esi, [ecx + edx - 0x3ff]
fld qword [esp + 0xc8]
jle 0x4a1533
fld st(0)
xor ecx, ecx
xor edx, edx
test al, 1
je 0x4a19b1
fmul qword [edx*8 + 0x64f220]
mov ecx, 1
add edx, 1
sar eax, 1
jne 0x4a19a1
jmp 0x4a17c7
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xb4], 0xa3
mov dword [eax + 0x10], 0
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov eax, dword [esp + 0xf8]
mov edi, dword [esp + 0xfc]
mov eax, dword [eax + 8]
add eax, 1
mov dword [edi], eax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0xc4]
test edi, edi
je 0x4a1231
mov esi, dword [esp + 0x78]
mov ecx, eax
test esi, esi
jne 0x4a1635
mov edx, dword [esp + 0xb4]
mov ebx, dword [eax + 0x10]
mov ecx, edx
and edx, 0x30
and ecx, 0xfffffff8
test ebx, ebx
jle 0x4a1a3c
or ecx, 2
test edx, edx
jne 0x4a12c0
mov dword [esp + 0xb4], ecx
jmp 0x4a1231
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], 1
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004a9400
mov edi, dword [esp + 0x70]
mov ebx, eax
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x34], 0
mov edx, edi
neg edx
test edi, edi
cmovns edx, eax
cmovns eax, edi
mov dword [esp + 0x68], eax
lea eax, [ebx + 0xc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
lea edi, [eax + 1]
and eax, 0x1f
mov dword [esp + 0x8c], eax
mov dword [esp + 0x7c], edi
jmp 0x4a1bd6
call fcn.004a8ff0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc4], eax
test ecx, ecx
jne 0x4a1b30
mov edx, dword [ebx + 0x10]
lea ecx, [edx - 1]
cmp dword [eax + 0x10], ecx
jle 0x4a1b09
add edx, 3
bsr ecx, dword [eax + edx*4 + 4]
bsr edx, dword [ebx + edx*4 + 4]
xor ecx, 0x1f
xor edx, 0x1f
cmp edx, ecx
jge 0x4a1b30
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x88], ecx
jne 0x4a1f82
mov eax, dword [esp + 0x4c]
sub dword [esp + 0xb8], 1
mov dword [esp + 0x38], eax
lea esi, [esi]
mov dword [esp], esi
call fcn.004a8a20
mov dword [esp], ebx
call fcn.004a8a20
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4a2094
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0x54]
jne 0x4a1ba2
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4a1ba2
fld qword [esp + 0x40]
fmul qword [0x64eef0]
fld qword [esp + 0x58]
fld st(0)
fsub dword [0x64eee4]
fld st(2)
fchs
fucompi st(1)
jbe 0x4a2280
fstp st(0)
fucompi st(1)
fstp st(0)
ja 0x4a22a0
jmp 0x4a1ba2
fstp st(0)
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a1fb9
mov dword [esp], edi
call fcn.004a8a20
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004a8a20
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004a8a20
mov dword [esp], ebp
call fcn.004a8a20
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 4]
mov dword [esp], eax
call fcn.004a8950
mov edx, dword [edi + 0x10]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x30], eax
add eax, 0xc
mov dword [esp], eax
lea edx, [edx*4 + 8]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004a8950
mov edi, eax
mov eax, dword [esp + 0xc4]
lea edx, [edi + 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 eax, dword [esp + 0x34]
mov esi, dword [esp + 0xb8]
mov dword [esp], 1
sub esi, eax
add eax, dword [esp + 0xbc]
mov dword [esp + 0x40], esi
mov ebx, eax
call fcn.004a8b80
test ebx, ebx
mov dword [esp + 0x20], eax
js 0x4a1f73
mov eax, dword [esp + 0x48]
lea esi, [eax + ebx]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x64]
add ebx, ecx
sub ebx, dword [esp + 0x2c]
sub edx, ecx
mov ecx, ebx
sub ecx, ebp
add ecx, edx
cmp ebp, ebx
cmovg edx, ecx
lea ebx, [esi + edx]
lea ebp, [eax + edx]
cmp ebx, ebp
mov eax, ebp
cmovle eax, ebx
cmp esi, eax
cmovle eax, esi
test eax, eax
jle 0x4a1cc0
sub ebx, eax
sub ebp, eax
sub esi, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4a1cfa
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004a8d10
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 0x20], eax
call fcn.004a8bb0
mov dword [esp], edi
mov dword [esp + 0x4c], eax
call fcn.004a8a20
mov eax, dword [esp + 0x4c]
mov edi, eax
sub ebx, dword [esp + 0x34]
cmp ebx, 0
jg 0x4a1f60
jne 0x4a2380
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x4a1d2d
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004a8d10
mov dword [esp + 0x30], eax
test ebp, ebp
jle 0x4a1d45
mov eax, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.004a8e90
mov dword [esp + 0x30], eax
test esi, esi
jle 0x4a1d5d
mov eax, dword [esp + 0x20]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004a8e90
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004a8ff0
cmp dword [eax + 0x10], 1
mov ebp, eax
jg 0x4a1d80
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x4a2094
mov eax, dword [esp + 0x20]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0xc], 0
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004a8fa0
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x4a1ee0
test eax, eax
jg 0x4a1ee0
mov eax, esi
and eax, 1
mov esi, eax
xor esi, ebx
cmp eax, ebx
mov dword [esp + 0x34], esi
je 0x4a254a
test ebx, ebx
je 0x4a1fe0
fld1
mov dword [esp + 0xb4], 0x21
mov dword [esp + 0x50], 0
mov dword [esp + 0x84], 0x20
mov dword [esp + 0x4c], 0
fst qword [esp + 0x40]
fstp qword [esp + 0x58]
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
add ebx, eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x54], ebx
jge 0x4a1e20
test byte [esp + 0x38], 1
je 0x4a22d0
lea eax, [esp + 0xb0]
fld qword [esp + 0x40]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xac]
fstp qword [esp]
mov dword [esp + 8], eax
call fcn.004a92d0
mov esi, eax
mov eax, dword [esp + 0xac]
test eax, eax
js 0x4a22b3
je 0x4a1e63
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004a8e90
mov esi, eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xc4]
mov dword [esp + 4], esi
test eax, eax
mov dword [esp], ebx
jne 0x4a1ad3
call fcn.004a2950
mov edx, dword [eax + 0x10]
mov dword [esp + 0xc4], eax
lea ecx, [edx - 1]
cmp dword [ebx + 0x10], ecx
jle 0x4a1eaf
add edx, 3
bsr ecx, dword [eax + edx*4 + 4]
bsr edx, dword [ebx + edx*4 + 4]
xor ecx, 0x1f
xor edx, 0x1f
cmp edx, ecx
jle 0x4a1b30
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4a2352
mov eax, dword [esp + 0xb8]
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0xb8], eax
setne al
movzx eax, al
mov dword [esp + 0x38], eax
jmp 0x4a1b30
test eax, eax
js 0x4a2561
je 0x4a2609
mov eax, dword [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004a94e0
fld dword [0x64eee0]
fucompi st(1)
jb 0x4a21b0
fstp st(0)
test ebx, ebx
jne 0x4a2320
mov dword [esp + 0x34], 0
cmp dword [esp + 0x40], 1
jg 0x4a1f30
test byte [esp + 0x38], 1
jne 0x4a27a2
fld1
mov dword [esp + 0x50], 0
mov dword [esp + 0x84], 0x10
mov dword [esp + 0x4c], 1
fst qword [esp + 0x40]
fstp qword [esp + 0x58]
jmp 0x4a1dfb
mov dword [esp], edi
mov dword [esp + 4], ebx
call fcn.004a8e90
mov edi, eax
jmp 0x4a1d0d
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x48]
sub eax, ebx
jmp 0x4a1c85
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.004a8e90
mov dword [esp], esi
mov dword [esp + 0xc4], eax
sub dword [esp + 0xbc], 1
sub dword [esp + 0x88], 1
call fcn.004a8a20
mov dword [esp], ebx
call fcn.004a8a20
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.004a83d0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], eax
jmp 0x4a1bae
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x88], esi
mov dword [esp + 0xb4], 0x11
je 0x4a1f1e
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc4]
cmp edx, 0x1f
jle 0x4a2799
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4a1f1e
mov ecx, dword [esp + 0x8c]
mov esi, ecx
jmp 0x4a203b
cmp dword [eax + ebx*4 + 0x14], 0
jne 0x4a1f1e
sub edx, 0x20
add ebx, 1
cmp ecx, edx
jne 0x4a2030
cmp esi, 1
jle 0x4a2065
lea ebx, [eax + ebx*4 + 0x14]
xor ecx, ecx
sub esi, 1
mov edx, dword [ebx]
tzcnt ecx, edx
shr edx, cl
cmp esi, ecx
mov dword [ebx], edx
jg 0x4a1f1e
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x88]
mov dword [esp], eax
sub edx, 1
mov dword [esp + 4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], edx
call fcn.004a0d50
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a23b0
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0xfc]
mov dword [ebx], eax
mov dword [esp], edi
call fcn.004a8a20
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004a8a20
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004a8a20
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004a8a20
mov dword [esp], ebp
call fcn.004a8a20
mov eax, dword [esp + 0xf8]
mov edi, dword [esp + 0xbc]
cmp dword [eax + 8], edi
jge 0x4a1a02
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
and eax, 3
cmp eax, 2
je 0x4a26c3
cmp eax, 3
je 0x4a26b2
cmp eax, 1
je 0x4a19c8
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.004a8a20
mov eax, dword [esp + 0xf8]
mov edi, dword [esp + 0xfc]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xb4], 0x11
mov eax, dword [eax + 8]
mov dword [edi], eax
mov eax, dword [esp + 0xf8]
mov edi, dword [esp + 0x100]
mov ecx, dword [eax]
lea eax, [ecx + 0x1f]
sar eax, 5
lea edx, [edi + eax*4]
mov eax, edi
cmp edi, edx
jae 0x4a218e
mov esi, esi
lea edi, [edi]
add eax, 4
mov dword [eax - 4], 0xffffffff
cmp edx, eax
ja 0x4a2180
and ecx, 0x1f
je 0x4a1a02
mov eax, 0x20
sub eax, ecx
mov ecx, eax
shr dword [edx - 4], cl
jmp 0x4a1a02
fld dword [0x64eee4]
cmp ebx, 1
sbb eax, eax
and eax, 0x10
add eax, 0x10
fmul st(1), st(0)
fxch st(1)
mov dword [esp + 0x84], eax
xor eax, eax
cmp ebx, 1
setb al
mov dword [esp + 0x4c], eax
fst qword [esp + 0x58]
fld qword [0x64eee8]
fucompi st(1)
jbe 0x4a2305
fnstcw word [esp + 0x96]
movzx eax, word [esp + 0x96]
mov ah, 0xc
mov word [esp + 0x94], ax
mov eax, dword [esp + 0x6c]
fldcw word [esp + 0x94]
fist dword [esp + 0x50]
fldcw word [esp + 0x96]
cmp eax, 1
fild dword [esp + 0x50]
fst qword [esp + 0x40]
fsubp st(1)
fst qword [esp + 0x58]
je 0x4a2420
cmp eax, 2
jne 0x4a2393
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x4a2271
fldz
fld qword [esp + 0x58]
fucompi st(1)
fstp st(0)
jbe 0x4a2271
add dword [esp + 0x50], 1
mov eax, 0x30
sub eax, dword [esp + 0x84]
fild dword [esp + 0x50]
mov dword [esp + 0x84], eax
fstp qword [esp + 0x40]
mov dword [esp + 0x34], 0
jmp 0x4a1dfb
fstp st(1)
fucompi st(1)
jbe 0x4a1ba0
fsubr dword [0x64eedc]
fld qword [esp + 0x58]
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x4a1ba2
mov eax, dword [esp + 0x84]
or dword [esp + 0xb4], eax
jmp 0x4a2094
neg eax
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004a82c0
jmp 0x4a1e63
mov esi, dword [esp + 0x2c]
mov ebx, esi
sub ebx, eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004a8e90
sub dword [esp + 0xbc], ebx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xb8], esi
jmp 0x4a1e20
fstp st(0)
fstp st(0)
fld qword [esp + 0x58]
mov dword [esp + 0x50], 0
fstp qword [esp + 0x40]
jmp 0x4a2271
fld1
mov dword [esp + 0x50], 0
mov dword [esp + 0x84], 0x20
mov dword [esp + 0x34], 0
mov dword [esp + 0x4c], 0
fst qword [esp + 0x40]
fstp qword [esp + 0x58]
jmp 0x4a1dfb
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.004a82c0
add dword [esp + 0xbc], 1
add dword [esp + 0x88], 1
mov dword [esp + 0x50], 0
jmp 0x4a1b30
neg ebx
mov dword [esp], edi
mov dword [esp + 4], ebx
call fcn.004a82c0
jmp 0x4a1d0d
fucompi st(1)
fstp st(0)
jae 0x4a2251
jmp 0x4a2271
mov dword [esp + 0x4c], 0
jmp 0x4a1838
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x38]
cmp eax, 0
mov dword [esp + 0x38], eax
je 0x4a20a0
mov eax, dword [esp + 0xc4]
jle 0x4a27d3
mov ebx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004a8e90
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0xbc], eax
jmp 0x4a20a7
mov dword [esp + 0x38], 0
jmp 0x4a1a63
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a2271
jmp 0x4a2245
mov esi, dword [esp + 0x70]
cmp esi, 0xffffffea
mov eax, esi
jl 0x4a14f4
fld qword [esp + 0xc8]
neg eax
fdiv qword [eax*8 + 0x64f160]
lea eax, [esp + 0xb4]
fstp qword [esp + 0xc8]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
jmp 0x4a1416
mov esi, dword [esp + 0x70]
mov edx, 0x25
sub edx, ebp
cmp edx, esi
mov eax, esi
jl 0x4a14f4
mov eax, 0xf
fld qword [esp + 0xc8]
sub eax, ebp
fmul qword [eax*8 + 0x64f160]
sub esi, eax
fmul qword [esi*8 + 0x64f160]
jmp 0x4a2454
lea ebx, [esp + 0xc0]
mov dword [esp + 4], 0x64eda0
mov dword [esp], ebx
call fcn.004a95a0
test eax, eax
je 0x4a1211
mov dword [esp + 4], str.inity
mov dword [esp], ebx
sub dword [esp + 0xc0], 1
call fcn.004a95a0
test eax, eax
jne 0x4a24f3
add dword [esp + 0xc0], 1
mov dword [esp + 0xb4], 3
jmp 0x4a10b7
lea edx, [eax + 1]
jmp 0x4a1489
add edx, esi
mov ecx, dword [esp + 0xc4]
test edx, edx
mov dword [esp + 0xb8], edx
jg 0x4a2802
cmp edx, 0xffffffff
jl 0x4a1293
mov dword [esp + 0xb8], 1
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 1
jmp 0x4a15ee
cmp eax, 1
sbb eax, eax
and eax, 0x10
add eax, 0x11
mov dword [esp + 0xb4], eax
jmp 0x4a2094
test ebx, ebx
jne 0x4a2888
cmp dword [esp + 0x40], 1
mov dword [esp + 0xb4], 0x21
jg 0x4a2094
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x88], ebx
je 0x4a2094
test byte [esp + 0x38], 1
jne 0x4a2094
mov dword [esp], ebp
mov dword [esp + 4], 1
call fcn.004a8e90
mov ebp, eax
mov eax, dword [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004a8fa0
test eax, eax
jle 0x4a23b0
mov dword [esp + 0xb4], 0x11
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x2c]
sub dword [esp + 0xbc], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.004a0d50
mov dword [esp + 0xc4], eax
jmp 0x4a2094
test ebx, ebx
je 0x4a2815
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a2898
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp + 0xc4]
mov eax, ecx
lea edx, [esi + 0x14]
sar eax, 5
lea eax, [edx + eax*4]
cmp edx, eax
jae 0x4a2661
cmp dword [esi + 0x14], 0xffffffff
lea edx, [esi + 0x18]
je 0x4a265d
jmp 0x4a2898
add edx, 4
cmp dword [edx - 4], 0xffffffff
jne 0x4a2898
cmp edx, eax
jb 0x4a2650
and ecx, 0x1f
je 0x4a2676
or eax, 0xffffffff
shl eax, cl
or eax, dword [edx]
add eax, 1
jne 0x4a2898
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x64]
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 1
mov dword [esp + 0xb8], 1
mov dword [esp + 0xb4], 0x21
lea eax, [eax + ebx - 1]
mov dword [esp + 0xbc], eax
jmp 0x4a23bb
mov ebp, dword [esp + 0x60]
test ebp, ebp
jne 0x4a19c8
jmp 0x4a2120
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4a19c8
jmp 0x4a2120
mov ecx, dword [esp + 0xcc]
mov edx, 0x15
or ecx, 0x100000
tzcnt ecx, ecx
sub edx, ecx
jmp 0x4a13db
add dword [esp + 0x40], eax
cmp eax, 1
mov eax, ebp
je 0x4a2940
lea ebp, [edi + ebp]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x20]
jmp 0x4a271c
lea edx, [edx + edx*4]
add eax, 1
add edx, edx
cmp ebp, eax
je 0x4a2730
cmp eax, 8
jle 0x4a2710
add eax, 1
cmp eax, 0x10
jg 0x4a2718
lea edi, [edi + edi*4]
add edi, edi
jmp 0x4a2718
mov eax, ebp
lea ebp, [ebp + 1]
mov dword [esp + 0x48], edx
mov dword [esp + 0x20], edi
cmp eax, 8
jle 0x4a2780
xor edi, edi
cmp ebp, 0x10
jg 0x4a14cb
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
mov dword [esp + 0x20], eax
jmp 0x4a14cb
mov eax, dword [esp + 0xc0]
lea esi, [ecx - 0x30]
add edi, 1
mov dword [esp + 0x40], edi
mov ebp, 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], eax
mov ecx, eax
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
lea eax, [eax + eax*4]
lea eax, [edi + eax*2]
xor edi, edi
mov dword [esp + 0x48], eax
jmp 0x4a14cb
mov esi, dword [esp + 0x2c]
jmp 0x4a2045
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x38], 1
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0xb4], 0x50
mov dword [esp + 0xbc], eax
jmp 0x4a2094
mov edx, dword [esp + 0x38]
mov dword [esp], eax
neg edx
mov dword [esp + 4], edx
call fcn.004a82c0
jmp 0x4a23f4
mov eax, 0x4e1f
jmp 0x4a11f7
xor ecx, ecx
jmp 0x4a176e
xor edi, edi
jmp 0x4a1806
neg esi
mov dword [esp], ecx
mov dword [esp + 4], esi
call fcn.004a82c0
jmp 0x4a15ee
cmp dword [esp + 0x40], 1
je 0x4a28a5
mov dword [esp + 0xb4], 0x21
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x2c], esi
jle 0x4a2840
test byte [esp + 0x38], 1
je 0x4a23b0
mov eax, dword [esp + 0xc4]
test byte [eax + 0x14], 1
je 0x4a2094
test ebx, ebx
jne 0x4a28fa
cmp dword [esp + 0x40], 1
je 0x4a27b1
lea edx, [eax + 0x14]
mov eax, dword [eax + 0x10]
lea ecx, [edx + eax*4]
jmp 0x4a287d
add edx, 4
mov dword [edx - 4], 0xffffffff
cmp ecx, edx
jbe 0x4a2888
mov eax, dword [edx]
test eax, eax
je 0x4a286f
sub eax, 1
mov dword [edx], eax
mov dword [esp + 0xb4], 0x11
jmp 0x4a2094
mov dword [esp + 0xb4], 0x11
jmp 0x4a282b
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x88], ebx
mov dword [esp + 0xb4], 1
jne 0x4a25d8
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xb4], 0x21
cmp dword [eax + 0x10], 1
jne 0x4a2094
cmp dword [eax + 0x14], 1
mov eax, dword [esp + 0x40]
cmovne eax, dword [esp + 0x78]
mov dword [esp + 0x78], eax
jmp 0x4a2094
xor ecx, ecx
jmp 0x4a1960
mov dword [esp], eax
call fcn.004a0890
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xc4], eax
bsr eax, dword [eax + ecx*4 + 0x10]
mov ecx, edx
neg ecx
and ecx, 0x1f
xor eax, 0x1f
cmp ecx, eax
je 0x4a2930
add edx, 1
mov dword [esp + 0xb8], edx
mov dword [esp + 0xb4], 0x21
jmp 0x4a2094
add ebp, 1
jmp 0x4a273d