Function at 0x414ec1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x42e0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov byte [ebp - 0x14], 1
mov edi, 0x104
mov dword [ebp - 0x18], eax
push edi
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x10], edi
mov esi, edx
mov ebx, ecx
push eax
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x474], ebx
call fcn.00417fbd
xor eax, eax
lea ecx, [ebp - 0x220]
add esp, 0xc
cmp byte [ebp - 0x14], al
sete al
dec eax
and eax, 0x7ee3
add eax, edi
push eax
call fcn.0040e3f0
xor edi, edi
test eax, eax
js 0x41516c
mov dword [esi], 1
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, di
jne 0x414f3c
sub esi, ecx
sar esi, 1
je 0x420c9f
lea eax, [esi + 3]
cmp eax, 0x7fe7
ja 0x41512d
lea eax, [ebp - 0x470]
push eax
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x420ca9
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov ecx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x470]
test al, 0x10
je 0x41512d
test eax, 0x400
jne 0x420cbf
push ebx
lea ecx, [ebp - 0x220]
call fcn.0040a641
movzx eax, word [ebx + esi*2 - 2]
cmp eax, 0x3a
je 0x414fc8
cmp eax, 0x5c
je 0x414fc8
push 0x40250c
lea ecx, [ebp - 0x220]
call fcn.0041232c
inc esi
push 0x402670
lea ecx, [ebp - 0x220]
call fcn.0041232c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x420cd0
lea ecx, [ebp - 0x470]
push ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov dword [ebp - 0x47c], eax
cmp eax, 0xffffffff
je 0x41512d
cmp dword [0x43259c], 0
jne 0x415111
lea edx, [ebp - 0x23c]
xor ebx, ebx
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41501a
sub ecx, edi
sar ecx, 1
jne 0x415045
lea edx, [ebp - 0x444]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x415036
sub ecx, edi
sar ecx, 1
lea eax, [ecx + esi]
cmp eax, 0x7fe7
jae 0x420f02
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x420cdb
push edx
mov edx, dword [ebp - 0x10]
lea ecx, [eax + esi*2]
sub edx, esi
call fcn.0040f3a0
mov ebx, dword [ebp - 0x470]
test bl, 0x10
je 0x420d60
push 4
mov ecx, 0x402434
lea eax, [ebp - 0x444]
pop ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x415159
test dx, dx
je 0x4150b1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x415159
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x415089
xor edi, edi
mov eax, edi
test eax, eax
je 0x4150f6
mov ecx, 0x402510
lea eax, [ebp - 0x444]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x415165
test dx, dx
je 0x4150ec
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x415165
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x4150c4
mov eax, edi
test eax, eax
jne 0x420ce6
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x415000
mov ebx, dword [ebp - 0x474]
mov eax, dword [ebp - 0x47c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
cmp dword [0x43259c], 0
jne 0x415171
mov ecx, ebx
call fcn.00415271
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x415148
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416b30
leave
ret
sbb eax, eax
or eax, 1
xor edi, edi
jmp 0x4150b5
sbb eax, eax
or eax, 1
jmp 0x4150ee
push 8
pop esi
jmp 0x415136
mov esi, edi
jmp 0x415136
jne 0x420ca8
xor al, al
jmp 0x420ec2
push 0x20a
or al, byte [edx]
add byte [eax], al
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
call edx
add esp, 4
mov dword [ebp - 8], eax
push 0x20a
mov eax, dword [ebp - 8]
push eax
call fcn.00416d73
add esp, 8
push 0x20a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
call ecx
add cl, byte [ebx - 0x2e00dbb8]
add esp, 4
mov dword [ebp - 0xc], eax
push 0x20a
mov edx, dword [ebp - 0xc]
push edx
call fcn.00416d73
add esp, 8
push 0x20a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
add esp, 4
mov dword [ebp - 4], eax
push 0x20a
mov ecx, dword [ebp - 4]
push ecx
call fcn.00416d73
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov ecx, 0x64
imul edx, ecx, 3
lea ecx, [eax + edx + 0x224]
mov edx, dword [ebp - 0xc]
call fcn.00417528
push 0x104
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x34], 0
hlt
xor al, 0
je 0x420d87
mov edx, 0x36
mov word [ebp - 0x18], dx
mov eax, 0x34
mov word [ebp - 0x16], ax
xor ecx, ecx
mov word [ebp - 0x14], cx
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 8]
call fcn.0041770e
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call fcn.00417b98
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x420e1b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
cmp dword [edx + 0x60], 2
jne 0x420dc7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov edx, 0x64
shl edx, 2
lea ecx, [ecx + edx + 0x224]
mov edx, dword [ebp - 4]
call fcn.00417528
jmp 0x420e19
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x60], 3
jne 0x420df1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov ecx, 0x64
imul edx, ecx, 5
lea ecx, [eax + edx + 0x224]
mov edx, dword [ebp - 4]
call fcn.00417528
jmp 0x420e19
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x60], 4
jne 0x420e19
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov ecx, 0x64
imul edx, ecx, 6
lea ecx, [eax + edx + 0x224]
mov edx, dword [ebp - 4]
call fcn.00417528
jmp 0x420e26
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
call fcn.00417528
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.004174b6
push 0x20a
mov eax, dword [ebp - 4]
push eax
call fcn.00416d73
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov eax, 0x64
imul ecx, eax, 7
lea ecx, [edx + ecx + 0x224]
mov edx, dword [ebp - 4]
call fcn.00417528
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.004174b6
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.0041764c
cmp dword [ebp - 8], 0
je 0x420e8e
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x420ea7
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
call edx
add esp, 4
cmp dword [ebp - 4], 0
je 0x420ec0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
call ecx
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
add ecx, ebp
inc ecx
add dword [eax], eax
add bh, al
inc ebp
hlt