Function at 0x423240
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb190
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
mov ebx, ecx
push esi
push edi
mov al, byte [ebx + 0x28]
mov dword [ebp - 0x10], esp
test al, al
mov dword [ebp - 0x14], ebx
je 0x42329e
push str.CDebug_class_already_configured_n
push 0xc5
push str..Debug.cpp
push ebx
call fcn.004230b0
add esp, 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x10], 1
jbe 0x423479
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [ebp + 8]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004bf598
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx + 4], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 4], 0
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp + 0xb], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_CharToOemA]
lea ecx, [ebp - 0x320]
push ecx
push esi
call edi
lea edx, [ebp - 0x320]
push 0x4f2000
push edx
call fcn.004c09f4
add esp, 8
mov dword [ebx + 8], eax
test eax, eax
je 0x423354
mov eax, dword [eax + 0x10]
push eax
call fcn.004c0a07
add esp, 4
cmp eax, 0xf4240
jle 0x42333d
mov byte [ebp + 0xb], 1
mov eax, dword [ebx + 8]
push eax
call fcn.004c07a4
mov al, byte [ebp + 0xb]
add esp, 4
test al, al
je 0x4233dc
lea ecx, [ebp + 8]
lea edx, [ebp - 0x118]
push ecx
push edx
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x423384
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x118]
push 0
push ecx
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [ebp - 0x21c]
push edx
push esi
call edi
lea eax, [ebp - 0x21c]
push 0x4f1ffc
push eax
call fcn.004c09f4
mov dword [ebx + 8], eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004bf598
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
mov dword [ebx + 0x34], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x423447
lea ecx, [ebp - 0x424]
push ecx
push esi
call edi
lea edx, [ebp - 0x424]
push 0x4f1fe8
push edx
call fcn.004c09f4
mov dword [ebx + 8], eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004bf598
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
mov dword [ebx + 0x34], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x423447
mov eax, dword [ebx + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x423479
push str.fopen
push ebx
call fcn.004234a0
add esp, 8
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
mov byte [ebx + 0x28], 1
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], eax
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10