Function at 0x11645b0
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
xor edi, edi
push edi
push edi
push 1
push eax
mov dword [ebp - 4], edi
call fcn.0114d550
mov ecx, dword [esi + 4]
push ecx
call fcn.01163ab0
mov edx, dword [esi]
push 1
push 0x1055480
push edi
push 0x8020
push 0x10021ac
push edx
call fcn.01127e30
mov ecx, dword [esi]
mov ebx, dword [ebp + 0xc]
mov dword [ecx + 0x3590], eax
mov edx, dword [esi]
cmp dword [edx + 0x3590], edi
je 0x1164895
push esi
call fcn.010fbbe0
test eax, eax
je 0x1164895
mov eax, dword [esi]
mov ecx, dword [eax + 0x35a8]
push ecx
push esi
call fcn.0109e5c0
mov eax, dword [esi]
mov edx, dword [eax + 0x35a8]
push edx
push eax
call fcn.010da4a0
mov eax, dword [esi]
mov dword [eax + 0x1331c], 1
mov edx, dword [esi]
mov ecx, dword [ebx + 0x5c]
mov eax, dword [edx + 0x35a8]
push 1
push ecx
mov ecx, dword [ebx + 0x45c]
add eax, 0x70
push eax
push ecx
call fcn.0103f0c0
cmp dword [ebx + 0x5c], edi
je 0x1164677
mov edx, dword [esi]
push edi
push 0x101b99c
push edx
call fcn.01108190
mov ecx, dword [ebx + 0x474]
mov eax, dword [ebx + 0x45c]
mov edx, dword [eax + 0x10]
mov eax, dword [esi]
push ecx
push 1
push edi
push edi
lea ecx, [ebp + 8]
push ecx
push edx
mov edx, dword [eax]
mov dword [ebp + 8], 7
mov ecx, dword [edx + 4]
push ecx
push eax
call fcn.0115ffa0
test eax, eax
jne 0x11648d6
cmp dword [ebp + 8], 5
jne 0x11648d6
cmp dword [ebx + 0x438], edi
jne 0x1164895
mov eax, dword [esi]
mov edx, dword [eax + 0x35a8]
cmp dword [edx + 0x924], edi
je 0x1164895
push edi
push edi
push edi
push edi
mov ecx, edx
push edi
lea edx, [ebp + 0xc]
push edx
lea edx, [ecx + 0x7dc]
push edx
add ecx, 0x70
push ecx
push eax
call fcn.010eed60
mov dword [ebp - 8], eax
cmp eax, edi
je 0x1164895
cmp dword [ebp + 0xc], edi
je 0x1164895
push 0x20a
lea eax, [ebp - 0x218]
push edi
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x2a0]
add esp, 0xc
call edx
push eax
push 0x101f098
lea eax, [ebp - 0x218]
push 0x3f
push eax
call fcn.0102d240
mov eax, dword [esi]
add eax, 0x3c7e
add esp, 0x10
cmp byte [eax], 0
je 0x1164773
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edx, dword [esi]
lea ecx, [ebp - 0x218]
push ecx
push 0x100bfcc
add edx, 0x3c7e
push edx
call fcn.010842c0
mov edi, eax
jmp 0x116482b
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x29c]
lea ecx, [ebp - 0x424]
push ecx
push 0x103
call edx
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], di
je 0x11647a8
lea esp, [esp]
add eax, 2
cmp word [eax], di
jne 0x11647a0
lea ecx, [ebp - 0x218]
sub eax, ecx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x424]
cmp word [ebp - 0x424], di
je 0x11647cb
add eax, 2
cmp word [eax], di
jne 0x11647c3
lea edx, [ebp - 0x424]
sub eax, edx
sar eax, 1
add eax, eax
add ecx, ecx
mov edi, eax
lea eax, [edi + ecx + 2]
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x11648ca
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [ebp + 8], eax
test eax, eax
je 0x1164828
push edi
lea ecx, [ebp - 0x424]
push ecx
push eax
call fcn.0102a680
mov edx, dword [ebp + 8]
add edi, edx
je 0x1164828
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
push edi
call fcn.0102a680
mov edi, dword [ebp + 8]
test edi, edi
je 0x1164886
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
push 0
push edx
push eax
push edi
push ecx
call fcn.01107de0
test eax, eax
je 0x1164880
mov edx, dword [esi]
push 0x100d020
push edi
push edx
call fcn.010bced0
test eax, eax
je 0x1164880
mov eax, dword [ebx + 0x45c]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebx + 0xc]
push edi
push ecx
push edx
push 0
push 0x1010440
push 0x1015934
push esi
call fcn.011267f0
mov dword [ebp - 4], 1
push edi
call fcn.01083050
mov eax, dword [ebp + 0xc]
push eax
call fcn.01083050
cmp dword [ebp - 4], 0
jne 0x11648bc
mov eax, dword [ebx + 0x45c]
mov ecx, dword [eax + 0x10]
lea edx, [esi + 0x272]
push edx
mov edx, dword [ebx + 0xc]
push ecx
push edx
push 0
push 0x1010440
push 0x1015934
push esi
call fcn.011267f0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp + 8], 0
jmp 0x1164828
mov esi, dword [esi]
mov ecx, dword [esi + 0x3590]
push edi
push ecx
push esi
call fcn.01117f40
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8