Function at 0x41fe70
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x50db70]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0x44
mov eax, 0x4c4489
call fcn.00422cc6
mov eax, dword [ebp + 0x470]
push eax
mov esi, ecx
call fcn.00401df0
mov ecx, esi
call fcn.0041fd6d
xor ebx, ebx
cmp dword [esi + 0x1c], ebx
je 0x420070
lea ecx, [ebp - 0x18]
call fcn.00401a00
mov edi, 0x206
push edi
lea eax, [ebp + 0x25e]
push ebx
push eax
mov dword [ebp - 4], ebx
mov word [ebp + 0x25c], bx
call fcn.004221d0
push edi
lea eax, [ebp + 0x56]
push ebx
push eax
mov word [ebp + 0x54], bx
call fcn.004221d0
add esp, 0x18
lea eax, [ebp + 0x25c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x420064
lea eax, [esi + 0x20]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00417e39
pop ecx
pop ecx
mov eax, dword [ebp + 0x3c]
push 8
pop edi
cmp dword [ebp + 0x50], edi
mov byte [ebp - 4], 1
jae 0x41ff26
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 0x54]
push ecx
push eax
call fcn.004176f3
pop ecx
pop ecx
lea eax, [ebp + 0x25c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401c20
cmp dword [ebp + 0x50], edi
mov eax, dword [ebp + 0x3c]
mov byte [ebp - 4], 2
jae 0x41ff50
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00401c20
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00401aa0
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00401e20
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00401e20
lea eax, [ebp + 0x25c]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00401c20
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.00403af0
mov ecx, esi
call fcn.0041fb0f
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp]
push eax
call fcn.00417eda
pop ecx
pop ecx
cmp dword [ebp + 0x18], 0x10
mov ecx, dword [ebp + 4]
mov byte [ebp - 4], 5
jae 0x41ffcc
lea ecx, [ebp + 4]
cmp dword [esi + 0x54], edi
jb 0x41ffd6
mov eax, dword [esi + 0x40]
jmp 0x41ffd9
lea eax, [esi + 0x40]
push ebx
push ecx
push eax
call fcn.004098a2
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp dword [ebp + 0x34], edi
jae 0x41ffef
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xd]
call sym.setup_DongFangInput.exe_public:_class_DuiLib::CMarkup____thiscall_DuiLib::CDialogBuilder::GetMarkup_void_
cmp dword [esi + 0x8c], edi
mov byte [ebp - 4], 6
jb 0x42000f
mov ecx, dword [esi + 0x78]
jmp 0x420012
lea ecx, [esi + 0x78]
cmp dword [esi + 0x70], edi
jb 0x42001c
mov eax, dword [esi + 0x5c]
jmp 0x42001f
lea eax, [esi + 0x5c]
cmp dword [esi + 0x54], edi
jb 0x420029
mov esi, dword [esi + 0x40]
jmp 0x42002c
add esi, 0x40
push ecx
push eax
push esi
lea ecx, [ebp - 0xd]
call fcn.0041f585
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 5
call sym.setup_DongFangInput.exe_void___cdecl_DuiLib::DUI__Trace_wchar_t_const__
push ebx
push 1
lea ecx, [ebp]
call fcn.00401da0
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401e20
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.00401e20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401a90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x464]
xor ecx, ebp
call fcn.004221b5
add ebp, 0x468
leave
ret 4