Function at 0x4b13cc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov edx, dword [0x48c728]
call fcn.00403e38
lea eax, [ebp - 0x2c]
mov edx, dword [0x5435a0]
call fcn.00403e38
xor eax, eax
push ebp
push 0x4b175a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00506a54
mov esi, eax
call fcn.0064e78c
mov dword [ebp - 8], eax
call fcn.0064e78c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x134]
test eax, eax
setg byte [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.005fb9c0
test eax, eax
setg byte [ebp - 0xe]
mov eax, dword [0x670050]
test byte [eax + 1], 0x20
je 0x4b149f
mov eax, dword [0x66f7ec]
mov eax, dword [eax]
call fcn.0062195c
test al, al
je 0x4b1470
mov eax, dword [0x66f7ec]
mov eax, dword [eax]
xor edx, edx
call fcn.00622138
push 0
mov eax, dword [0x66f7ec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CreateDirectoryW
mov edx, dword [0x66f7ec]
mov edx, dword [edx]
mov eax, dword [esi + 0x1a8]
add eax, 0x38
mov ecx, 0x4b176c
call fcn.00403b14
jmp 0x4b1568
mov al, byte [ebp - 0xd]
or al, byte [ebp - 0xe]
je 0x4b152e
cmp byte [ebp - 0xd], 0
je 0x4b1515
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d4]
mov edi, dword [eax + 0x18]
dec edi
test edi, edi
jl 0x4b1515
inc edi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [eax + 0x5c4]
mov eax, dword [ebp - 8]
call fcn.0064e9dc
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [eax + 0x5d4]
mov eax, dword [ebp - 0xc]
call fcn.0064e9dc
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x5c4], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x5d4], 0
inc ebx
dec edi
jne 0x4b14c5
cmp byte [ebp - 0xe], 0
je 0x4b1526
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9e0], edx
mov eax, dword [ebp - 4]
call fcn.005bf044
mov eax, dword [ebp - 4]
call fcn.005bd094
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
call fcn.006552dc
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov edx, 0x4b1784
call fcn.0065512c
mov edx, dword [ebp - 0x30]
mov eax, dword [esi + 0x1a8]
add eax, 0x38
call fcn.004038bc
mov eax, dword [ebp - 4]
call fcn.005c45b4
test al, al
je 0x4b157c
mov eax, dword [ebp - 4]
call fcn.005bd094
mov eax, dword [esi + 0x1a8]
mov byte [eax + 0x56], 3
mov eax, dword [0x670050]
test byte [eax + 1], 0x20
jne 0x4b15a4
mov eax, dword [esi + 0x1a8]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4b169d
lea eax, [ebp - 0x20]
mov edx, dword [0x66f2a4]
mov ecx, dword [0x48c728]
call fcn.004040dc
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
add edx, 0x808
mov ecx, dword [0x5435a0]
call fcn.004040dc
mov eax, dword [0x670050]
test byte [eax + 1], 0x20
je 0x4b15f3
mov eax, dword [0x66f2a4]
mov dword [eax + 4], 0x80000000
mov eax, dword [0x66f2a4]
add eax, 8
call fcn.00403880
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b11a0]
call fcn.00622d20
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x1cc], eax
mov eax, ebx
call fcn.004b22e0
mov eax, dword [0x670050]
test byte [eax + 1], 0x20
jne 0x4b1628
mov eax, ebx
call fcn.0063c388
dec eax
jne 0x4b1647
call fcn.00506a54
mov eax, dword [eax + 0x1a8]
lea edx, [ebp - 0x30]
call fcn.00630690
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.004b21f0
jmp 0x4b1670
mov eax, dword [ebp - 4]
add eax, 0x808
lea edx, [ebp - 0x2c]
mov ecx, dword [0x5435a0]
call fcn.004040dc
mov eax, dword [0x66f2a4]
lea edx, [ebp - 0x20]
mov ecx, dword [0x48c728]
call fcn.004040dc
mov eax, dword [0x670050]
test byte [eax + 1], 0x20
je 0x4b1696
mov eax, dword [0x66f2a4]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov eax, dword [0x66f2a4]
add eax, 8
mov edx, dword [ebp - 0x18]
call fcn.004038bc
mov eax, ebx
call fcn.004028c0
mov eax, dword [0x670050]
test byte [eax + 1], 0x20
jne 0x4b1713
mov al, byte [ebp - 0xd]
or al, byte [ebp - 0xe]
je 0x4b1713
cmp byte [ebp - 0xd], 0
je 0x4b16fb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d4]
mov edi, dword [eax + 0x18]
dec edi
test edi, edi
jl 0x4b16fb
inc edi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x1c]
mov dl, byte [edx + ebx*4]
mov byte [eax + 0x5c4], dl
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x1c]
mov dl, byte [edx + ebx*4]
mov byte [eax + 0x5d4], dl
inc ebx
dec edi
jne 0x4b16ca
cmp byte [ebp - 0xe], 0
je 0x4b170b
mov eax, dword [ebp - 4]
mov byte [eax + 0x49a], 1
mov eax, dword [ebp - 4]
call fcn.005bf044
mov eax, dword [ebp - 8]
call fcn.0064edac
mov eax, dword [ebp - 0xc]
call fcn.0064edac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1761
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00403898
lea eax, [ebp - 0x2c]
mov edx, dword [0x5435a0]
call fcn.00403f00
lea eax, [ebp - 0x20]
mov edx, dword [0x48c728]
call fcn.00403f00
ret