Function at 0x103a623
Capabilities:
Create directory

Disassembly:
push 0xa8
mov eax, 0x10cd30b
call fcn.010b53c2
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0x4c], esi
call fcn.01038c2d
test al, al
jne 0x103a956
xor ebx, ebx
push ebx
push 0x1003030
mov ecx, esi
call fcn.01035b25
mov ecx, eax
xor edi, edi
add eax, 2
inc edi
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push edi
push ecx
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
mov dword [ebp - 0x50], 0x5c
call fcn.01035834
mov esi, eax
cmp esi, 0xffffffff
jne 0x103a6f0
push ebx
push 0x1a
lea ecx, [ebp - 0x64]
call fcn.01033bfc
push 0x1002ff0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.01033c5d
push 0x1002f38
lea ecx, [ebp - 0x64]
call fcn.01033c5d
push dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
push 0x1002740
push eax
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.01033bb7
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.01032f16
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x78]
call fcn.010907af
push 0x10de07c
lea eax, [ebp - 0x78]
push eax
call fcn.010b4e4c
mov ecx, dword [ebp - 0x4c]
push esi
push ebx
lea eax, [ebp - 0x48]
push eax
call fcn.010372dc
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 2
call fcn.01038c2d
test al, al
jne 0x103a784
push ebx
push 0x1a
lea ecx, [ebp - 0x78]
call fcn.01033bfc
push 0x1002ff0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.01033c5d
push 0x1002efc
lea ecx, [ebp - 0x78]
call fcn.01033c5d
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push 0x1002740
push eax
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.01033bb7
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.01032f16
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x64]
call fcn.010907af
push 0x10de07c
lea eax, [ebp - 0x64]
jmp 0x103a6ea
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x50], 0x5c
mov ecx, dword [ebp - 0x4c]
push edi
inc esi
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.01035834
mov esi, eax
cmp esi, 0xffffffff
je 0x103a927
mov ecx, dword [ebp - 0x4c]
lea eax, [esi + 1]
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.010372dc
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 6
jae 0x103a7d3
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, ebx
jne 0x103a908
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7c], eax
cmp eax, 0xb7
je 0x103a914
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], eax
je 0x103a80f
lea esi, [eax - 0x1c]
push esi
call fcn.0103a1aa
mov eax, esi
cmp eax, dword [ebp - 0x5c]
jne 0x103a7ff
push ebx
push 7
lea ecx, [ebp - 0x78]
call fcn.01033bfc
push 0x1002ff0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.01033c5d
push dword [ebp - 0x7c]
lea eax, [ebp - 0x98]
push eax
call fcn.0103e9b9
push eax
lea eax, [ebp - 0xb4]
push 0x1002b64
push eax
mov byte [ebp - 4], 8
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 9
call fcn.01033bb7
push ebx
push edi
lea ecx, [ebp - 0xb4]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.01032f16
push dword [ebp - 0x4c]
lea eax, [ebp - 0x98]
push 0x1002740
push eax
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xa
call fcn.01033bb7
push ebx
push edi
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.01032f16
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x98]
push 0x1002ed0
push eax
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xb
call fcn.01033bb7
push ebx
push edi
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.01032f16
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xac]
call fcn.010907af
push 0x10de07c
lea eax, [ebp - 0xac]
jmp 0x103a6ea
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x60]
call fcn.01033bb7
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.01032f16
jmp 0x103a798
cmp byte [ebp + 0xc], bl
je 0x103a944
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], eax
je 0x103a944
lea esi, [eax - 0x1c]
push esi
call fcn.0103a1aa
mov eax, esi
cmp eax, dword [ebp - 0x5c]
jne 0x103a934
lea ecx, [ebp - 0x60]
call fcn.01038184
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.01032f16
call fcn.010b5454
ret 8