Function at 0x4099f0
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47498b
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x492740]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492740]
xor eax, esp
push eax
lea eax, [esp + 0x214]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
push 0x48312c
lea ecx, [esp + 0x98]
mov dword [esp + 0x220], 0
call fcn.004044b0
push 0x48313c
lea ecx, [esp + 0xb4]
mov byte [esp + 0x220], 1
call fcn.004044b0
lea eax, [esp + 0x224]
push eax
mov esi, 0x483128
lea edi, [esp + 0x28]
mov byte [esp + 0x220], 2
mov byte [esp + 0x1f], 0
call fcn.00409500
lea ecx, [esp + 0xb4]
push ecx
push eax
lea edi, [esp + 0x4c]
mov byte [esp + 0x228], 3
call fcn.00409d80
add esp, 0xc
lea edx, [esp + 0xcc]
push edx
mov ecx, eax
call fcn.00403f40
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, edi
mov ebp, eax
call fcn.00403f20
lea ecx, [esp + 0x24]
mov byte [esp + 0x21c], 2
call fcn.00403f20
cmp ebp, 0xffffffff
je 0x409bca
test byte [esp + 0xcc], 0x10
je 0x409ba1
lea ecx, [esp + 0x94]
call fcn.00403f40
lea ecx, [esp + 0xf8]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x409b20
test dl, dl
je 0x409b1c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x409b20
add ecx, 2
add eax, 2
test dl, dl
jne 0x409b00
xor eax, eax
jmp 0x409b25
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x409b2e
mov byte [esp + 0x1b], 1
lea eax, [esp + 0x224]
push eax
mov esi, 0x483128
lea edi, [esp + 0x60]
call fcn.00409500
push eax
lea esi, [esp + 0x100]
lea edi, [esp + 0x80]
mov byte [esp + 0x224], 4
call fcn.00409500
sub esp, 0x14
mov edi, esp
mov dword [esp + 0x38], esp
push eax
mov esi, 0x483128
mov byte [esp + 0x23c], 5
call fcn.00409500
mov edx, dword [ebx]
mov eax, dword [edx]
add esp, 4
mov ecx, ebx
call eax
lea ecx, [esp + 0x78]
call fcn.00403f20
lea ecx, [esp + 0x5c]
mov byte [esp + 0x21c], 2
call fcn.00403f20
lea ecx, [esp + 0xcc]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409adf
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x1b], 0
jne 0x409d04
lea edx, [esp + 0x224]
push edx
mov esi, 0x483128
lea edi, [esp + 0x7c]
call fcn.00409500
lea ecx, [esp + 0x98]
push ecx
push eax
lea edi, [esp + 0x68]
mov byte [esp + 0x228], 6
call fcn.00409d80
add esp, 0xc
lea edx, [esp + 0xcc]
push edx
mov ecx, eax
call fcn.00403f40
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, edi
mov ebp, eax
call fcn.00403f20
lea ecx, [esp + 0x78]
mov byte [esp + 0x21c], 2
call fcn.00403f20
cmp ebp, 0xffffffff
jne 0x409d52
lea eax, [esp + 0x224]
push eax
lea edi, [esp + 0x44]
call fcn.00409500
lea ecx, [esp + 0x98]
push ecx
push eax
lea edi, [esp + 0x30]
mov byte [esp + 0x228], 7
call fcn.00409d80
add esp, 0xc
push 0
mov ecx, eax
call fcn.00403f40
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
mov ecx, edi
sete bl
call fcn.00403f20
lea ecx, [esp + 0x40]
mov byte [esp + 0x21c], 2
call fcn.00403f20
test bl, bl
jne 0x409d04
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x224]
push edx
mov esi, 0x483128
lea edi, [esp + 0x44]
call fcn.00409500
lea ecx, [esp + 0x98]
push ecx
push eax
lea edi, [esp + 0x30]
mov byte [esp + 0x228], 8
call fcn.00409d80
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x23c], 9
call fcn.00409500
mov edx, dword [ebx]
mov eax, dword [edx]
add esp, 4
mov ecx, ebx
call eax
lea ecx, [esp + 0x24]
call fcn.00403f20
lea ecx, [esp + 0x40]
call fcn.00403f20
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xb0]
call fcn.00403f20
lea ecx, [esp + 0x94]
call fcn.00403f20
lea ecx, [esp + 0x224]
call fcn.00403f20
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.0043aca7
add esp, 0x20c
ret 0x1c
test byte [esp + 0xcc], 0x10
jne 0x409c99
jmp 0x409cfd