Function at 0x464c40
Capabilities:
Enumerate files on windows
Get disk information

Disassembly:
sub esp, 0x248
mov eax, dword [0x4d36a4]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
mov ebp, dword [esp + 0x254]
push esi
push edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], 0
mov byte [ebp], 0
mov dword [ebp + 0x128], 0
mov dword [ebp + 0x12c], 0
call fcn.00433dc0
test byte [ebp + 0x134], 8
mov esi, dword [ebp + 0x140]
mov dword [esp + 0x10], 0
je 0x464dcf
cmp dword [esi + 0x258], 0
jne 0x464dcf
xor ebx, ebx
mov dword [esi + 0x258], 1
mov eax, dword [ebp + 0x130]
xor edi, edi
mov dword [esp + 0x24], ebx
test eax, eax
je 0x464d4c
cmp byte [eax], bl
je 0x464d4c
push eax
call fcn.004625c0
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x464d1b
cmp byte [ecx], bl
je 0x464d1b
push ecx
call fcn.0045fda0
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x464d40
mov cl, byte [eax]
test cl, cl
je 0x464d40
cmp byte [eax + 1], bl
jne 0x464d31
cmp cl, 0x5c
je 0x464d40
push eax
call fcn.0042a580
add esp, 4
mov dword [esp + 0x24], eax
mov ebx, eax
push dword [esp + 0x10]
call fcn.00434080
add esp, 4
push 0
push 0
push 0
push 0
push 0
push 0x108
lea eax, [esp + 0x5c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor ebx, ebx
test eax, eax
setne bl
mov dword [esp + 0x10], ebx
test eax, eax
je 0x464da9
push 0x107
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.0042a4f0
add esp, 0xc
test edi, edi
je 0x464da9
cmp byte [edi], 0
je 0x464da9
push edi
push ebp
call fcn.004622a0
add esp, 8
test eax, eax
jne 0x464da9
xor ebx, ebx
mov byte [ebp], al
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x464dba
push eax
call fcn.00434080
add esp, 4
test edi, edi
je 0x464dc7
push edi
call fcn.00434080
add esp, 4
test ebx, ebx
jne 0x464f43
mov eax, dword [ebp + 0x134]
and al, 0x1e
cmp al, 8
je 0x464f43
cmp dword [ebp + 0x138], 0
je 0x464f0f
push dword [ebp + 0x130]
call fcn.0042a580
mov edi, dword [ebp + 0x134]
mov ebx, eax
add esp, 4
mov dword [ebp + 0x138], 0
mov ecx, edi
mov eax, edi
and ecx, 0x20
mov edx, ecx
or edx, 0x10
and al, 0x10
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 2
and al, 2
mov eax, edi
cmove ecx, edx
mov edx, ecx
or edx, 1
and al, 1
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 4
and al, 4
mov eax, edi
cmove ecx, edx
mov edx, ecx
or edx, 0x80
and al, 0x80
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 0x4000
and eax, 0x4000
mov eax, edi
cmove ecx, edx
mov edx, ecx
or edx, 0x100
and eax, 0x100
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 0x200
and eax, 0x200
mov eax, edi
cmove ecx, edx
mov edx, ecx
or edx, 0x400
and eax, 0x400
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 0x800
and eax, 0x800
mov eax, edi
cmove ecx, edx
mov edx, ecx
or edx, 0x1000
and eax, 0x1000
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 0x2000
and eax, 0x2000
cmove ecx, edx
mov eax, ecx
or eax, 0x8000
and edi, 0x8000
lea edi, [esi + 4]
push edi
cmove eax, ecx
push ebx
mov dword [esi + 0x254], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push ebx
mov dword [esi], eax
call fcn.00434080
add esp, 4
cmp dword [esi], 0xffffffff
je 0x464f0f
mov eax, dword [edi]
test al, 0x16
je 0x464f4e
and eax, dword [esi + 0x254]
test al, 0x16
jne 0x464f4e
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x464f43
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edi, [esi + 4]
push edi
push eax
call ebx
test eax, eax
je 0x464f43
mov ecx, dword [edi]
test cl, 0x16
je 0x464f4e
mov eax, dword [esi + 0x254]
and eax, ecx
test al, 0x16
jne 0x464f4e
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x464f27
mov esi, dword [esp + 0x10]
xor ebx, ebx
jmp 0x464fff
push 0x107
lea eax, [esi + 0x30]
push ebp
push eax
call fcn.0042a4f0
add esp, 0xc
test byte [edi], 0x10
je 0x464f78
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
jmp 0x464f83
mov eax, dword [esi + 0x20]
xor ecx, ecx
add ecx, dword [esi + 0x24]
adc eax, 0
mov dword [ebp + 0x128], ecx
add esi, 0x18
mov dword [ebp + 0x12c], eax
lea eax, [esp + 0x24]
mov ebx, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x464ffa
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov esi, 1
test eax, eax
je 0x464fff
movzx eax, word [esp + 0x36]
movzx edi, word [esp + 0x34]
mov dword [esp + 0x2c], eax
movzx eax, word [esp + 0x3a]
mov dword [esp + 0x14], eax
movzx eax, word [esp + 0x3c]
mov dword [esp + 0x20], eax
movzx eax, word [esp + 0x3e]
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0x40]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x42]
mov dword [esp + 0x30], eax
jmp 0x465001
mov esi, 1
xor edi, edi
push 0
push esi
call fcn.00450740
add esp, 8
test esi, esi
je 0x46515e
mov ecx, ebx
mov byte [ebp + 0x107], 0
and ecx, 0x20
mov eax, ebx
mov edx, ecx
or edx, 0x10
and al, 0x10
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 2
and al, 2
mov eax, ebx
cmove ecx, edx
mov edx, ecx
or edx, 1
and al, 1
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 4
and al, 4
mov eax, ebx
cmove ecx, edx
mov edx, ecx
or edx, 0x80
and al, 0x80
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x4000
and eax, 0x4000
mov eax, ebx
cmove ecx, edx
mov edx, ecx
or edx, 0x100
and eax, 0x100
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x200
and eax, 0x200
mov eax, ebx
cmove ecx, edx
mov edx, ecx
or edx, 0x400
and eax, 0x400
push dword [esp + 0x14]
cmove edx, ecx
mov eax, ebx
mov ecx, edx
or ecx, 0x800
and eax, 0x800
mov eax, ebx
cmove ecx, edx
mov edx, ecx
or edx, 0x1000
and eax, 0x1000
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x2000
and eax, 0x2000
cmove ecx, edx
mov eax, ecx
or eax, 0x8000
and ebx, 0x8000
mov ebx, dword [esp + 0x30]
cmove eax, ecx
push ebx
push edi
mov dword [ebp + 0x124], eax
call fcn.00462b00
push dword [esp + 0x3c]
mov dword [ebp + 0x11c], eax
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x38]
call fcn.00463090
push dword [esp + 0x30]
mov dword [ebp + 0x120], eax
push ebx
lea eax, [ebp + 0x108]
push edi
push eax
call fcn.00462e00
push dword [esp + 0x44]
lea ecx, [ebp + 0x111]
mov byte [ebp + 0x110], 0
push dword [esp + 0x4c]
push dword [esp + 0x54]
push str._02d:_02d:_02d
push 9
push ecx
call fcn.00460d40
add esp, 0x44
call fcn.00432080
mov ecx, dword [esp + 0x254]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a209e
add esp, 0x248
ret