Function at 0x403250
Capabilities:
Enumerate files on windows
Get file system object information

Disassembly:
sub esp, 0x380
push ebx
push esi
mov esi, dword [esp + 0x38c]
push edi
mov edi, dword [esp + 0x394]
lea ecx, [esp + 0xec]
xor ebx, ebx
push ecx
mov eax, dword [edi + 4]
push esi
mov dword [esp + 0x14], ebx
mov byte [esi + eax], bl
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x40329e
mov dword [edi], 0x2100000e
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
add esp, 0x380
ret
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [esp + 0x14], esi
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x230]
push 0x30
rep stosd dword es:[edi], eax
call ebx
add esp, 4
lea edx, [esp + 0x230]
lea eax, [esp + 0x11c]
push 0x510
push 0x160
push edx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x30
call ebx
add esp, 4
mov esi, 0x413034
lea eax, [esp + 0x11c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x403322
test cl, cl
je 0x40331e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x403322
add eax, 2
add esi, 2
test cl, cl
jne 0x4032fe
xor eax, eax
jmp 0x403327
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40357b
mov esi, 0x4136f8
lea eax, [esp + 0x11c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40335f
test cl, cl
je 0x40335b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40335f
add eax, 2
add esi, 2
test cl, cl
jne 0x40333b
xor eax, eax
jmp 0x403364
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40357b
mov ecx, 0x29
xor eax, eax
lea edi, [esp + 0x4c]
push 0x40
rep stosd dword es:[edi], eax
lea eax, [esp + 0x120]
lea ecx, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov al, byte [esp + 0xfc]
add esp, 0xc
test al, 0x10
je 0x4033a9
mov dword [esp + 0x4c], 1
jmp 0x4034d3
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x10c]
sub eax, edx
mov dword [esp + 0x4c], 2
cmp eax, 0x400
jae 0x4033e0
push eax
lea edx, [esp + 0xd4]
push str._d_Bytes
push edx
call ebp
add esp, 0xc
jmp 0x4034a8
jbe 0x40341c
cmp eax, 0x100000
jae 0x403421
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
fild qword [esp + 0x3c]
sub esp, 8
lea eax, [esp + 0xd8]
fmul dword [0x40e77c]
fstp qword [esp]
push str._4.2f__KB
push eax
call ebp
add esp, 0x10
jmp 0x4034a8
cmp eax, 0x100000
jbe 0x40345a
cmp eax, 0x40000000
jae 0x40345f
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
fild qword [esp + 0x34]
sub esp, 8
lea ecx, [esp + 0xd8]
fmul dword [0x40e778]
fstp qword [esp]
push str._4.2f_MB
push ecx
call ebp
add esp, 0x10
jmp 0x4034a8
cmp eax, 0x40000000
jbe 0x403496
cmp eax, 0xffffffff
jae 0x403496
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
fild qword [esp + 0x2c]
sub esp, 8
lea edx, [esp + 0xd8]
fmul dword [0x40e774]
fstp qword [esp]
push str._4.2f_GB
push edx
call ebp
add esp, 0x10
jmp 0x4034a8
lea eax, [esp + 0xd0]
push str.Kill_You
push eax
call ebp
add esp, 8
lea edi, [esp + 0x340]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x90]
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]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x104]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x26]
mov ecx, dword [esp + 0x24]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x26]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x26]
push ecx
mov ecx, dword [esp + 0x28]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
lea edx, [esp + 0xc8]
push str._4d__02d__02d__02d:_02d:_02d
push edx
call ebp
mov eax, dword [esp + 0x34]
mov ecx, 0x29
lea esi, [esp + 0x6c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
add eax, 0xa4
add esi, 0xa4
add esp, 0x20
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x403596
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xf0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4032af
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x398]
mov ecx, dword [esp + 0x10]
pop ebp
pop edi
pop esi
mov dword [eax], 0
mov dword [eax + 4], ecx
pop ebx
add esp, 0x380
ret