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

Disassembly:
sub esp, 0x25c
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x268]
push esi
mov ebx, ecx
push edi
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x418207
push eax
push eax
mov eax, dword [ebx + 0x810]
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebx + 0x858]
call fcn.0041a140
mov cx, word [0x443c8c]
mov dl, byte [0x443c8e]
mov word [esp + 0x16c], cx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x16f]
mov byte [esp + 0x16e], dl
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4181c8
cmp eax, 0x100
jg 0x4181c8
lea edi, [ebx + 0x2fd]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0xff]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x818]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
xor ebp, ebp
mov edi, 0x43c4d0
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + ebp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x16c], dl
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
lea edx, [esp + 0x170]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
lea esi, [ebx + 0x858]
push ecx
push edx
mov ecx, esi
call fcn.0041a040
mov al, byte [esp + ebp + 0x2f]
add ebp, 3
test al, al
mov byte [esp + 0x16c], 0
jne 0x4181a4
mov al, byte [esp + ebp + 0x2d]
test al, al
je 0x4181ad
inc ebp
cmp ebp, 0x100
jl 0x41813c
mov ecx, esi
call fcn.0041a170
mov eax, dword [ebx + 0x810]
push esi
push eax
mov ecx, ebx
call fcn.004195f0
jmp 0x4184ae
push 1
mov ecx, ebx
call fcn.00418e50
lea edi, [ebx + 0xff]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x2fd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 4
mov edi, 0x443c88
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
call esi
lea eax, [esp + 0x2c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
mov edi, eax
call esi
cmp dword [esp + 0x10], 0xffffffff
jne 0x418309
test edi, edi
je 0x4182a1
cmp edi, 2
je 0x4182a1
lea edi, [ebx + 0xff]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x2fd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xffffffffffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4184ae
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0xff]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebx + 0x2fd]
push edx
mov byte [ecx + ebp - 2], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x818]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebx + 0x810]
push 0
push 0
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4184ae
mov eax, dword [ebx + 0x810]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebp, [ebx + 0x858]
mov ecx, ebp
call fcn.0041a140
mov esi, 0x443c84
lea eax, [esp + 0x58]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x418359
test cl, cl
je 0x418355
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x418359
add eax, 2
add esi, 2
test cl, cl
jne 0x418335
xor eax, eax
jmp 0x41835e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x418429
mov esi, 0x443c80
lea eax, [esp + 0x58]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x418393
test cl, cl
je 0x41838f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x418393
add eax, 2
add esi, 2
test cl, cl
jne 0x41836f
xor eax, eax
jmp 0x418398
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x418429
test byte [esp + 0x2c], 0x10
jne 0x4183f0
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x14]
push eax
push 0x442a7c
push ecx
call fcn.004309ee
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
add esp, 0xc
sub eax, 0xd53e8000
sbb ecx, 0x19db1de
push 0
push 0x989680
push ecx
push eax
call fcn.00430e90
mov dword [esp + 0x28], edx
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x5c]
push edx
push eax
jmp 0x418422
mov edi, 0x43c4d0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x5c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.0041a040
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41832c
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, ebp
call fcn.0041a170
mov eax, dword [ebx + 0x810]
push ebp
push eax
mov ecx, ebx
call fcn.004195f0
mov edx, dword [esp + 0x270]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebx + 0x2fd]
mov byte [ecx + edx - 2], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0xff]
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x818]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov ecx, ebx
call fcn.00418e50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 4