Function at 0x422bca
Capabilities:
Create directory

Disassembly:
mov eax, 0x47a819
call fcn.00450648
sub esp, 0x2d8
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
call fcn.00422736
cmp dword [esi + 0x18], 0x10
jb 0x422bfb
mov eax, dword [esi + 4]
jmp 0x422bfe
lea eax, [esi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x422eb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 3
pop edi
mov dword [ebp - 0x14], eax
sub eax, edi
je 0x422ed1
dec eax
dec eax
je 0x422ce0
sub eax, 0x52
je 0x422d88
sub eax, 0x60
jne 0x422e1e
push str.WT::System::IO::CDirectory::CreateDirectory
lea ecx, [ebp - 0xdc]
call fcn.004016c0
push str..SourceWtSystemIoDirectory.cpp
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], edi
call fcn.004016c0
push esi
lea eax, [ebp - 0x184]
push str.Directory_already_exists_:
push eax
mov byte [ebp - 4], 4
call fcn.00402230
add esp, 0xc
lea ecx, [ebp - 0xdc]
push ecx
push 0x70
lea ecx, [ebp - 0xf8]
push ecx
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 5
call fcn.0041c74a
push ebx
push 1
lea ecx, [ebp - 0x184]
call fcn.004010c0
push ebx
push 1
lea ecx, [ebp - 0xf8]
call fcn.004010c0
push ebx
push 1
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 7
call fcn.004010c0
lea ecx, [ebp - 0x168]
call fcn.0041c8b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.0041c69f
push str.WT::System::IO::CDirectory::CreateDirectory
lea ecx, [ebp - 0xc0]
call fcn.004016c0
push str..SourceWtSystemIoDirectory.cpp
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0xa
call fcn.004016c0
push esi
lea eax, [ebp - 0x1d8]
push str.CreateDirectory_Failed.__Access_Denied_:
push eax
mov byte [ebp - 4], 0xb
call fcn.00402230
add esp, 0xc
lea ecx, [ebp - 0xc0]
push ecx
push 0x72
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xc
call fcn.0041c74a
push ebx
push 1
lea ecx, [ebp - 0x1d8]
call fcn.004010c0
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.004010c0
push ebx
push 1
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
call fcn.004010c0
lea ecx, [ebp - 0x168]
call fcn.0041c8b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.0041c69f
push str.WT::System::IO::CDirectory::CreateDirectory
lea ecx, [ebp - 0x6c]
call fcn.004016c0
push str..SourceWtSystemIoDirectory.cpp
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x11
call fcn.004016c0
push esi
lea eax, [ebp - 0x1f4]
push str.CreateDirectory_Failed.__Invalid_Parameter_:
push eax
mov byte [ebp - 4], 0x12
call fcn.00402230
add esp, 0xc
lea ecx, [ebp - 0x6c]
push ecx
push 0x74
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x13
call fcn.0041c74a
push ebx
push 1
lea ecx, [ebp - 0x1f4]
call fcn.004010c0
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.004010c0
push ebx
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x15
call fcn.004010c0
lea ecx, [ebp - 0x168]
call fcn.0041c8b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.0041c69f
push str.WT::System::IO::CDirectory::CreateDirectory
lea ecx, [ebp - 0x34]
call fcn.004016c0
push str..SourceWtSystemIoDirectory.cpp
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0x18
call fcn.004016c0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0x19
call fcn.00417385
lea ecx, [ebp - 0x34]
push ecx
push 0x76
lea ecx, [ebp - 0xa4]
push ecx
push eax
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x1a
call fcn.0041c74a
push ebx
push 1
lea ecx, [ebp - 0x1a0]
call fcn.004010c0
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.004010c0
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1c
call fcn.004010c0
lea ecx, [ebp - 0x2e4]
call fcn.0041c8b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.0041c69f
mov ecx, dword [ebp - 0x18]
push esi
call fcn.0042222c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
mov dword [ebp - 4], ebx
call fcn.00402150
lea edi, [ebp - 0x1bc]
call fcn.004225b4
mov edx, eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.00422bca
lea ecx, [ebp - 0x234]
call fcn.00421f3c
push ebx
push 1
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.004010c0
mov edx, esi
lea ecx, [ebp - 0x274]
call fcn.00422bca
lea ecx, [ebp - 0x274]
call fcn.00421f3c
or dword [ebp - 4], 0xffffffff
jmp 0x422eb6