Function at 0x423a70
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505e7d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x55f3d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x29]
call fcn.00405a90
mov ecx, dword [esi + 0x6d4]
push 0x3ea
push dword [esi + 0x734]
call sym.CAD.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::KillTimer_class_DuiLib::CControlUI___unsigned_int_
mov ecx, dword [esi + 0x6d4]
push 0x3e9
push dword [esi + 0x734]
call sym.CAD.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::KillTimer_class_DuiLib::CControlUI___unsigned_int_
mov ecx, dword [esi + 0x734]
test ecx, ecx
je 0x423cb1
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
lea eax, [ebp - 0x44]
push eax
call fcn.00406b50
mov ecx, eax
call fcn.004113b0
cmp dword [eax + 0x14], 0x10
jb 0x423b00
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ecx, dword [ebp - 0x30]
test eax, eax
sete bl
cmp ecx, 0x10
jb 0x423b40
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x423b36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423ccc
push ecx
push edx
call fcn.004d634e
add esp, 8
test bl, bl
je 0x423b6f
lea eax, [ebp - 0x44]
push eax
call fcn.00406b50
mov ecx, eax
call fcn.004113b0
cmp dword [eax + 0x14], 0x10
jb 0x423b5c
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
lea ecx, [ebp - 0x44]
call fcn.004033e0
lea eax, [ebp - 0x28]
push eax
call fcn.00406b50
mov ecx, eax
call fcn.004113b0
push 0xf
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x29]
call fcn.00406080
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 1
jb 0x423ba4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004023c0
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x423be8
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x423bde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423cd1
push ecx
push edx
call fcn.004d634e
add esp, 8
push 4
push str..bmp
lea ecx, [ebp - 0x28]
call fcn.004023c0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
lea eax, [esi + 0x788]
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 0x10
jb 0x423c10
mov eax, dword [eax]
push 0x6e
push ecx
push eax
call fcn.004d1e80
add esp, 0xc
test eax, eax
jne 0x423c5c
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00401970
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x423c44
mov eax, dword [eax]
mov ecx, dword [esi + 0x734]
push eax
call sym.CAD.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00403250
mov ecx, dword [esi + 0x6d4]
push 0x3e8
push 0x3e9
push dword [esi + 0x734]
mov dword [esi + 0x7c4], 0x12c
call sym.CAD.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetTimer_class_DuiLib::CControlUI___unsigned_int__unsigned_int_
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x423cb1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x423ca7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423cd6
push ecx
push edx
call fcn.004d634e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d635c
mov esp, ebp
pop ebp
ret
call fcn.004dc07f
call fcn.004dc07f
call fcn.004dc07f
int3