Function at 0x5da950
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x706b42
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x40]
call fcn.005d9f80
cmp dword [esi + 0x34], 8
jb 0x5da99e
mov eax, dword [esi + 0x20]
jmp 0x5da9a1
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.MSVCR120.dll__wremove]
add esp, 4
test eax, eax
je 0x5dac56
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5dac56
push str.cant_remove_temporary_file__s
lea ecx, [esp + 0xb0]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov dword [esp + 0x3c], eax
mov byte [esp + 0xd8], 1
call fcn.005eae80
test eax, eax
je 0x5daa36
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xb0]
push ecx
mov ecx, eax
call fcn.005ecae0
mov edi, eax
test edi, edi
jne 0x5daa48
lea eax, [esp + 0xac]
push eax
call fcn.005ed1e0
add esp, 4
mov edi, eax
call fcn.005c92f0
mov dword [esp + 0x10], eax
mov byte [esp + 0xd8], 2
call fcn.005c92f0
mov dword [esp + 0x14], eax
mov byte [esp + 0xd8], 3
call fcn.005c92f0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0
push str.wx.sys_error
lea ecx, [esp + 0x90]
mov byte [esp + 0xdc], 4
call fcn.00418040
sub esp, 0xc
lea ecx, [esi + 0x20]
mov eax, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0041f670
push 0
mov byte [esp + 0xe8], 6
mov dword [esp + 0x54], 1
mov dword [esp + 0x5c], str....._srccommon_file.cpp
mov dword [esp + 0x64], str.wxTempFile::Discard
mov dword [esp + 0x60], 0x273
mov dword [esp + 0x68], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
mov dword [esp + 0x90], eax
mov byte [esp + 0xe4], 7
lea eax, [esp + 0x1c]
push eax
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x5c]
call fcn.0049dde0
mov ecx, eax
mov byte [esp + 0xe8], 8
call fcn.00493410
push dword [esp + 0x84]
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0xdc], 5
call esi
add esp, 4
cmp dword [esp + 0x80], 8
jb 0x5dab85
push dword [esp + 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
lea ecx, [esp + 0x4c]
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
call fcn.00439c40
push dword [esp + 0xa4]
call esi
add esp, 4
cmp dword [esp + 0xa0], 8
jb 0x5dabcd
push dword [esp + 0x8c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
lea ecx, [esp + 0x10]
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
mov byte [esp + 0xd8], 1
call fcn.00420020
push dword [esp + 0x3c]
call esi
add esp, 4
cmp dword [esp + 0x38], 8
jb 0x5dac1a
push dword [esp + 0x24]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xc4]
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call esi
add esp, 4
cmp dword [esp + 0xc0], 8
jb 0x5dac56
push dword [esp + 0xac]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.006d1ba7
add esp, 0xd0
ret