Function at 0x403110
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443fa2
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x45563c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x5c]
call fcn.00406240
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
add ecx, 0x18
call fcn.00406240
mov byte [ebp - 4], 1
push 1
mov ecx, dword [ebp - 0x5c]
add ecx, 0x30
call fcn.00406fd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00406240
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00406240
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00406240
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00402dd0
add esp, 8
movzx edx, al
test edx, edx
jne 0x4031d1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004063e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004063e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004063e0
jmp 0x40338d
push 0x44e190
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040af40
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00406300
lea ecx, [ebp - 0xa0]
call fcn.004063e0
push 0x44e19c
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.0040af40
add esp, 0xc
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
lea edx, [ebp - 0xe8]
push edx
call fcn.0040b000
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 7
push str..txt
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.0040b040
add esp, 0xc
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00406300
lea ecx, [ebp - 0x118]
call fcn.004063e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe8]
call fcn.004063e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb8]
call fcn.004063e0
push 0x44e19c
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.0040af40
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.0040b000
add esp, 0xc
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 9
push str.Old.txt
mov edx, dword [ebp - 0x60]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.0040b040
add esp, 0xc
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 0x18
call fcn.00406300
lea ecx, [ebp - 0xd0]
call fcn.004063e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x100]
call fcn.004063e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x130]
call fcn.004063e0
lea ecx, [ebp - 0x28]
call fcn.00406480
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
je 0x403369
push 0
lea ecx, [ebp - 0x28]
call fcn.00406480
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004063e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004063e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004063e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411455
mov esp, ebp
pop ebp
ret