Function at 0x415590
Capabilities:
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0xa6c
push ebx
push ebp
mov ebp, dword [esp + 0xa7c]
push esi
push edi
push 0
push 0
push ecx
mov esi, ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebp
mov dword [esp + 0x24], esi
call fcn.004046e0
mov ecx, esi
call fcn.00414f30
test eax, eax
je 0x4155cc
push ebp
call fcn.00426c69
add esp, 4
push 0
push ebp
mov ecx, esi
call fcn.00414380
lea edx, [esp + 0x770]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4155e1
mov esi, dword [esp + 0xa80]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4155f7
sub eax, edx
cmp eax, 0xffffffff
jle 0x415614
cmp byte [eax + esi], 0x5c
je 0x415611
dec eax
cmp eax, 0xffffffff
jg 0x415605
cmp eax, 0xffffffff
jne 0x41563c
lea edx, [esp + 0x66c]
mov byte [esp + 0x158], 0
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x415630
jmp 0x41566f
lea edi, [esp + 0x158]
mov ecx, esi
sub edi, esi
mov dl, byte [ecx]
mov byte [edi + ecx], dl
inc ecx
test dl, dl
jne 0x415647
mov byte [esp + eax + 0x158], dl
lea eax, [eax + esi + 1]
lea edx, [esp + 0x66c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x415665
lea edi, [esp + 0x158]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415677
mov si, word [0x447218]
lea edx, [esp + 0x25c]
mov word [edi], si
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x415694
lea edi, [esp + 0x25c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4156a6
mov word [edi], si
xor eax, eax
jmp 0x4156c0
mov cl, byte [esp + eax + 0x158]
mov byte [esp + eax + 0x464], cl
inc eax
test cl, cl
jne 0x4156c0
lea eax, [esp + 0x66c]
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4156e0
lea edi, [esp + 0x464]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4156f1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x468]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [esp + 0xaa0]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4158db
lea esp, [esp]
mov edi, 0x447900
lea esi, [esp + 0x44]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4158c0
mov edi, 0x4478fc
lea esi, [esp + 0x44]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4158c0
test byte [esp + 0x18], 0x10
jne 0x4158b0
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x158]
mov byte [esp + eax + 0x360], cl
inc eax
test cl, cl
jne 0x415770
lea eax, [esp + 0x44]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415790
lea edi, [esp + 0x360]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4157a1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
jmp 0x4157c0
mov cl, byte [esp + eax + 0x25c]
mov byte [esp + eax + 0x978], cl
inc eax
test cl, cl
jne 0x4157c0
lea eax, [esp + 0x44]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4157e0
lea edi, [esp + 0x978]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4157f1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x25c]
lea eax, [esp + 0x770]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41583b
test cl, cl
je 0x415837
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41583b
add eax, 2
add esi, 2
test cl, cl
jne 0x415817
xor eax, eax
jmp 0x415840
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x415873
push 0
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor eax, eax
jmp 0x415860
mov cl, byte [esp + eax + 0x25c]
mov byte [esp + eax + 0x770], cl
inc eax
test cl, cl
jne 0x415860
mov ecx, dword [esp + 0xa9c]
mov edx, dword [esp + 0xa8c]
push ebx
push ecx
push edx
lea eax, [esp + 0x984]
push eax
lea ecx, [esp + 0x370]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004151a0
test al, al
je 0x415b28
mov eax, dword [esp + 0xa90]
inc dword [eax]
jmp 0x4158c0
push 0
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x415730
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0xa88]
test eax, eax
je 0x415b12
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x158]
mov byte [esp + eax + 0x464], cl
inc eax
test cl, cl
jne 0x4158f0
lea edi, [esp + 0x464]
dec edi
jmp 0x415910
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415910
mov ecx, dword [0x448844]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x468]
push eax
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x415b12
mov ebp, dword [esp + 0xa98]
mov ebx, dword [esp + 0xa94]
mov edi, edi
xor eax, eax
jmp 0x415960
mov cl, byte [esp + eax + 0x158]
mov byte [esp + eax + 0x360], cl
inc eax
test cl, cl
jne 0x415960
lea eax, [esp + 0x44]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415980
lea edi, [esp + 0x360]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x415991
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x447900
lea esi, [esp + 0x44]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x415af3
mov edi, 0x4478fc
lea esi, [esp + 0x44]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x415af3
test byte [esp + 0x18], 0x10
je 0x415af3
xor eax, eax
jmp 0x4159f0
mov cl, byte [esp + eax + 0x25c]
mov byte [esp + eax + 0x874], cl
inc eax
test cl, cl
jne 0x4159f0
lea eax, [esp + 0x44]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415a10
lea edi, [esp + 0x874]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x415a21
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
jmp 0x415a40
mov cl, byte [esp + eax + 0x360]
mov byte [esp + eax + 0x568], cl
inc eax
test cl, cl
jne 0x415a40
lea edi, [esp + 0x568]
dec edi
jmp 0x415a60
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415a60
mov cx, word [0x447218]
lea eax, [esp + 0x66c]
mov word [edi], cx
mov esi, eax
jmp 0x415a80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415a80
lea edi, [esp + 0x568]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x415a91
mov edx, dword [esp + 0xaa0]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push edx
mov edx, dword [esp + 0xa90]
mov ecx, eax
mov eax, dword [esp + 0xaa0]
push eax
mov eax, dword [esp + 0xa90]
push ebp
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xaa0]
push ecx
push edx
push eax
lea ecx, [esp + 0x890]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x588]
push edx
call fcn.00415590
mov ecx, dword [esp + 0xa90]
add dword [ecx], eax
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x415950
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xa90]
mov eax, dword [ecx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa6c
ret 0x24
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xa6c
ret 0x24