Function at 0x4b1c00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f4cff
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x394], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x3ac]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x3bc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3b4], 1
push 0xffffffffffffffff
push 0
call sub.mfc90.dll_Ordinal_6494
lea ecx, [esp + 0x20]
call sub.mfc90.dll_Ordinal_580
mov byte [esp + 0x3b4], 2
lea ecx, [esp + 0x38]
call sub.mfc90.dll_Ordinal_580
mov byte [esp + 0x3b4], 3
push 0x1ff
lea eax, [esp + 0x1ad]
push 0
push eax
mov byte [esp + 0x1b4], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x3b4], 4
mov eax, dword [esp + 0x3c0]
cmp dword [eax - 0xc], 0x200
jae 0x4b1cd0
lea edx, [esp + 0x1a8]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4b1cc6
lea eax, [esp + 0x1a8]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4b1cd8
mov ecx, dword [str..TC_BK.sys]
mov edx, dword [0x51c2d0]
mov dword [eax], ecx
mov ecx, dword [0x51c2d4]
mov dword [eax + 4], edx
mov dl, byte [0x51c2d8]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b1d81
mov byte [esp + 0x3b4], 3
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x3b4], 2
lea ecx, [esp + 0x38]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x3b4], 1
lea ecx, [esp + 0x20]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x3b4], 0
lea ecx, [esp + 0x3c0]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x3b4], esi
lea ecx, [esp + 0x3c4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
or eax, esi
jmp 0x4b2243
lea ecx, [esp + 0x54]
call sub.mfc90.dll_Ordinal_580
mov byte [esp + 0x3b4], 5
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov bl, 9
test byte [esp + 0x68], 0x10
jne 0x4b1f08
push str.desktop.ini
lea edx, [esp + 0x98]
push edx
call ebp
test eax, eax
jne 0x4b1f08
cmp byte [esp + 0x94], 0x2e
je 0x4b1f08
mov eax, dword [esp + 0x3c4]
push eax
lea ecx, [esp + 0x98]
push ecx
call ebp
test eax, eax
je 0x4b1f08
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x5c]
call sub.mfc90.dll_Ordinal_6494
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x3b4], 6
push 0x502170
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00492540
add esp, 0xc
mov byte [esp + 0x3b4], 5
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x5c]
lea eax, [ecx - 2]
test eax, eax
jl 0x4b1fa0
cmp eax, ecx
jge 0x4b1fa0
mov edx, dword [esp + 0x58]
lea eax, [edx + eax*4]
push 0x502170
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00402a60
add esp, 0xc
mov byte [esp + 0x3b4], 7
mov edx, dword [esp + 0x5c]
lea ecx, [edx - 1]
test ecx, ecx
jl 0x4b1fa0
cmp ecx, edx
jge 0x4b1fa0
mov edx, dword [esp + 0x58]
lea ecx, [edx + ecx*4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004029d0
add esp, 0xc
mov byte [esp + 0x3b4], bl
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5116d8
push 0x502a1c
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
mov eax, dword [esp + 0x5c]
cmp eax, 4
jne 0x4b1ede
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x28]
jmp 0x4b1ef1
cmp eax, 5
jne 0x4b1ef6
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x40]
call sub.mfc90.dll_Ordinal_6153
mov byte [esp + 0x3b4], 5
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea edx, [esp + 0x68]
push edx
push esi
call edi
test eax, eax
jne 0x4b1da0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4b1fa5
mov byte [esp + 0x3b4], 4
lea ecx, [esp + 0x54]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x3b4], 3
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x3b4], 2
lea ecx, [esp + 0x38]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x3b4], 1
lea ecx, [esp + 0x20]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x3b4], 0
lea ecx, [esp + 0x3c0]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x3b4], 0xffffffff
lea ecx, [esp + 0x3c4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x4b2243
call sub.mfc90.dll_Ordinal_1252
jle 0x4b1fbd
push 0x4b1490
push 4
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.MSVCR90.dll_qsort]
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x4b1fdb
mov ecx, dword [esp + 0x3c]
push 0x4b1490
push 4
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_qsort]
add esp, 0x10
push str._Y_m_d__H
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3d0]
call fcn.00409400
mov byte [esp + 0x3b4], 0xa
mov eax, dword [esp + 0x40]
xor bl, bl
test eax, eax
jne 0x4b2067
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x4b213c
test esi, esi
jl 0x4b1fa0
cmp esi, eax
jge 0x4b1fa0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + esi*4]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4b203d
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jl 0x4b2011
jmp 0x4b213c
cmp esi, dword [esp + 0x28]
jge 0x4b1fa0
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 8]
lea eax, [eax + esi*4]
push eax
push ecx
mov ecx, edi
call sub.mfc90.dll_Ordinal_6153
mov eax, dword [esp + 0x28]
jmp 0x4b2140
lea edi, [eax - 1]
test edi, edi
jl 0x4b2138
cmp edi, eax
jge 0x4b1fa0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + edi*4]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x4b2094
mov bl, 1
jmp 0x4b2098
test bl, bl
je 0x4b2101
cmp edi, dword [esp + 0x40]
jge 0x4b1fa0
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
lea eax, [eax + edi*4]
push eax
push ecx
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6153
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x4b2105
test esi, esi
jl 0x4b1fa0
cmp esi, eax
jge 0x4b1fa0
cmp edi, dword [esp + 0x40]
jge 0x4b1fa0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + esi*4]
lea ecx, [ecx + edi*4]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4b2113
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jl 0x4b20c3
jmp 0x4b2105
mov eax, dword [esp + 0x28]
sub edi, 1
js 0x4b213c
mov eax, dword [esp + 0x40]
jmp 0x4b2072
cmp edi, dword [esp + 0x40]
jge 0x4b1fa0
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 8]
lea eax, [eax + edi*4]
push eax
push ecx
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6153
mov eax, dword [esp + 0x28]
mov edi, ebp
jmp 0x4b2140
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
cmp dword [edi + 8], 0
jne 0x4b219e
xor esi, esi
test eax, eax
jle 0x4b219e
lea esp, [esp]
test esi, esi
jl 0x4b1fa0
cmp esi, eax
jge 0x4b1fa0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + esi*4]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4b2181
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jl 0x4b2150
jmp 0x4b219e
cmp esi, dword [esp + 0x28]
jge 0x4b1fa0
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 8]
lea eax, [eax + esi*4]
push eax
push ecx
mov ecx, edi
call sub.mfc90.dll_Ordinal_6153
mov ecx, dword [edi + 8]
test ecx, ecx
jle 0x4b21ba
mov eax, dword [edi + 4]
push 0x4b1490
push 4
push ecx
push eax
call dword [sym.imp.MSVCR90.dll_qsort]
add esp, 0x10
mov esi, dword [edi + 8]
mov byte [esp + 0x3b4], 5
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x3b4], 4
lea ecx, [esp + 0x54]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x3b4], 3
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x3b4], 2
lea ecx, [esp + 0x38]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x3b4], 1
lea ecx, [esp + 0x20]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x3b4], 0
lea ecx, [esp + 0x3c0]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x3b4], 0xffffffff
lea ecx, [esp + 0x3c4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x3ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x394]
xor ecx, esp
call fcn.004e0148
add esp, 0x3a4
ret