Function at 0x55c354
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x56
push 0
push 0
dec ecx
jne 0x55c35d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.00406b44
xor eax, eax
push ebp
push 0x55c795
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00406e88
lea eax, [ebp - 0x280]
mov edx, dword [ebp - 0xc]
call fcn.004076b8
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x27c]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x27c]
mov edx, 0x55c7ac
call fcn.0040751c
je 0x55c3d8
lea eax, [ebp - 0xc]
mov edx, 0x55c7bc
call fcn.004077c0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00406e88
lea eax, [ebp - 0xc]
mov edx, 0x55c7cc
call fcn.004077c0
lea eax, [ebp - 0x278]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004075c4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x55c75a
mov bl, 1
jmp 0x55c749
test byte [ebp - 0x278], 0x10
jne 0x55c5b7
lea eax, [ebp - 0x284]
lea edx, [ebp - 0x24c]
mov ecx, 0x104
call fcn.00407668
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00407818
mov eax, dword [ebp + 8]
cmp byte [eax], 1
jne 0x55c524
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.00559fa4
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x55c51d
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x55c4ef
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x28]
call fcn.00559fb4
lea eax, [ebp - 0x28c]
mov ecx, 0x55c7bc
mov edx, dword [ebp - 8]
call fcn.00407818
mov eax, dword [ebp - 0x28c]
lea edx, [ebp - 0x288]
call fcn.0041d288
mov eax, dword [ebp - 0x288]
push eax
lea eax, [ebp - 0x294]
mov ecx, 0x55c7bc
mov edx, dword [ebp - 0x14]
call fcn.00407818
mov eax, dword [ebp - 0x294]
lea edx, [ebp - 0x290]
call fcn.0041d288
mov eax, dword [ebp - 0x290]
mov ecx, 1
pop edx
call fcn.00450878
test eax, eax
je 0x55c4ef
mov byte [ebp - 0x21], 1
jmp 0x55c4ff
mov eax, dword [ebp - 0x28]
call fcn.0055a02c
test al, al
jne 0x55c47a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c524
cmp dword [ebp - 0x28], 0
je 0x55c51c
mov dl, 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx - 4]
ret
mov eax, dword [ebp + 8]
cmp byte [eax], 1
jne 0x55c57e
cmp byte [ebp - 0x21], 1
jne 0x55c57e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.0055c80c
cmp al, 1
jne 0x55c58b
lea eax, [ebp - 0x29c]
lea edx, [ebp - 0x24c]
mov ecx, 0x104
call fcn.00407668
mov eax, dword [ebp - 0x29c]
lea edx, [ebp - 0x298]
call fcn.0041d61c
mov edx, dword [ebp - 0x298]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x2c]
call fcn.0055971c
jmp 0x55c58b
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.0055c900
cmp al, 1
mov eax, dword [ebp + 8]
cmp byte [eax], 1
jne 0x55c733
cmp byte [ebp - 0x21], 1
jne 0x55c733
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 0x4c]
mov eax, dword [edi + 0x34]
mov edx, dword [ebp - 8]
call fcn.0055971c
jmp 0x55c733
lea eax, [ebp - 0x2a0]
lea edx, [ebp - 0x24c]
mov ecx, 0x104
call fcn.00407668
mov edx, dword [ebp - 0x2a0]
lea eax, [ebp - 8]
mov ecx, 0x55c7e0
call fcn.00407818
mov eax, dword [ebp - 8]
mov edx, 0x55c7f0
call fcn.00407950
je 0x55c733
mov eax, dword [ebp - 8]
mov edx, 0x55c804
call fcn.00407950
je 0x55c733
lea eax, [ebp - 0x2a4]
lea edx, [ebp - 0x24c]
mov ecx, 0x104
call fcn.00407668
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00407818
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.00559fa4
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x55c71a
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x55c6ec
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x28]
call fcn.00559fb4
lea eax, [ebp - 0x2ac]
mov ecx, 0x55c7bc
mov edx, dword [ebp - 8]
call fcn.00407818
mov eax, dword [ebp - 0x2ac]
lea edx, [ebp - 0x2a8]
call fcn.0041d288
mov eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2b4]
mov ecx, 0x55c7bc
mov edx, dword [ebp - 0x14]
call fcn.00407818
mov eax, dword [ebp - 0x2b4]
lea edx, [ebp - 0x2b0]
call fcn.0041d288
mov eax, dword [ebp - 0x2b0]
mov ecx, 1
pop edx
call fcn.00450878
test eax, eax
je 0x55c6e6
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x4c]
lea edx, [ebp - 0x2b8]
mov eax, dword [ebp - 8]
call fcn.0041d61c
mov edx, dword [ebp - 0x2b8]
mov eax, dword [esi + 0x30]
call fcn.0055971c
jmp 0x55c6fc
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov eax, dword [ebp - 0x28]
call fcn.0055a02c
test al, al
jne 0x55c64d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c721
cmp dword [ebp - 0x28], 0
je 0x55c719
mov dl, 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx - 4]
ret
lea eax, [ebp - 0x278]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_FindNextFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x55c419
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c79c
lea eax, [ebp - 0x2b8]
mov edx, 0xe
call fcn.00406ac0
lea eax, [ebp - 0x280]
mov edx, 2
call fcn.00406b20
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00406ac0
ret