Function at 0x4032a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5d60
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x54b07c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x1a0], ebx
mov ecx, dword [edi + 0x10]
mov eax, Ordinal_1
mov esi, dword [ebp + 8]
sub eax, ecx
mov dword [ebp - 0x1a0], ebx
cmp eax, 2
jb 0x403582
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4032fe
mov eax, dword [edi]
push 2
push 0x532268
push ecx
push eax
push ecx
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x44]
call fcn.00404aa0
push esi
lea edx, [ebp - 0x44]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00404360
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x403334
mov eax, dword [eax]
lea ecx, [ebp - 0x19c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [ebp - 0x48]
mov esi, eax
mov dword [ebp - 0x1a4], esi
cmp ecx, 0x10
jb 0x40337e
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403374
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403587
push ecx
push edx
call fcn.0049dbeb
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0x10
jb 0x4033cb
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4033c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403587
push ecx
push edx
call fcn.0049dbeb
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp esi, 0xffffffff
jne 0x4033fb
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
jmp 0x403564
xor esi, esi
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 4], 1
lea ebx, [ebx]
test byte [ebp - 0x19c], 0x10
jne 0x403529
mov edx, dword [edi + 0x10]
lea ecx, [ebp - 0x170]
lea eax, [ecx + 1]
mov dword [ebp - 0x1a0], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403440
sub ecx, dword [ebp - 0x1a0]
mov eax, Ordinal_1
sub eax, edx
cmp eax, ecx
jb 0x403582
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x403466
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x170]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x2c]
call fcn.00404aa0
mov byte [ebp - 4], 2
cmp esi, dword [ebp - 0x1a8]
je 0x4034df
xor eax, eax
mov ecx, 0xf
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], eax
add esi, 0x18
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x1ac], esi
jmp 0x4034f8
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0x1b0]
call fcn.00404bc0
mov esi, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x403529
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40351f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403587
push ecx
push edx
call fcn.0049dbeb
add esp, 8
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403420
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x1b0]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049dba8
mov esp, ebp
pop ebp
ret
call fcn.004018c0
call fcn.004cb586
int3