Function at 0x40ebb8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9253
mov eax, dword fs:[0]
push eax
mov eax, 0x6d7c
call fcn.004e7570
mov eax, dword [0x5415b0]
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.0040e327
mov eax, dword [0x542750]
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.0040f4f3
mov esi, dword [ebp - 0x6d78]
cmp esi, dword [edi + 0x30]
je 0x40ece8
lea ecx, [ebp - 0x5a8]
call fcn.0040e367
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40ec6a
lea ecx, [ebp - 0x5a8]
push ecx
push dword [esi + 0x14]
call eax
pop ecx
pop ecx
cmp dword [ebp - 0x5a8], 2
jne 0x40ec8e
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40ec83
push dword [esi + 0x14]
call eax
pop ecx
push ebx
call fcn.004d5e25
jmp 0x40ee64
cmp dword [ebp - 0x5a8], 3
je 0x40ec83
cmp dword [ebp - 0x5a8], 4
jne 0x40eccf
lea ecx, [ebx + 0x1850]
call fcn.00404b29
test eax, eax
jne 0x40ec83
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40ecbf
push dword [esi + 0x14]
call eax
pop ecx
push esi
lea eax, [ebp - 0x6d7c]
push eax
lea ecx, [edi + 0x30]
call fcn.0040f2ae
cmp dword [ebp - 0x5a4], 0x43
jne 0x40ec73
push esi
lea eax, [ebp - 0x6d7c]
push eax
lea ecx, [edi + 0x30]
call fcn.0040f2ae
lea eax, [ebp - 0x6d74]
push eax
lea eax, [ebp - 0x6d80]
push eax
lea eax, [ebx + 0x1850]
push eax
call fcn.0040f122
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 0x40ee54
lea ecx, [ebp - 0x6d6c]
push ecx
call eax
mov edi, eax
mov dword [ebp - 0x6d7c], edi
pop ecx
test edi, edi
je 0x40ee54
push 0x414
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.004db6f0
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.0040f52d
mov esi, dword [ebp - 0x6d78]
cmp esi, dword [edi]
je 0x40edf5
mov eax, dword [ebx]
cmp eax, dword [esi + 0x10]
jge 0x40ee25
push ecx
lea eax, [ebp - 0x6d70]
mov dword [ebp - 0x6d70], ebx
push eax
push ecx
mov ecx, edi
call fcn.0040f73c
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x6d70]
push eax
call fcn.0040f777
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 0x40ec83
push dword [ebp - 0x6d7c]
jmp 0x40ec80
push ebx
call fcn.004d5e25
mov dword [ebp - 0x6d84], 1
pop ecx
lea ecx, [ebp - 0x6d74]
call fcn.00403030
lea ecx, [ebp - 0x6d80]
call fcn.00403030
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.004d5e2a
mov esp, ebp
pop ebp
ret 8