Function at 0x466592
Capabilities:
Enumerate files on windows
Get disk size
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7bdf
mov eax, dword fs:[0]
push eax
mov eax, 0x1e154
call fcn.004c3960
mov eax, dword [0x540698]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1e110], ecx
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x1e0ec], edi
mov dword [ebp - 0x1e0f8], edi
call fcn.0045d807
mov dword [ebp - 0x1e124], ebx
mov dword [ebp - 0x1e120], ebx
mov dword [ebp - 0x1e11c], ebx
mov eax, dword [0x541ad4]
mov ecx, eax
imul ecx, eax
imul eax, ecx
push 0xe
cdq
pop ecx
idiv ecx
mov dword [ebp - 4], ebx
cmp edx, 3
jne 0x466627
xor esi, esi
xor eax, eax
inc esi
inc eax
mov edx, 0xde
dec edx
lea ecx, [eax + esi]
lea esi, [eax]
mov eax, ecx
jns 0x466617
mov dword [0x541ad4], ecx
mov eax, dword [ebp - 0x1e110]
cmp byte [eax + 0x90], 0
je 0x466647
lea eax, [ebp - 0x1e124]
push eax
call fcn.0040ae1c
pop ecx
test al, al
jne 0x466694
lea eax, [ebp - 0x1e0f4]
push eax
call fcn.0040934d
pop ecx
mov eax, dword [ebp - 0x1e0f4]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
jne 0x466671
lea ecx, [eax - 0x10]
call fcn.00404fef
jmp 0x466d14
lea eax, [ebp - 0x1e0f4]
push eax
lea ecx, [ebp - 0x1e124]
call fcn.00408509
mov ecx, dword [ebp - 0x1e0f4]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00404fef
mov eax, dword [ebp - 0x1e120]
sub eax, dword [ebp - 0x1e124]
mov cl, bl
mov byte [ebp - 0x1e0e6], cl
mov esi, ebx
mov dword [ebp - 0x1e128], ebx
test eax, 0xfffffffc
jle 0x466d12
call fcn.00467b8f
test al, al
jne 0x4666da
call fcn.004c2f1b
mov ecx, dword [0x541ad4]
cmp ecx, eax
jne 0x4666da
dec ecx
mov dword [0x541ad4], ecx
mov eax, dword [ebp - 0x1e124]
push str.Maxthon3Users
lea eax, [eax + esi*4]
push eax
lea eax, [ebp - 0x1e0f4]
push eax
call fcn.00401e6a
lea eax, [ebp - 0x1e0f4]
push eax
mov byte [ebp - 4], 2
call fcn.00408fb0
add esp, 0x10
test al, al
je 0x466cdd
push 0x5007c8
lea eax, [ebp - 0x1e0f4]
push eax
lea eax, [ebp - 0x1e144]
push eax
call fcn.00401e6a
add esp, 0xc
lea ecx, [ebp - 0x1e0e4]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x1e144]
mov dword [ebp - 0x1e130], eax
lea ecx, [ecx - 0x10]
call fcn.00404fef
cmp dword [ebp - 0x1e130], 0xffffffff
je 0x466cdd
test byte [ebp - 0x1e0e4], 0x10
je 0x4667da
lea eax, [ebp - 0x1e0b8]
push eax
lea ecx, [ebp - 0x1e134]
call fcn.00401824
or edi, 1
push 0x4f75b4
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x1e0ec], edi
mov dword [ebp - 0x1e0f8], edi
call fcn.00459ee3
pop ecx
pop ecx
test al, al
je 0x4667da
lea eax, [ebp - 0x1e0b8]
push eax
lea ecx, [ebp - 0x1e150]
call fcn.00401824
or edi, 2
push 0x5007d0
push eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x1e0ec], edi
mov dword [ebp - 0x1e0f8], edi
call fcn.00459ee3
pop ecx
pop ecx
mov byte [ebp - 0x1e0e5], 1
test al, al
jne 0x4667e0
mov byte [ebp - 0x1e0e5], bl
mov eax, dword [ebp - 0x1e0ec]
test al, 2
je 0x466807
mov ecx, dword [ebp - 0x1e150]
and eax, 0xfffffffd
lea ecx, [ecx - 0x10]
mov dword [ebp - 0x1e0ec], eax
call fcn.00404fef
mov eax, dword [ebp - 0x1e0ec]
mov dword [ebp - 4], 2
test al, 1
je 0x466829
mov ecx, dword [ebp - 0x1e134]
and eax, 0xfffffffe
lea ecx, [ecx - 0x10]
mov dword [ebp - 0x1e0ec], eax
call fcn.00404fef
cmp byte [ebp - 0x1e0e5], 0
je 0x466c98
lea eax, [ebp - 0x1e0b8]
push eax
lea ecx, [ebp - 0x1e154]
call fcn.00401824
mov esi, eax
mov edi, 0x4f6850
push edi
lea eax, [ebp - 0x1e0f4]
push eax
lea eax, [ebp - 0x1e14c]
push eax
mov byte [ebp - 4], 5
call fcn.00401e6a
push esi
push eax
lea eax, [ebp - 0x1e118]
push eax
mov byte [ebp - 4], 6
call fcn.00401e15
add esp, 0x18
mov ecx, dword [ebp - 0x1e14c]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x1e154]
mov byte [ebp - 4], 9
lea ecx, [ecx - 0x10]
call fcn.00404fef
push str.Addons
lea eax, [ebp - 0x1e118]
push eax
lea eax, [ebp - 0x1e114]
push eax
call fcn.00401e6a
push str.AddonsDataMxAddonMiscconfig.ini
lea eax, [ebp - 0x1e118]
push eax
lea eax, [ebp - 0x1e0fc]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401e6a
lea eax, [ebp - 0x1e114]
push eax
mov byte [ebp - 4], 0xb
call fcn.00408fb0
add esp, 0x1c
test al, al
je 0x466c6a
lea eax, [ebp - 0x1e0fc]
push eax
call fcn.00408fd0
pop ecx
test al, al
je 0x466c6a
push edi
lea eax, [ebp - 0x1e114]
push eax
lea eax, [ebp - 0x1e15c]
push eax
call fcn.00401e6a
mov ecx, eax
mov eax, dword [ebp - 0x1e110]
add eax, 0xc8
push eax
push ecx
lea eax, [ebp - 0x1e12c]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401e15
add esp, 0x18
mov ecx, dword [ebp - 0x1e15c]
push 0xe
pop eax
add ecx, 0xfffffff0
mov byte [ebp - 4], al
call fcn.00404fef
call fcn.00467ccc
test al, al
jne 0x466959
dec dword [0x541ad4]
mov eax, dword [ebp - 0x1e12c]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00403806
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.004092f8
movzx eax, al
pop ecx
mov dword [ebp - 0x1e100], eax
call fcn.00467b71
test al, al
jne 0x4669e3
mov eax, ebx
mov dword [ebp - 0x1e0f8], eax
lea esi, [ebp - 0x1f0]
mov edi, ebx
mov eax, dword [0x541ad4]
inc edi
cdq
idiv edi
mov dword [ebp - 0x1e140], edi
mov dword [ebp - 0x1e158], ebx
mov edi, ebx
mov dword [ebp - 0x1e13c], edx
lea ecx, [edi + 1]
mov edi, ecx
cmp edi, 0xa
jl 0x4669b6
mov edi, dword [ebp - 0x1e140]
add esi, 0xa
push 0
pop ebx
cmp edi, 0xc
jl 0x466999
mov eax, dword [ebp - 0x1e0f8]
inc eax
mov dword [ebp - 0x1e0f8], eax
cmp eax, 4
jl 0x466997
cmp dword [ebp - 0x1e100], 0
je 0x466c5c
mov dword [ebp - 0x1e10c], ebx
mov dword [ebp - 0x1e108], ebx
mov dword [ebp - 0x1e104], ebx
push 0x7fff
lea ecx, [ebp - 0x1e10c]
mov byte [ebp - 4], 0xf
call fcn.00467d0f
mov eax, dword [ebp - 0x1e108]
sub eax, dword [ebp - 0x1e10c]
push dword [ebp - 0x1e0fc]
sar eax, 1
push eax
push dword [ebp - 0x1e10c]
mov edi, str.addonsmgr4
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov esi, eax
cmp esi, 0x7ffd
ja 0x466c51
mov ecx, dword [0x541ad4]
mov eax, ecx
imul eax, ecx
imul eax, ecx
push 0xe
cdq
pop ecx
idiv ecx
mov byte [ebp - 0x1e0e6], 1
cmp edx, 2
jne 0x466a76
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push dword [ebp - 0x1e0fc]
push 0x4fa988
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push esi
lea ecx, [ebp - 0x1e10c]
call fcn.00467d0f
mov edi, dword [ebp - 0x1e10c]
mov eax, dword [ebp - 0x1e108]
cmp edi, eax
je 0x466bc8
mov dword [ebp - 0x1e100], ebx
lea ecx, [ebp - 0x1e100]
push ecx
push eax
push edi
call fcn.00459b89
add esp, 0xc
mov esi, eax
call fcn.00467aab
push edi
lea ecx, [ebp - 0x1e0f0]
call fcn.00401824
lea eax, [esi + 2]
push eax
push edi
lea eax, [ebp - 0x1e160]
push eax
lea ecx, [ebp - 0x1e10c]
mov byte [ebp - 4], 0x10
call fcn.0046798a
mov eax, dword [ebp - 0x1e0f0]
cmp dword [eax - 0xc], 0
je 0x466ba2
mov eax, dword [ebp - 0x1e110]
push ebx
push dword [eax + 0xc0]
lea ecx, [ebp - 0x1e0f0]
call fcn.004039d8
cmp eax, 0xffffffff
jne 0x466ba2
push ebx
mov edi, 0x4f5a64
push edi
lea ecx, [ebp - 0x1e0f0]
call fcn.004039d8
push eax
lea eax, [ebp - 0x1e138]
push eax
lea ecx, [ebp - 0x1e0f0]
call fcn.00404c81
mov eax, dword [ebp - 0x1e0f0]
push ebx
mov esi, dword [eax - 0xc]
push edi
lea ecx, [ebp - 0x1e0f0]
mov byte [ebp - 4], 0x11
call fcn.004039d8
sub esi, eax
dec esi
push esi
lea eax, [ebp - 0x1e148]
push eax
lea ecx, [ebp - 0x1e0f0]
call fcn.004057be
push dword [ebp - 0x1e0fc]
mov esi, dword [ebp - 0x1e148]
mov edi, dword [ebp - 0x1e138]
push esi
push edi
push str.addonsmgr4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esi - 0x10]
call fcn.00404fef
lea ecx, [edi - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x1e0f0]
mov byte [ebp - 4], 0xf
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov edi, dword [ebp - 0x1e10c]
mov eax, dword [ebp - 0x1e108]
cmp edi, eax
jne 0x466aae
mov ecx, dword [0x541ad4]
mov eax, ecx
imul eax, ecx
imul eax, ecx
push 0x12
cdq
pop ecx
idiv ecx
cmp edx, 2
jne 0x466c51
xor eax, eax
push 0x1dca0
mov word [ebp - 0x1de94], ax
lea eax, [ebp - 0x1de92]
push ebx
push eax
call fcn.004c3990
add esp, 0xc
mov edi, ebx
mov esi, ebx
mov edx, ebx
test edi, edi
je 0x466c2d
test edx, edx
je 0x466c2d
lea eax, [esi + edx]
lea ecx, [esi + edx]
mov ax, word [ebp + eax*2 - 0x1e082]
inc ax
add ax, word [ebp + ecx*2 - 0x1de96]
mov word [ebp + ecx*2 - 0x1de94], ax
inc edx
cmp edx, 0xf7
jl 0x466c05
add esi, 0xf7
inc edi
cmp esi, 0xee51
jl 0x466c03
movsx eax, word [ebp - 0x1f4]
mov dword [0x541ad4], eax
lea ecx, [ebp - 0x1e10c]
call fcn.0040f54f
mov ecx, dword [ebp - 0x1e12c]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x1e0fc]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x1e114]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x1e118]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00404fef
lea eax, [ebp - 0x1e0e4]
push eax
push dword [ebp - 0x1e130]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x466cd1
call fcn.00467c64
mov edi, dword [ebp - 0x1e0ec]
test al, al
jne 0x46675b
mov dword [0x543424], 0xcc70b88e
jmp 0x46675b
mov edi, dword [ebp - 0x1e0ec]
mov esi, dword [ebp - 0x1e128]
mov ecx, dword [ebp - 0x1e0f4]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00404fef
mov eax, dword [ebp - 0x1e120]
sub eax, dword [ebp - 0x1e124]
inc esi
sar eax, 2
mov dword [ebp - 0x1e128], esi
cmp esi, eax
jl 0x4666bb
mov cl, byte [ebp - 0x1e0e6]
mov bl, cl
lea ecx, [ebp - 0x1e124]
call fcn.00406958
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c29c4
leave
ret