Function at 0x441630
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x988
mov eax, dword [0x46a570]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x44164e
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 0x441665
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jl 0x441665
jmp 0x441645
push 0x10
call fcn.00442aa0
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 0x4416bd
mov eax, dword [ebp - 0x20c]
jmp 0x441c58
mov byte [ebp - 0x411], 0
push 0x1ff
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x41c], ecx
lea edx, [ebp - 0x410]
push edx
call sub.MSVCR100.dll_strlen
add esp, 4
cmp eax, 2
jb 0x44174b
movsx eax, byte [ebp - 0x40f]
cmp eax, 0x3a
jne 0x44174b
movsx ecx, byte [ebp - 0x410]
push ecx
call dword [sym.imp.MSVCR100.dll_toupper]
add esp, 4
cmp eax, 0x5a
jg 0x44174b
movsx edx, byte [ebp - 0x410]
push edx
call dword [sym.imp.MSVCR100.dll_toupper]
add esp, 4
cmp eax, 0x41
jl 0x44174b
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.00442460
add esp, 8
mov dword [ebp - 0x420], eax
push 0x5c
mov edx, dword [ebp - 0x41c]
push edx
call fcn.00442460
add esp, 8
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
cmp eax, dword [ebp - 0x420]
jbe 0x441795
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x418], ecx
jmp 0x4417a1
mov edx, dword [ebp - 0x420]
mov dword [ebp - 0x418], edx
cmp dword [ebp - 0x418], 0
jne 0x4417c5
movzx eax, byte [ebp - 0x411]
test eax, eax
je 0x4417c5
mov byte [ebp - 0x40e], 0
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x418], 0
je 0x4417f7
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 [0x466190]
mov byte [ebp - 0x208], cl
push 0x1ff
push 0
lea edx, [ebp - 0x207]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x210], 0
movzx eax, byte [ebp - 0x411]
test eax, eax
jne 0x441848
mov byte [ebp - 0x410], 0x2e
mov byte [ebp - 0x40f], 0x5c
mov byte [ebp - 0x40e], 0
jmp 0x4418d5
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x208]
push edx
call sub.MSVCR100.dll_strcpy
add esp, 8
lea eax, [ebp - 0x410]
push eax
call sub.MSVCR100.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 0x4418d5
movsx ecx, byte [ebp - 0x425]
cmp ecx, 0x5c
je 0x4418d5
movsx edx, byte [ebp - 0x425]
cmp edx, 0x3a
je 0x4418d5
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.MSVCR100.dll_strcpy
add esp, 8
push 0x466194
lea edx, [ebp - 0x770]
push edx
call sub.MSVCR100.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 0x44192d
mov eax, dword [ebp - 0x20c]
jmp 0x441c58
push 0x466198
lea edx, [ebp - 0x53c]
push edx
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
je 0x441b03
push 0x46619c
lea eax, [ebp - 0x53c]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
je 0x441b03
push 0
lea ecx, [ebp - 0x53c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00441500
add esp, 0xc
test eax, eax
je 0x441b03
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x20c]
mov edx, dword [eax + 4]
cmp edx, dword [ecx]
jne 0x441a38
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.00442ac0
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 0x441a21
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 0x441a38
mov ecx, dword [ebp - 0x774]
mov dword [ecx], 0
jmp 0x441a03
movzx edx, byte [ebp - 0x411]
test edx, edx
jne 0x441a80
lea eax, [ebp - 0x53c]
push eax
call dword [sym.imp.MSVCR100.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 0x441b03
lea edx, [ebp - 0x53c]
push edx
call sub.MSVCR100.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x210]
lea edx, [ecx + eax + 1]
push edx
call dword [sym.imp.MSVCR100.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.MSVCR100.dll_strcpy
add esp, 8
lea edx, [ebp - 0x53c]
push edx
mov eax, dword [ebp - 0x77c]
push eax
call sub.MSVCR100.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 0x44192d
mov ecx, dword [ebp - 0x56c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
movzx edx, byte [ebp - 0x411]
test edx, edx
je 0x441c45
xor eax, eax
je 0x441c45
lea ecx, [ebp - 0x410]
push ecx
call sub.MSVCR100.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 0x441bad
mov ecx, dword [ebp - 0x780]
movsx edx, byte [ebp + ecx - 0x411]
cmp edx, 0x5c
je 0x441bad
mov eax, dword [ebp - 0x780]
movsx ecx, byte [ebp + eax - 0x411]
cmp ecx, 0x3a
je 0x441bad
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 0x441beb
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 0x441c45
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.MSVCR100.dll_sprintf]
add esp, 0x10
mov ecx, dword [ebp - 0x784]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
lea eax, [ebp - 0x988]
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov ecx, dword [ebp - 0x784]
mov dword [ecx], eax
jmp 0x441bcd
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.00442f5b
mov esp, ebp
pop ebp
ret