Function at 0x100043d0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x25c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push edi
mov ebp, ecx
mov edi, 0x2800
push 0x30
mov dword [esp + 0x28], ebp
mov dword [ebp + 0x1c], 0
mov dword [esp + 0x24], edi
call esi
add esp, 4
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov al, 0x2a
mov byte [esp + 0x17], al
mov byte [esp + 0x19], al
mov eax, dword [esp + 0x270]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x16c]
push ecx
push edx
mov byte [esp + 0x20], 0x25
mov byte [esp + 0x21], 0x73
mov byte [esp + 0x22], 0x5c
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x26], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x30
call esi
add esp, 0x10
lea eax, [esp + 0x28]
lea ecx, [esp + 0x168]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push 0x30
mov dword [esp + 0x20], eax
call esi
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, 0xffffffff
jne 0x10004494
lea edx, [esp + 0x13]
push 1
push edx
mov ecx, ebp
mov byte [esp + 0x1b], 0x68
call fcn.10006b20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 4
mov byte [ebx], 0x68
mov ebp, 1
jmp 0x100044a2
mov edi, dword [esp + 0x20]
lea eax, [edi - 0x208]
cmp ebp, eax
jbe 0x100044ca
add edi, 0x208
push 0
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x42
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebx, eax
mov edi, 0x10017318
lea esi, [esp + 0x54]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x100044fb
test al, al
je 0x100044f7
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x100044fb
add esi, 2
add edi, 2
test al, al
jne 0x100044d3
xor eax, eax
jmp 0x10004500
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000459a
mov edi, 0x10017314
lea esi, [esp + 0x54]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x10004539
test al, al
je 0x10004535
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x10004539
add esi, 2
add edi, 2
test al, al
jne 0x10004511
xor eax, eax
jmp 0x1000453e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000459a
mov al, byte [esp + 0x28]
lea ecx, [esp + 0x54]
and al, 0x10
push ecx
mov byte [ebx + ebp], al
inc ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea esi, [esp + 0x54]
mov edx, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebp, eax
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov byte [ebx + ebp - 1], 0
mov eax, dword [esp + 0x44]
mov dword [ebx + ebp], eax
mov ecx, dword [esp + 0x48]
mov dword [ebx + ebp + 4], ecx
mov edx, dword [esp + 0x3c]
add ebp, 8
mov dword [ebx + ebp], edx
mov eax, dword [esp + 0x40]
mov dword [ebx + ebp + 4], eax
add ebp, 8
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000449e
mov ecx, dword [esp + 0x24]
push ebp
push ebx
call fcn.10006b20
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 4