Function at 0x416630
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e926e
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5363c0]
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.00404bd0
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 0x4166b1
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.00409fe0
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.00401780
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 [0x538168]
test eax, eax
jne 0x416759
push 0x1a0
call fcn.004bb92e
mov edi, eax
add esp, 4
mov dword [ebp - 0x9c], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x41674e
push 0x1a0
push 0
push edi
call fcn.004bda50
add esp, 0xc
mov ecx, edi
call fcn.00406db0
jmp 0x416750
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x538168], 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.00405240
mov ecx, esi
test al, al
jne 0x416787
push 0xc8
push 0x4ef0a8
call fcn.00417a30
jmp 0x416b11
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00412760
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.004059f0
mov ecx, eax
call fcn.00407950
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.004bb92e
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.00406af0
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 0x416860
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x41683c
nop
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x416830
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 0x41685b
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x416850
mov dword [edx + 8], ecx
jmp 0x416868
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 0x416af3
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x78]
mov eax, dword [eax]
add eax, 0x28
push eax
call fcn.00402570
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 0x4168c0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00403d10
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 0x41692d
mov esi, dword [ebp - 0x98]
sub esi, edi
movsx ax, byte [edi]
movzx eax, ax
push eax
call fcn.004c7f96
mov byte [edi + esi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0x9c]
jne 0x416911
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x60]
call fcn.00402570
mov byte [ebp - 4], 9
call fcn.004059f0
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.00401550
add esp, 8
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 0xa
jb 0x416967
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x60]
call fcn.00402420
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.00403210
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.00402420
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.004bb92e
mov esi, eax
add esp, 4
test esi, esi
je 0x416a06
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 0x416a1e
jmp 0x416a08
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.00402e50
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x60]
cmp ecx, eax
je 0x416a39
cmp dword [ebp - 0x4c], 0x10
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.00402e50
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 + 0x7c0]
call fcn.00409b20
mov ecx, dword [edi + 0x740]
mov byte [edi + 0x7b0], 1
test ecx, ecx
je 0x416a77
mov eax, dword [ecx]
push 0
call dword [eax + 0xec]
mov ecx, dword [edi + 0x744]
test ecx, ecx
je 0x416a8b
mov eax, dword [ecx]
push 0
call dword [eax + 0xec]
mov ecx, dword [edi + 0x748]
test ecx, ecx
je 0x416a9f
mov eax, dword [ecx]
push 0x4ef0c0
call dword [eax + 0x3c]
mov ecx, dword [edi + 0x748]
test ecx, ecx
je 0x416ab3
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x74c]
test ecx, ecx
je 0x416ac7
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x750]
test ecx, ecx
je 0x416adb
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
lea ecx, [ebp - 0x60]
call fcn.00403210
lea ecx, [ebp - 0x48]
call fcn.00403210
lea ecx, [ebp - 0x78]
call fcn.00403210
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00406c00
push 0x40
push dword [ebp - 0x18]
call fcn.004bb95e
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x416b41
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416b37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416ba7
push ecx
push edx
call fcn.004bb95e
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 0x416b8c
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416b82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416ba7
push ecx
push edx
call fcn.004bb95e
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.004bb96c
mov esp, ebp
pop ebp
ret
call fcn.004c15cf
int3