Function at 0x4dd940
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x4dd949
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c7c
xor eax, eax
push ebp
push 0x4de059
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x158]
mov ecx, 0x4de070
mov edx, dword [ebp - 4]
call fcn.00404ad8
mov eax, dword [ebp - 0x158]
call fcn.00404c8c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4de008
mov bl, 1
jmp 0x4de008
mov eax, dword [0x532ec0]
cmp byte [eax], 1
je 0x4de010
mov eax, dword [0x533210]
mov eax, dword [eax]
call fcn.0048e660
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404a3c
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
lea eax, [ebp - 0x160]
mov edx, 3
call fcn.00404b4c
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.00408c7c
mov eax, dword [ebp - 0x15c]
push eax
lea edx, [ebp - 0x164]
mov eax, 0x4de08c
call fcn.00408c7c
mov eax, dword [ebp - 0x164]
pop edx
call fcn.00404dd0
test eax, eax
jg 0x4de016
mov eax, dword [ebp - 0x154]
cmp eax, 0x10
je 0x4dda6c
cmp eax, 2
je 0x4dda6c
cmp eax, 4
je 0x4dda6c
cmp eax, 0x80
je 0x4dda6c
cmp eax, 0x100
je 0x4dda6c
cmp eax, 0x13
je 0x4dda6c
cmp eax, 0x20
je 0x4dda6c
cmp eax, 0x16
jne 0x4ddb2b
mov eax, dword [0x533224]
inc dword [eax]
mov eax, dword [0x533224]
mov eax, dword [eax]
mov ecx, 0xc8
cdq
idiv ecx
test edx, edx
jne 0x4ddaaf
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404b4c
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0xc]
call fcn.0046dddc
mov eax, dword [ebp - 0x10]
mov edx, 0x4de09c
call fcn.00404bd8
je 0x4ddb2b
mov eax, dword [ebp - 0x10]
mov edx, 0x4de0a8
call fcn.00404bd8
je 0x4ddb2b
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404b4c
mov eax, dword [ebp - 0x16c]
call fcn.004097a4
test al, al
je 0x4ddb2b
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00404b4c
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004dd940
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0x10]
call fcn.00409a54
mov eax, dword [ebp - 0x174]
mov edx, 0x4de0b4
call fcn.00404bd8
jne 0x4ddff5
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
lea eax, [ebp - 0x178]
mov edx, 3
call fcn.00404b4c
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x14]
call fcn.004dd6e8
cmp dword [ebp - 0x14], 0
je 0x4ddff5
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0x14]
call fcn.00408c7c
mov eax, dword [ebp - 0x17c]
push eax
lea edx, [ebp - 0x180]
mov eax, 0x4de0c4
call fcn.00408c7c
mov eax, dword [ebp - 0x180]
pop edx
call fcn.00404dd0
test eax, eax
jne 0x4ddff5
mov eax, dword [0x532c2c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.004d23fc
test al, al
je 0x4ddff5
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
lea eax, [ebp - 0x188]
mov edx, 3
call fcn.00404b4c
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x184]
call fcn.00408c7c
mov eax, dword [ebp - 0x184]
push eax
lea edx, [ebp - 0x18c]
mov eax, 0x4de08c
call fcn.00408c7c
mov eax, dword [ebp - 0x18c]
pop edx
call fcn.00404dd0
test eax, eax
jne 0x4ddff5
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 0x14]
call fcn.00409a54
cmp dword [ebp - 0x190], 0
jne 0x4dde23
mov eax, dword [ebp - 0x14]
call fcn.004097a4
test al, al
jne 0x4ddff5
mov edx, dword [ebp - 0x14]
mov eax, 0x4de0d0
call fcn.00404dd0
test eax, eax
jne 0x4ddff5
mov eax, dword [ebp - 0x14]
push eax
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
lea eax, [ebp - 0x194]
mov edx, 3
call fcn.00404b4c
mov ecx, dword [ebp - 0x194]
mov eax, dword [0x532c24]
mov eax, dword [eax]
mov edx, 0x4de0dc
call fcn.004d29a0
cmp al, 1
je 0x4de016
mov eax, dword [ebp + 8]
call fcn.00490238
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
mov edx, dword [0x532db0]
mov dl, byte [edx + 0xf]
mov byte [eax + 0xc], dl
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0xe
mov edx, 3
call fcn.00404b4c
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x12
mov edx, 3
call fcn.00404b4c
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x16
mov edx, dword [ebp - 0x14]
call fcn.00404820
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x1a
call fcn.004047cc
push 0x4de0f8
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x2a
mov edx, 4
call fcn.00404b4c
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x2e
mov ecx, dword [ebp - 0x14]
mov edx, 0x4de10c
call fcn.00404ad8
push 0x4de120
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x32
mov edx, 4
call fcn.00404b4c
push 0x4de130
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
push 0x4de148
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x36
mov edx, 5
call fcn.00404b4c
mov eax, dword [0x533294]
inc dword [eax]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
mov edx, dword [0x533294]
mov edx, dword [edx]
mov dword [eax + 0x26], edx
lea eax, [ebp - 0x198]
push eax
mov eax, dword [ebp + 8]
call fcn.0041b714
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 0x19c], 0
lea edx, [ebp - 0x1a0]
xor ecx, ecx
mov eax, 0x4de160
call fcn.0040a2dc
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp + 0xc]
call fcn.0046dddc
jmp 0x4ddff5
mov edx, dword [ebp - 0x14]
mov eax, 0x4de0d0
call fcn.00404dd0
test eax, eax
jne 0x4ddff5
mov eax, dword [ebp - 0x14]
call fcn.004dd5b0
test al, al
jne 0x4ddff5
mov eax, dword [ebp - 0x14]
push eax
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
lea eax, [ebp - 0x1a4]
mov edx, 3
call fcn.00404b4c
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [0x532c24]
mov eax, dword [eax]
mov edx, 0x4de0dc
call fcn.004d29a0
cmp al, 1
je 0x4de016
mov eax, dword [ebp + 8]
call fcn.00490238
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
mov edx, dword [0x532db0]
mov dl, byte [edx + 0xf]
mov byte [eax + 0xc], dl
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0xe
mov edx, 3
call fcn.00404b4c
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x12
mov edx, 3
call fcn.00404b4c
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x16
mov edx, dword [ebp - 0x14]
call fcn.00404820
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x1a
call fcn.004047cc
push 0x4de0f8
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x2a
mov edx, 4
call fcn.00404b4c
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x2e
mov ecx, dword [ebp - 0x14]
mov edx, 0x4de10c
call fcn.00404ad8
push 0x4de120
push dword [ebp - 4]
push 0x4de080
push dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x32
mov edx, 4
call fcn.00404b4c
push 0x4de16c
push dword [ebp - 0x14]
push 0x4de180
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
add eax, 0x36
mov edx, 3
call fcn.00404b4c
mov eax, dword [0x533294]
inc dword [eax]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.0049024c
mov edx, dword [0x533294]
mov edx, dword [edx]
mov dword [eax + 0x26], edx
lea eax, [ebp - 0x1a8]
push eax
mov eax, dword [ebp + 8]
call fcn.0041b714
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 0x19c], 0
lea edx, [ebp - 0x1a0]
xor ecx, ecx
mov eax, 0x4de160
call fcn.0040a2dc
mov edx, dword [ebp - 0x1a8]
mov eax, dword [ebp + 0xc]
call fcn.0046dddc
lea eax, [ebp - 0x154]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4dd9b2
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de060
lea eax, [ebp - 0x1a8]
mov edx, 2
call fcn.004047f0
lea eax, [ebp - 0x198]
mov edx, 0x11
call fcn.004047f0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004047f0
lea eax, [ebp - 4]
call fcn.004047cc
ret