Function at 0x43b5c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x988
mov eax, dword [0x44dd70]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x43b5de
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x20
jg 0x43b5f5
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jl 0x43b5f5
jmp 0x43b5d5
push 0x10
call fcn.0043c9d0
add esp, 4
mov dword [ebp - 0x20c], eax
mov edx, dword [ebp - 0x20c]
mov dword [edx], 1
mov eax, dword [ebp - 0x20c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x20c]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x20c]
mov dword [edx + 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x43b64d
mov eax, dword [ebp - 0x20c]
jmp 0x43bbe8
mov byte [ebp - 0x411], 0
push 0x1ff
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.MSVCR90.dll_strncpy]
add esp, 0xc
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x41c], ecx
lea edx, [ebp - 0x410]
push edx
call sub.MSVCR90.dll_strlen
add esp, 4
cmp eax, 2
jb 0x43b6db
movsx eax, byte [ebp - 0x40f]
cmp eax, 0x3a
jne 0x43b6db
movsx ecx, byte [ebp - 0x410]
push ecx
call dword [sym.imp.MSVCR90.dll_toupper]
add esp, 4
cmp eax, 0x5a
jg 0x43b6db
movsx edx, byte [ebp - 0x410]
push edx
call dword [sym.imp.MSVCR90.dll_toupper]
add esp, 4
cmp eax, 0x41
jl 0x43b6db
mov eax, dword [ebp - 0x41c]
add eax, 2
mov dword [ebp - 0x41c], eax
mov byte [ebp - 0x411], 1
push 0x2f
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.0043b1e0
add esp, 8
mov dword [ebp - 0x420], eax
push 0x5c
mov edx, dword [ebp - 0x41c]
push edx
call fcn.0043b1e0
add esp, 8
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
cmp eax, dword [ebp - 0x420]
jbe 0x43b725
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x418], ecx
jmp 0x43b731
mov edx, dword [ebp - 0x420]
mov dword [ebp - 0x418], edx
cmp dword [ebp - 0x418], 0
jne 0x43b755
movzx eax, byte [ebp - 0x411]
test eax, eax
je 0x43b755
mov byte [ebp - 0x40e], 0
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x418], 0
je 0x43b787
mov edx, dword [ebp - 0x418]
lea eax, [ebp - 0x410]
sub edx, eax
mov ecx, dword [ebp + 8]
lea edx, [ecx + edx + 1]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x418]
mov byte [eax + 1], 0
mov byte [ebp - 0x411], 1
mov cl, byte [0x4492d0]
mov byte [ebp - 0x208], cl
push 0x1ff
push 0
lea edx, [ebp - 0x207]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x210], 0
movzx eax, byte [ebp - 0x411]
test eax, eax
jne 0x43b7d8
mov byte [ebp - 0x410], 0x2e
mov byte [ebp - 0x40f], 0x5c
mov byte [ebp - 0x40e], 0
jmp 0x43b865
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x208]
push edx
call sub.MSVCR90.dll_strcpy
add esp, 8
lea eax, [ebp - 0x410]
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
mov dl, byte [ebp + ecx - 0x209]
mov byte [ebp - 0x425], dl
movsx eax, byte [ebp - 0x425]
cmp eax, 0x2f
je 0x43b865
movsx ecx, byte [ebp - 0x425]
cmp ecx, 0x5c
je 0x43b865
movsx edx, byte [ebp - 0x425]
cmp edx, 0x3a
je 0x43b865
mov eax, dword [ebp - 0x210]
mov byte [ebp + eax - 0x208], 0x5c
mov ecx, dword [ebp - 0x210]
mov byte [ebp + ecx - 0x207], 0
mov edx, dword [ebp - 0x210]
add edx, 1
mov dword [ebp - 0x210], edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x770]
push ecx
call sub.MSVCR90.dll_strcpy
add esp, 8
push 0x4492d4
lea edx, [ebp - 0x770]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
lea eax, [ebp - 0x568]
push eax
lea ecx, [ebp - 0x770]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x56c], eax
cmp dword [ebp - 0x56c], 0xffffffff
jne 0x43b8bd
mov eax, dword [ebp - 0x20c]
jmp 0x43bbe8
push 0x4492d8
lea edx, [ebp - 0x53c]
push edx
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
je 0x43ba93
push 0x4492dc
lea eax, [ebp - 0x53c]
push eax
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
je 0x43ba93
push 0
lea ecx, [ebp - 0x53c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043b490
add esp, 0xc
test eax, eax
je 0x43ba93
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x20c]
mov edx, dword [eax + 4]
cmp edx, dword [ecx]
jne 0x43b9c8
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
add ecx, 0x32
mov edx, dword [ebp - 0x20c]
mov dword [edx], ecx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
lea edx, [ecx*4 + 0xc]
push edx
mov eax, dword [ebp - 0x20c]
push eax
call fcn.0043c9f0
add esp, 8
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x20c]
lea ecx, [eax + edx*4 + 0xc]
mov dword [ebp - 0x774], ecx
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x20c]
mov ecx, dword [edx]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x778], ecx
jmp 0x43b9b1
mov edx, dword [ebp - 0x774]
add edx, 4
mov dword [ebp - 0x774], edx
mov eax, dword [ebp - 0x778]
sub eax, 1
mov dword [ebp - 0x778], eax
cmp dword [ebp - 0x778], 0
jbe 0x43b9c8
mov ecx, dword [ebp - 0x774]
mov dword [ecx], 0
jmp 0x43b993
movzx edx, byte [ebp - 0x411]
test edx, edx
jne 0x43ba10
lea eax, [ebp - 0x53c]
push eax
call dword [sym.imp.MSVCR90.dll__strdup]
add esp, 4
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x20c]
mov dword [ecx + edx*4 + 0xc], eax
mov edx, dword [ebp - 0x20c]
mov eax, dword [edx + 4]
add eax, 1
mov ecx, dword [ebp - 0x20c]
mov dword [ecx + 4], eax
jmp 0x43ba93
lea edx, [ebp - 0x53c]
push edx
call sub.MSVCR90.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x210]
lea edx, [ecx + eax + 1]
push edx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebp - 0x77c], eax
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x77c]
push ecx
call sub.MSVCR90.dll_strcpy
add esp, 8
lea edx, [ebp - 0x53c]
push edx
mov eax, dword [ebp - 0x77c]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x77c]
mov dword [eax + edx*4 + 0xc], ecx
mov edx, dword [ebp - 0x20c]
mov eax, dword [edx + 4]
add eax, 1
mov ecx, dword [ebp - 0x20c]
mov dword [ecx + 4], eax
lea edx, [ebp - 0x568]
push edx
mov eax, dword [ebp - 0x56c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43b8bd
mov ecx, dword [ebp - 0x56c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
movzx edx, byte [ebp - 0x411]
test edx, edx
je 0x43bbd5
xor eax, eax
je 0x43bbd5
lea ecx, [ebp - 0x410]
push ecx
call sub.MSVCR90.dll_strlen
add esp, 4
mov dword [ebp - 0x780], eax
mov edx, dword [ebp - 0x780]
movsx eax, byte [ebp + edx - 0x411]
cmp eax, 0x2f
je 0x43bb3d
mov ecx, dword [ebp - 0x780]
movsx edx, byte [ebp + ecx - 0x411]
cmp edx, 0x5c
je 0x43bb3d
mov eax, dword [ebp - 0x780]
movsx ecx, byte [ebp + eax - 0x411]
cmp ecx, 0x3a
je 0x43bb3d
mov edx, dword [ebp - 0x780]
mov byte [ebp + edx - 0x410], 0x5c
mov eax, dword [ebp - 0x780]
mov byte [ebp + eax - 0x40f], 0
mov ecx, dword [ebp - 0x20c]
add ecx, 0xc
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x20c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x788], eax
jmp 0x43bb7b
mov ecx, dword [ebp - 0x784]
add ecx, 4
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x788]
sub edx, 1
mov dword [ebp - 0x788], edx
cmp dword [ebp - 0x788], 0
jbe 0x43bbd5
mov eax, dword [ebp - 0x784]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x410]
push edx
push str._s_s
lea eax, [ebp - 0x988]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
mov ecx, dword [ebp - 0x784]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea eax, [ebp - 0x988]
push eax
call dword [sym.imp.MSVCR90.dll__strdup]
add esp, 4
mov ecx, dword [ebp - 0x784]
mov dword [ecx], eax
jmp 0x43bb5d
mov edx, dword [ebp - 0x20c]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043cde0
mov esp, ebp
pop ebp
ret