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

Disassembly:
push 0xffffffffffffffff
push 0x49e048
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c02a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0x34]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.00406d60
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x34]
push ebp
call fcn.00469e30
cmp eax, ebx
jne 0x469dcf
mov ecx, dword [esp + 0x34]
push ebx
push ecx
call fcn.0048107a
add esp, 8
test eax, eax
jne 0x469dd7
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.00404f50
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.0046a870
mov edx, dword [0x4c45ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c45ac
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x2c], 2
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x105
or eax, ecx
jge 0x469c0a
mov ecx, 0x105
lea eax, [esp + 0x14]
call fcn.00407630
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
push ebx
push 0x4a509c
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, eax
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0047e15f
add esp, 8
cmp eax, ebx
jl 0x469e19
cmp eax, dword [edi - 8]
jg 0x469e19
xor edx, edx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], dx
cmp esi, ebx
jne 0x469c65
mov eax, dword [esp + 0x34]
push eax
push 0x4a50a0
lea edi, [esp + 0x1c]
call fcn.004128d0
mov edi, dword [esp + 0x1c]
add esp, 8
jmp 0x469c6c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x34]
push edi
push ecx
call fcn.0047e17e
add esp, 8
test eax, eax
je 0x469d07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4a50b0
mov ecx, 0x4c5908
call fcn.00472890
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x2c]
push eax
mov ebx, str.0000.
call fcn.00412200
add esp, 0x10
mov byte [esp + 0x2c], 3
mov eax, dword [eax]
push ebp
mov esi, eax
call fcn.00469e30
mov esi, eax
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469ce5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x469cf0
mov ebx, 0x4a50dc
jmp 0x469d5e
lea ecx, [esp + 0x14]
call fcn.00406e10
lea ecx, [esp + 0x18]
call fcn.00406e10
jmp 0x469dd7
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [esp + 0x34]
push ebp
call fcn.00469e30
cmp eax, ebx
jne 0x469d89
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, 0x4a50e0
call fcn.00412200
add esp, 8
mov byte [esp + 0x2c], 4
mov eax, dword [eax]
push ebp
mov esi, eax
call fcn.00469e30
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x2c], 2
call fcn.00406e10
test esi, esi
je 0x469cf0
mov ebx, 0x4a50e4
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00412200
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
add esp, 8
push 5
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0x20]
call fcn.00406e10
add edi, 0xfffffff0
mov byte [esp + 0x2c], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x469daa
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469dcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469dff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
push 0x80070057
call fcn.00402890
int3