Function at 0x4230e0
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505dbe
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x55f3d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xa4], esi
lea ecx, [ebp - 0x91]
call fcn.00405950
mov ecx, dword [esi + 0x73c]
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov edx, eax
mov dword [ebp - 0x80], 0
mov ecx, edx
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x90], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423161
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.00407950
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004017a0
add esp, 8
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x30]
mov dword [ebp - 0x98], eax
mov eax, dword [0x5616f8]
test eax, eax
jne 0x423209
push 0x1a0
call fcn.004d631e
mov edi, eax
add esp, 4
mov dword [ebp - 0x9c], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x4231fe
push 0x1a0
push 0
push edi
call fcn.004d84c0
add esp, 0xc
mov ecx, edi
call fcn.00410730
jmp 0x423200
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x5616f8], eax
push dword [ebp - 0x98]
mov ecx, eax
call sym.CAD.exe_public_virtual:_class_DuiLib::IListCallbackUI____thiscall_DuiLib::CListUI::GetTextCallback_void_const
mov ecx, eax
call fcn.00406230
mov ecx, esi
test al, al
jne 0x423237
push 0xc8
push 0x50e6d4
call fcn.00424910
jmp 0x4235c1
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.0041f350
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push 0
cmovae eax, dword [ebp - 0x30]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call fcn.00406b50
mov ecx, eax
call fcn.004112e0
mov esi, eax
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push 0x40
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
call fcn.004d631e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x18], eax
push eax
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
push dword [eax + 4]
call fcn.00410470
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x423310
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x4232ec
nop
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4232e0
mov dword [esi], edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x42330b
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x423300
mov dword [edx + 8], ecx
jmp 0x423318
mov dword [esi], esi
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], eax
cmp dword [ebp - 0x14], 0
mov byte [ebp - 4], 6
je 0x4235a3
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x78]
mov eax, dword [eax]
add eax, 0x28
push eax
call fcn.00402530
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 7
cmovae eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov edx, eax
mov dword [ebp - 0x38], 0
mov ecx, edx
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423370
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00404190
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
cmovae eax, edx
mov byte [ebp - 4], 8
mov dword [ebp - 0x98], eax
lea edi, [ebp - 0x48]
mov eax, dword [ebp - 0x38]
cmovae ecx, edx
add eax, ecx
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x9c], eax
cmovae edi, edx
cmp edi, eax
je 0x4233dd
mov esi, dword [ebp - 0x98]
sub esi, edi
movsx ax, byte [edi]
movzx eax, ax
push eax
call fcn.004e1c8e
mov byte [edi + esi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0x9c]
jne 0x4233c1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x60]
call fcn.00402530
mov byte [ebp - 4], 9
call fcn.00406b50
mov ecx, eax
call sym.CAD.exe_public:_int___thiscall_DuiLib::CPaintManagerUI::GetTooltipWindowWidth_void_const
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00401570
add esp, 8
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 0xa
jb 0x423417
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x60]
call fcn.004023c0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.004033e0
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push eax
call fcn.004023c0
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x34
call fcn.004d631e
mov esi, eax
add esp, 4
test esi, esi
je 0x4234b6
mov dword [esi + 0x28], 0
lea eax, [ebp - 0x78]
mov dword [esi + 0x2c], 0
xorps xmm0, xmm0
mov dword [esi + 0x30], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
cmp esi, eax
je 0x4234ce
jmp 0x4234b8
xor esi, esi
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
push dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x78]
mov ecx, esi
push eax
call fcn.00402e70
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x60]
cmp ecx, eax
je 0x4234e9
cmp dword [ebp - 0x4c], 0x10
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.00402e70
mov edi, dword [ebp - 0xa4]
mov ecx, edi
neg ecx
push esi
sbb ecx, ecx
lea eax, [edi + 0x6e8]
and ecx, eax
mov dword [esi + 0x30], ecx
lea ecx, [edi + 0x7d8]
call fcn.00414a50
mov ecx, dword [edi + 0x740]
mov byte [edi + 0x7c8], 1
test ecx, ecx
je 0x423527
mov eax, dword [ecx]
push 0
call dword [eax + 0xec]
mov ecx, dword [edi + 0x744]
test ecx, ecx
je 0x42353b
mov eax, dword [ecx]
push 0
call dword [eax + 0xec]
mov ecx, dword [edi + 0x748]
test ecx, ecx
je 0x42354f
mov eax, dword [ecx]
push 0x50e6ec
call dword [eax + 0x3c]
mov ecx, dword [edi + 0x748]
test ecx, ecx
je 0x423563
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x74c]
test ecx, ecx
je 0x423577
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x750]
test ecx, ecx
je 0x42358b
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
lea ecx, [ebp - 0x60]
call fcn.004033e0
lea ecx, [ebp - 0x48]
call fcn.004033e0
lea ecx, [ebp - 0x78]
call fcn.004033e0
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00410580
push 0x40
push dword [ebp - 0x18]
call fcn.004d634e
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x4235f1
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4235e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423657
push ecx
push edx
call fcn.004d634e
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 8
jb 0x42363c
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x423632
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423657
push ecx
push edx
call fcn.004d634e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d635c
mov esp, ebp
pop ebp
ret
call fcn.004dc07f
int3