Function at 0x409e70
Capabilities:
Enumerate files on windows
Get disk information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d3919
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
mov eax, dword [0x50cc40]
xor eax, dword [esp + 0x2e8]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 8
mov dword [esp + 0x2ec], eax
mov dword [esp + 0x14], esi
call fcn.0044bad0
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.0044fe50
mov eax, dword [esp + 0x2fc]
xor ebx, ebx
cmp eax, ebx
je 0x40a125
mov dl, byte [0x50091c]
mov edi, 0x4d72d0
xor ecx, ecx
cmp dl, bl
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0x14
mov eax, 0x50091c
je 0x409efe
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, bl
jne 0x409ef5
push ecx
push 0x50091c
lea ecx, [esp + 0x5c]
call fcn.004047b0
mov dword [esp + 0x2f4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x58]
mov ebp, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov edi, edi
mov edx, dword [esp + 0x18]
mov eax, 1
shl eax, cl
test edx, eax
je 0x40a0fe
push ebx
push ebx
lea eax, [esp + 0x84]
push eax
push ebx
add cl, 0x41
push ebx
mov byte [esi], cl
push 0x104
lea ecx, [esp + 0xbc]
push ecx
push esi
mov byte [esp + 0xc4], bl
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x40a0fa
mov dl, byte [esp + 0xa4]
xor ecx, ecx
cmp dl, bl
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x14
lea eax, [esp + 0xa4]
je 0x409fac
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, bl
jne 0x409fa3
push ecx
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x24]
call fcn.004047b0
lea eax, [esp + 0xa4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x409fc8
sub eax, edx
mov dword [esp + 0x74], eax
je 0x40a000
mov dl, byte [0x500920]
xor ecx, ecx
cmp dl, bl
mov eax, 0x500920
je 0x409ff1
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, bl
jne 0x409fe8
push ecx
push 0x500920
lea ecx, [esp + 0x24]
call fcn.00409bd0
push 0x14
push ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x14
call fcn.00404550
add esp, 8
mov dword [esp + 0x48], eax
mov dl, byte [0x500924]
xor eax, eax
cmp dl, bl
mov byte [esp + 0x2f4], 2
mov ecx, 0x500924
je 0x40a049
lea esp, [esp]
mov dl, byte [ecx + 1]
inc eax
inc ecx
cmp dl, bl
jne 0x40a040
push eax
push 0x500924
lea ecx, [esp + 0x4c]
call fcn.00409bd0
mov dl, byte [esi]
xor eax, eax
cmp dl, bl
mov ecx, esi
je 0x40a06b
mov dl, byte [ecx + 1]
inc eax
inc ecx
cmp dl, bl
jne 0x40a062
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.00409bd0
mov dl, byte [0x500928]
xor eax, eax
cmp dl, bl
mov ecx, 0x500928
je 0x40a090
mov dl, byte [ecx + 1]
inc eax
inc ecx
cmp dl, bl
jne 0x40a087
push eax
push 0x500928
lea ecx, [esp + 0x4c]
call fcn.00409bd0
push ebx
push ebx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00450000
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0x44], edi
je 0x40a0db
push eax
call fcn.004c3f2c
add esp, 4
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x1c], edi
je 0x40a0f6
push eax
call fcn.004c3f2c
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, 0x1a
mov dword [esp + 0x10], ecx
jl 0x409f30
cmp esi, ebx
mov dword [esp + 0x2f4], 0xffffffff
je 0x40a650
push esi
jmp 0x40a648
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
add esi, 0x68
push esi
lea ecx, [esp + 0x58]
call fcn.00405880
mov dl, byte [0x50092c]
xor eax, eax
cmp dl, bl
mov dword [esp + 0x2f4], 3
mov ecx, 0x50092c
je 0x40a15e
mov dl, byte [ecx + 1]
inc eax
inc ecx
cmp dl, bl
jne 0x40a155
push eax
push 0x50092c
lea ecx, [esp + 0x5c]
call fcn.00409bd0
push 0x14
push ebx
mov dword [esp + 0x8c], 0x4d72d0
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], 0x14
call fcn.00404550
add esp, 8
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [esp + 0x1a8]
push eax
push ecx
mov byte [esp + 0x2fc], 4
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x40a1fe
mov dl, byte [str.._.]
xor ecx, ecx
cmp dl, bl
mov eax, str.._.
je 0x40a1dc
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, bl
jne 0x40a1d3
push ecx
push str.._.
lea ecx, [esp + 0x5c]
call fcn.004047b0
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x1a8]
push edx
push eax
call esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x40a56a
lea ecx, [ecx]
mov dl, byte [esp + 0x1d4]
xor ecx, ecx
cmp dl, bl
mov dword [esp + 0x1c], 0x4d72d0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x14
lea eax, [esp + 0x1d4]
je 0x40a249
lea esp, [esp]
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, bl
jne 0x40a240
push ecx
lea ecx, [esp + 0x1d8]
push ecx
lea ecx, [esp + 0x24]
call fcn.004047b0
mov edi, dword [esp + 0x20]
cmp edi, ebx
mov byte [esp + 0x2f4], 5
mov esi, edi
je 0x40a2a2
mov cl, byte [0x50093c]
movsx eax, byte [edi]
movsx edx, cl
sub eax, edx
jne 0x40a298
mov edx, 0x50093c
sub edx, edi
cmp cl, bl
je 0x40a298
mov cl, byte [edx + esi + 1]
movsx eax, byte [esi + 1]
inc esi
movsx ebp, cl
sub eax, ebp
je 0x40a284
cmp eax, ebx
jl 0x40a2b8
jg 0x40a2b8
cmp eax, ebx
jne 0x40a2b8
push edi
push 0x500940
call fcn.004044b0
add esp, 8
test eax, eax
jne 0x40a521
test byte [esp + 0x1a8], 0x10
je 0x40a3b0
push 0x14
mov esi, 0x4d72d0
push ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0x14
call fcn.00404550
add esp, 8
mov dword [esp + 0x68], eax
mov dl, byte [0x500944]
xor ecx, ecx
cmp dl, bl
mov byte [esp + 0x2f4], 6
mov eax, 0x500944
je 0x40a310
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, bl
jne 0x40a307
push ecx
push 0x500944
lea ecx, [esp + 0x6c]
call fcn.004047b0
mov edx, dword [esp + 0x20]
xor eax, eax
cmp edx, ebx
je 0x40a336
cmp byte [edx], bl
mov ecx, edx
je 0x40a336
nop
inc eax
inc ecx
cmp byte [ecx], bl
jne 0x40a330
push eax
push edx
lea ecx, [esp + 0x6c]
call fcn.00409bd0
mov dl, byte [0x500948]
xor eax, eax
cmp dl, bl
mov ecx, 0x500948
je 0x40a35b
mov dl, byte [ecx + 1]
inc eax
inc ecx
cmp dl, bl
jne 0x40a352
push eax
push 0x500948
lea ecx, [esp + 0x6c]
call fcn.00409bd0
push ebx
push 1
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00450000
mov eax, dword [esp + 0x68]
cmp eax, ebx
mov dword [esp + 0x64], esi
je 0x40a3a7
push eax
call fcn.004c3f2c
add esp, 4
xor eax, eax
mov dword [esp + 0x68], eax
jmp 0x40a521
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x8c]
xor ecx, ecx
cmp eax, ebx
je 0x40a4f5
cmp byte [eax], bl
je 0x40a4f5
lea esp, [esp]
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, bl
jne 0x40a3d0
cmp ecx, ebx
je 0x40a4f5
lea edx, [esp + 0xa4]
mov eax, edi
sub edx, edi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40a3f0
lea ecx, [esp + 0xa4]
push 0x2e
push ecx
call fcn.004c4cc0
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x40a521
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x8c]
inc ebp
mov esi, ebp
mov al, byte [esi]
mov dl, byte [edi]
mov cl, al
cmp al, dl
jne 0x40a44b
cmp cl, bl
je 0x40a447
mov dl, byte [esi + 1]
mov al, byte [edi + 1]
mov cl, dl
cmp dl, al
jne 0x40a44b
add esi, 2
add edi, 2
cmp cl, bl
jne 0x40a423
xor ecx, ecx
jmp 0x40a450
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x40a521
mov byte [ebp - 1], bl
mov dl, byte [esp + 0xa4]
xor eax, eax
cmp dl, bl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x34], 0x4d72d0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x14
lea ecx, [esp + 0xa4]
je 0x40a499
nop
mov dl, byte [ecx + 1]
inc eax
inc ecx
cmp dl, bl
jne 0x40a490
push eax
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x3c]
call fcn.004047b0
push ebx
push 2
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x308], 7
call fcn.00450000
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esp + 0x34], 0x4d72d0
je 0x40a4ef
push eax
call fcn.004c3f2c
add esp, 4
xor eax, eax
mov dword [esp + 0x38], eax
jmp 0x40a521
push ebx
push 2
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
call fcn.00450000
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1a8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x2f4], 4
mov dword [esp + 0x1c], 0x4d72d0
je 0x40a557
push eax
call fcn.004c3f2c
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x40a210
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x6c]
push 0x2f
push eax
call fcn.004c4c00
add esp, 8
test eax, eax
jne 0x40a610
cmp byte [str._.._], bl
mov esi, 0x4d72d0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x14
mov ecx, str._.._
je 0x40a5bb
mov dl, byte [ecx + 1]
inc eax
inc ecx
cmp dl, bl
jne 0x40a5b2
push eax
push str._.._
lea ecx, [esp + 0x3c]
call fcn.004047b0
push ebx
push 1
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x308], 8
call fcn.00450000
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x2f4], 4
mov dword [esp + 0x34], esi
je 0x40a60c
push eax
call fcn.004c3f2c
add esp, 4
xor eax, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
push 0x409cb0
call fcn.0044f720
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x40a632
push eax
call fcn.004c3f2c
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0x2f4], 0xffffffff
je 0x40a650
mov ecx, eax
push ecx
call fcn.004c3f2c
add esp, 4
mov ecx, dword [esp + 0x14]
call fcn.0044fd60
mov ecx, dword [esp + 0x2ec]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2e4]
xor ecx, dword [esp + 0x2f4]
pop esi
pop ebp
pop ebx
call fcn.004c3e15
add esp, 0x2e8
ret 4