Function at 0x40f14e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcc97
mov eax, dword fs:[0]
push eax
mov eax, 0x6d7c
call fcn.004eaef0
mov eax, dword [0x5475b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x6d88], edi
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x6d6c]
call fcn.0040e8bd
mov eax, dword [0x548750]
mov dword [ebp - 0x6d80], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x6d84], ecx
mov dword [ebp - 0x6d74], eax
lea eax, [edi + 0x30]
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x6d78]
mov dword [ebp - 0x6d70], eax
push ecx
mov ecx, eax
call fcn.0040fa89
mov esi, dword [ebp - 0x6d78]
cmp esi, dword [edi + 0x30]
je 0x40f27e
lea ecx, [ebp - 0x5a8]
call fcn.0040e8fd
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40f200
lea ecx, [ebp - 0x5a8]
push ecx
push dword [esi + 0x14]
call eax
pop ecx
pop ecx
cmp dword [ebp - 0x5a8], 2
jne 0x40f224
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40f219
push dword [esi + 0x14]
call eax
pop ecx
push ebx
call fcn.004d972c
jmp 0x40f3fa
cmp dword [ebp - 0x5a8], 3
je 0x40f219
cmp dword [ebp - 0x5a8], 4
jne 0x40f265
lea ecx, [ebx + 0x1850]
call fcn.00404c46
test eax, eax
jne 0x40f219
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40f255
push dword [esi + 0x14]
call eax
pop ecx
push esi
lea eax, [ebp - 0x6d7c]
push eax
lea ecx, [edi + 0x30]
call fcn.0040f844
cmp dword [ebp - 0x5a4], 0x43
jne 0x40f209
push esi
lea eax, [ebp - 0x6d7c]
push eax
lea ecx, [edi + 0x30]
call fcn.0040f844
lea eax, [ebp - 0x6d74]
push eax
lea eax, [ebp - 0x6d80]
push eax
lea eax, [ebx + 0x1850]
push eax
call fcn.0040f6b8
xor esi, esi
push esi
push dword [ebp - 0x6d74]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x6d68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x6d80]
lea eax, [ebp - 0x2cd8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x6d74]
lea eax, [ebp - 0x28c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebx + 0x1050]
push eax
lea eax, [ebp - 0x4cd8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x25ac], 1
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f3ea
lea ecx, [ebp - 0x6d6c]
push ecx
call eax
mov edi, eax
mov dword [ebp - 0x6d7c], edi
pop ecx
test edi, edi
je 0x40f3ea
push 0x414
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.004deff0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x2cd8]
add esp, 0xc
mov dword [ebp - 0x428], edi
push eax
lea eax, [ebp - 0x424]
push eax
call esi
lea eax, [ebp - 0x28c8]
push eax
lea eax, [ebp - 0x21c]
push eax
call esi
mov edi, dword [ebp - 0x6d70]
lea eax, [ebp - 0x6d78]
push ebx
push eax
mov ecx, edi
call fcn.0040fac3
mov esi, dword [ebp - 0x6d78]
cmp esi, dword [edi]
je 0x40f38b
mov eax, dword [ebx]
cmp eax, dword [esi + 0x10]
jge 0x40f3bb
push ecx
lea eax, [ebp - 0x6d70]
mov dword [ebp - 0x6d70], ebx
push eax
push ecx
mov ecx, edi
call fcn.0040fcd2
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x6d70]
push eax
call fcn.0040fd0d
mov esi, dword [ebp - 0x6d70]
mov eax, dword [ebp - 0x6d88]
lea edi, [esi + 0x14]
mov ecx, 0x105
lea esi, [ebp - 0x428]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40f219
push dword [ebp - 0x6d7c]
jmp 0x40f216
push ebx
call fcn.004d972c
mov dword [ebp - 0x6d84], 1
pop ecx
lea ecx, [ebp - 0x6d74]
call fcn.00403080
lea ecx, [ebp - 0x6d80]
call fcn.00403080
mov eax, dword [ebp - 0x6d84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d9731
mov esp, ebp
pop ebp
ret 8