Function at 0x439614
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x1804]
mov eax, 0x1804
call fcn.00467130
push 0xffffffffffffffff
push 0x4891de
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x1800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1818]
mov ecx, dword [ebp + 0x181c]
mov edi, dword [ebp + 0x180c]
mov ebx, dword [ebp + 0x1810]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
call fcn.00438972
xor esi, esi
cmp edi, esi
je 0x439904
cmp ebx, esi
je 0x439904
push 3
push ebx
push edi
call fcn.004688de
add esp, 0xc
test eax, eax
je 0x4396ab
push dword [ebp - 0x10]
push ebx
push edi
call fcn.00436a50
add esp, 0xc
jmp 0x439906
push 0x800
lea eax, [ebp + 0x1000]
push esi
push eax
call fcn.004670a0
push 0x400
lea eax, [ebp + 0x1000]
push ebx
push eax
call fcn.00467050
add esp, 0x18
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp + 0x1000]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 3
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
cmp eax, esi
jne 0x439906
push 0x494f24
lea ecx, [ebp - 0x10]
call fcn.004029f9
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.004370c2
mov ecx, dword [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0043959e
lea ecx, [ebp - 0x28]
call fcn.0043e159
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004023e9
push ebx
call fcn.00435f18
pop ecx
test eax, eax
jne 0x439853
push 0x800
push eax
lea eax, [ebp]
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0x492564
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4397b3
push 0x494f10
lea ecx, [ebp - 0x10]
call fcn.004029f9
mov dword [ebp - 4], 2
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.004370c2
mov byte [ebp - 4], 3
jmp 0x439833
push 3
lea eax, [ebp]
push eax
push ebx
call edi
test eax, eax
je 0x43980c
push 4
lea eax, [ebp]
push 0
push eax
call fcn.00436091
add esp, 0xc
push 3
push ebx
push dword [ebp - 0x1c]
call edi
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4398ff
push 0x494efc
lea ecx, [ebp - 0x10]
call fcn.004029f9
mov dword [ebp - 4], 4
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.004370c2
mov byte [ebp - 4], 5
jmp 0x439833
push str.T_rT
lea ecx, [ebp - 0x10]
call fcn.004029f9
mov dword [ebp - 4], 6
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.004370c2
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0043959e
lea ecx, [ebp - 0x28]
call fcn.0043e159
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004023e9
push 0x800
lea eax, [ebp + 0x800]
push 0
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp + 0x800]
push eax
push 0
push 0x492564
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 3
lea eax, [ebp + 0x800]
push eax
push dword [ebp - 0x1c]
call edi
push 5
lea eax, [ebp + 0x800]
push ebx
push eax
call fcn.00436091
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4398f2
push 0x494ed4
lea ecx, [ebp - 0x18]
call fcn.004029f9
mov dword [ebp - 4], 8
call esi
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.004370c2
mov ecx, dword [ebp - 0x14]
push eax
mov byte [ebp - 4], 9
call fcn.0043959e
lea ecx, [ebp - 0x34]
call fcn.0043e159
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [0x4c27fc]
push 1
call fcn.0044cdb1
mov eax, dword [ebp - 0x10]
jmp 0x439906
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1800]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x1804
leave
ret