Function at 0x47a360
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f426
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0x24]
call fcn.004381b0
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x8c]
call eax
test eax, eax
jne 0x47a40b
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 4]
sub edx, 0x42c
mov dword [ebp - 0x50], edx
push 0
push 0x584050
push 0x584058
mov ecx, dword [ebp - 0x50]
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call fcn.0049ea20
add esp, 0x10
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00438220
mov eax, dword [ebp - 0x5c]
jmp 0x47a609
lea ecx, [ebp - 0x60]
call fcn.0047f910
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00497a70
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004368a0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.0045de00
add esp, 0x18
mov ecx, eax
call fcn.0045e580
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
call fcn.0050721e
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x28]
mov byte [ecx - 1], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x28]
mov byte [edx - 2], 0
xor eax, eax
mov byte [ebp - 0x7a], al
movzx ecx, byte [ebp - 0x7a]
push ecx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x24]
call fcn.00497a70
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x24]
call fcn.004368a0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.0047f070
add esp, 0x14
mov byte [ebp - 0x79], al
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0045e5a0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00497a70
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x24]
call fcn.004368a0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xac]
push eax
call fcn.0045de60
add esp, 0x1c
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004368a0
jmp 0x47a523
lea ecx, [ebp - 0x58]
call fcn.00461590
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x24]
call fcn.00497a70
push eax
lea ecx, [ebp - 0x58]
call fcn.0044ff40
movzx eax, al
test eax, eax
je 0x47a57a
lea ecx, [ebp - 0x58]
call fcn.00475490
mov ecx, eax
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.0048dd00
test eax, eax
je 0x47a578
lea ecx, [ebp - 0x58]
call fcn.00475490
push eax
mov ecx, dword [ebp - 0xc0]
add ecx, 0x44
call fcn.0047d700
jmp 0x47a51b
mov dword [ebp - 0x48], 0
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2c], cx
cmp dword [ebp + 8], 0
jne 0x47a5a8
mov edx, 0x40
mov word [ebp - 0x38], dx
mov dword [ebp - 0x44], 3
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0053f10f
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.004a6180
mov dword [ebp - 0xbc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00438220
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4