Function at 0x42f780
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5214a9
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x595be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0042f680
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x42f8b1
push str.Directory_already_exists:
lea ecx, [ebp - 0x1c]
call fcn.004289c0
mov dword [ebp - 4], 0
push 0x562584
lea ecx, [ebp - 0x34]
call fcn.00428940
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0042a230
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 4
push 0
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.0042b420
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00428a40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x110]
call fcn.00428a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00428a40
mov al, 1
jmp 0x42fdc2
push 0
mov ecx, dword [ebp + 8]
call fcn.00402a70
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42fcb1
cmp dword [ebp - 0x10], 0xb7
jne 0x42f9dc
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x42f9d5
push str.Failed_to_create_directory_because_but_just_because_it_already_exists:
lea ecx, [ebp - 0x24]
call fcn.004289c0
mov dword [ebp - 4], 5
push 0x562608
lea ecx, [ebp - 0x2c]
call fcn.00428940
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
call fcn.0042a230
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x70]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 9
push 0
mov edx, dword [ebp - 0x78]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0042b420
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x108]
call fcn.00428a40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.00428a40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
call fcn.00428a40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00428a40
mov al, 1
jmp 0x42fdc2
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x42fbc5
push str.error:
lea ecx, [ebp - 0x20]
call fcn.004289c0
mov dword [ebp - 4], 0xa
push str.Failed_to_create_directory:
lea ecx, [ebp - 0x18]
call fcn.004289c0
mov byte [ebp - 4], 0xb
push 0x56263c
lea ecx, [ebp - 0x14]
call fcn.00428940
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.0042a9d0
add esp, 8
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x84]
call fcn.0042a230
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 0x10
push 0x59d25c
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x13
push 2
mov ecx, dword [ebp - 0x54]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0042b420
add esp, 0xc
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x5c]
call fcn.00428a40
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x64]
call fcn.00428a40
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x6c]
call fcn.00428a40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x74]
call fcn.00428a40
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x7c]
call fcn.00428a40
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x84]
call fcn.00428a40
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x8c]
call fcn.00428a40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.00428a40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00428a40
push str.CreateDirectoryRecurcive_
lea ecx, [ebp - 0x28]
call fcn.00428940
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0xd4]
call fcn.0042a230
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.0042a8b0
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], edx
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0042d650
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xc4]
call fcn.00428a40
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xcc]
call fcn.00428a40
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xd4]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00428a40
xor al, al
jmp 0x42fdc2
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x42fdc0
push str.Created_directory_successfully:
lea ecx, [ebp - 0x38]
call fcn.004289c0
mov dword [ebp - 4], 0x18
push str.CreateDirectoryRecurcive
lea ecx, [ebp - 0x30]
call fcn.00428940
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x11c]
call fcn.0042a230
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], edx
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x114]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 0x1c
push 0
mov edx, dword [ebp - 0x104]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.0042b420
add esp, 0xc
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x10c]
call fcn.00428a40
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x114]
call fcn.00428a40
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x11c]
call fcn.00428a40
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x30]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00428a40
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret