Function at 0x426bb8
Capabilities:
Create directory

Disassembly:
push 0x190
mov eax, 0x48d95e
call fcn.0044c99a
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 0x10], ecx
jne 0x426dd5
push 0xf
pop ebx
push 7
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push str.GPCUtil
mov dword [ebp - 0x14], ebx
call fcn.004035a0
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004442a8
pop ecx
mov edi, eax
mov dword [ebp - 0x5c], ebx
xor eax, eax
lea ecx, [ebp - 0x70]
push eax
push 0x4ae71b
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x70], al
call fcn.004035a0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push str.null_path
push eax
call fcn.00444448
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.0043fb19
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x4ae71b
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x58], al
call fcn.004035a0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push str.CFileSystem::RecursiveCreateFolder
push eax
call fcn.00444448
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.0043fb19
push esi
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004449d1
lea ecx, [ebp - 0xe8]
call fcn.00403060
lea ecx, [ebp - 0x100]
call fcn.00403060
lea ecx, [ebp - 0x88]
call fcn.00403060
mov eax, dword [ebp - 0x44]
mov esi, 0x1000
cmp eax, 0x10
jb 0x426d0b
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x194], ecx
cmp eax, esi
jb 0x426d02
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x19c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x58], 0
call fcn.00403060
lea ecx, [ebp - 0xd0]
call fcn.00403060
lea ecx, [ebp - 0xa0]
call fcn.00403060
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x426d7d
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x19c], ecx
cmp eax, esi
jb 0x426d74
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x19c]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x70], 0
cmp eax, 0x10
jb 0x426dce
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x19c], ecx
cmp eax, esi
jb 0x426dc5
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x19c]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
xor eax, eax
jmp 0x42716b
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.0040ea96
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 7
cmovae eax, dword [ebp - 0x40]
pop esi
push 0
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
mov ebx, 0x1000
mov dword [ebp - 0x19c], edi
test edi, edi
je 0x426e1e
lea eax, [ebp - 0x40]
push eax
call fcn.00414152
pop ecx
jmp 0x42711d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, edi
sub ecx, 3
je 0x427412
dec ecx
sub ecx, 1
je 0x427176
sub ecx, 0xb2
je 0x427171
and dword [ebp - 0x78], 0
lea ecx, [ebp - 0x88]
push esi
push str.GPCUtil
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.004035a0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x14
push eax
call fcn.004442a8
and dword [ebp - 0x18], 0
mov ebx, eax
pop ecx
push 0xf
pop esi
push 6
push str.uError
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], 0
call fcn.004035a0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x15
push edi
push eax
call fcn.00444349
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.0043fb19
mov edi, eax
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
push 7
push str.strPath
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], 0
call fcn.004035a0
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00444209
add esp, 0xc
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.0043fb19
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0x1a
push eax
push 0x4ae71b
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.004035a0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0xa0]
push str.recursiveCreate_folder_failed
push eax
call fcn.00444448
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0043fb19
push edi
push esi
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x1d
call fcn.00444591
lea ecx, [ebp - 0x118]
call fcn.00403060
lea ecx, [ebp - 0x130]
call fcn.00403060
lea ecx, [ebp - 0xa0]
call fcn.00403060
mov eax, dword [ebp - 0x5c]
mov ebx, 0x1000
cmp eax, 0x10
jb 0x426fdc
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], ecx
cmp eax, ebx
jb 0x426fd3
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x198]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x60], 0
lea ecx, [ebp - 0x148]
push 0xf
pop esi
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x70], 0
call fcn.00403060
lea ecx, [ebp - 0x160]
call fcn.00403060
lea ecx, [ebp - 0xb8]
call fcn.00403060
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x427051
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
cmp eax, ebx
jb 0x427048
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], 0
call fcn.00403060
lea ecx, [ebp - 0x190]
call fcn.00403060
lea ecx, [ebp - 0xe8]
call fcn.00403060
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4270c3
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
cmp eax, ebx
jb 0x4270ba
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x427117
mov ecx, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x198], eax
cmp eax, ebx
jb 0x42710e
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
mov edi, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x2c]
cmp esi, 8
jb 0x427169
mov eax, dword [ebp - 0x40]
lea esi, [esi*2 + 2]
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x194], eax
cmp esi, ebx
jb 0x427160
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004017b0
mov esi, dword [ebp - 0x198]
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
push esi
push eax
call fcn.0044c6c2
pop ecx
pop ecx
mov eax, edi
call fcn.0044c944
ret
xor edi, edi
inc edi
jmp 0x42711d
xor eax, eax
mov dword [ebp - 0x74], 0xf
push esi
push str.GPCUtil
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x88], al
call fcn.004035a0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
call fcn.004442a8
and dword [ebp - 0x48], 0
mov ebx, eax
pop ecx
push 0xf
pop esi
push 6
push str.uError
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], 0
call fcn.004035a0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 9
push 5
push eax
call fcn.00444349
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0043fb19
mov edi, eax
and dword [ebp - 0x60], 0
lea ecx, [ebp - 0x70]
push 7
push str.strPath
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x70], 0
call fcn.004035a0
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00444209
add esp, 0xc
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.0043fb19
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0xe
push eax
push 0x4ae71b
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.004035a0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0xe8]
push str.recursiveCreate_folder_failed__access_denied
push eax
call fcn.00444448
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.0043fb19
push edi
push esi
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x11
call fcn.00444591
lea ecx, [ebp - 0x178]
call fcn.00403060
lea ecx, [ebp - 0x190]
call fcn.00403060
lea ecx, [ebp - 0xe8]
call fcn.00403060
mov eax, dword [ebp - 0x14]
mov ebx, 0x1000
cmp eax, 0x10
jb 0x427312
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
cmp eax, ebx
jb 0x427309
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403060
lea ecx, [ebp - 0x160]
call fcn.00403060
lea ecx, [ebp - 0xb8]
call fcn.00403060
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x427388
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
cmp eax, ebx
jb 0x42737f
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x60], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00403060
lea ecx, [ebp - 0x130]
call fcn.00403060
lea ecx, [ebp - 0xa0]
call fcn.00403060
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4273fe
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
cmp eax, ebx
jb 0x4273f5
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x4270ce
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
push 8
pop edi
cmp esi, edi
push 0x5c
cmovae eax, dword [ebp - 0x40]
pop ecx
cmp word [eax + edx*2 - 2], cx
jne 0x4274d1
and dword [ebp - 0x78], 0
lea ecx, [edx - 1]
xor eax, eax
mov dword [ebp - 0x74], 7
cmp edx, ecx
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x40]
cmovb ecx, edx
cmp esi, edi
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x88]
push eax
call fcn.0040f8f6
mov byte [ebp - 0x198], 0
lea eax, [ebp - 0x88]
push dword [ebp - 0x198]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040f635
mov eax, dword [ebp - 0x74]
cmp eax, edi
jb 0x4274ce
mov ecx, dword [ebp - 0x88]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
cmp eax, ebx
jb 0x4274c5
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], edi
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
test edx, edx
je 0x427117
lea eax, [edx - 1]
or ecx, 0xffffffff
cmp eax, ecx
push 0x5c
cmovb ecx, eax
pop eax
lea ecx, [esi + ecx*2]
jmp 0x427501
cmp ecx, esi
je 0x427117
sub ecx, 2
cmp word [ecx], ax
jne 0x4274f6
sub ecx, esi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x427117
and dword [ebp - 0x18], 0
xor eax, eax
cmp edx, ecx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 7
cmovb ecx, edx
cmp dword [ebp - 0x2c], edi
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040f8f6
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x12
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00407faf
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x13
push 0
push eax
call fcn.00426bb8
pop ecx
pop ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x12
mov esi, eax
call fcn.00406a00
test esi, esi
je 0x4275a5
cmp dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
test edi, edi
je 0x4275ab
lea eax, [ebp - 0x40]
push eax
call fcn.00414152
pop ecx
jmp 0x4275ab
mov edi, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42711d
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
cmp eax, ebx
jb 0x4275f2
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.0044c6c2
pop ecx
jmp 0x426e18