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

Disassembly:
push 0xffffffffffffffff
push 0x47fa4e
mov eax, dword fs:[0]
push eax
mov eax, 0x1824
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x1820], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x1838]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1858]
mov ebx, dword [esi + 0x10]
mov eax, dword [esp + 0x1854]
mov ebp, dword [esp + 0x1848]
mov edi, dword [esp + 0x184c]
mov dword [esp + 0x24], eax
cmp dword [esi + 0xc], ebx
jbe 0x43091c
call fcn.00461bce
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x430937
call fcn.00461bce
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
push ebx
push edx
push ecx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0042e750
test ebp, ebp
je 0x430c76
test edi, edi
je 0x430c76
push 3
push edi
push ebp
call fcn.004638e7
add esp, 0xc
test eax, eax
je 0x430981
mov ecx, dword [esp + 0x24]
push ecx
push edi
push ebp
call fcn.0042e140
add esp, 0xc
jmp 0x430c78
push 0x800
lea edx, [esp + 0x38]
push 0
push edx
call fcn.00461880
push 0x400
lea eax, [esp + 0x44]
push edi
push eax
call fcn.004625ca
add esp, 0x18
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x34]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [esp + 0x34]
push eax
call fcn.0042bbd0
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 4
push 3
push edi
push ebp
call ebx
test eax, eax
jne 0x430c78
push 0x488db0
lea ecx, [esp + 0x18]
call fcn.0041deb0
mov dword [esp + 0x1840], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.0042d4b0
push eax
mov ecx, esi
mov byte [esp + 0x1844], 1
call fcn.00430810
lea ecx, [esp + 0x18]
call fcn.0042c690
lea ecx, [esp + 0x14]
mov dword [esp + 0x1840], 0xffffffff
call fcn.0041c130
push edi
call fcn.0042d7a0
movzx eax, al
add esp, 4
test eax, eax
jne 0x430bb3
push 0x800
push eax
lea edx, [esp + 0x83c]
push edx
call fcn.00461880
add esp, 0xc
lea eax, [esp + 0x834]
push eax
push 0
push 0x487a6c
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x430abc
push 0x488d9c
lea ecx, [esp + 0x18]
call fcn.0041deb0
mov dword [esp + 0x1840], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.0042d4b0
mov byte [esp + 0x1840], 3
jmp 0x430b8e
push 3
lea eax, [esp + 0x838]
push eax
push edi
call ebx
test eax, eax
je 0x430b58
push 4
lea ecx, [esp + 0x838]
push 0
push ecx
call fcn.0042be80
add esp, 0xc
push 3
push edi
push ebp
call ebx
mov ebx, eax
test ebx, ebx
jne 0x430c72
push 0x488d88
lea ecx, [esp + 0x18]
call fcn.0041deb0
mov dword [esp + 0x1840], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.0042d4b0
push eax
mov ecx, esi
mov byte [esp + 0x1844], 5
call fcn.00430810
lea ecx, [esp + 0x18]
call fcn.0042c690
lea ecx, [esp + 0x14]
mov dword [esp + 0x1840], 0xffffffff
call fcn.0041c130
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x430bb3
push str.T_rT
lea ecx, [esp + 0x18]
call fcn.0041deb0
mov dword [esp + 0x1840], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.0042d4b0
mov byte [esp + 0x1840], 7
push eax
mov ecx, esi
call fcn.00430810
lea ecx, [esp + 0x18]
call fcn.0042c690
lea ecx, [esp + 0x14]
mov dword [esp + 0x1840], 0xffffffff
call fcn.0041c130
push 0x800
lea ecx, [esp + 0x1038]
push 0
push ecx
call fcn.00461880
add esp, 0xc
lea edx, [esp + 0x1034]
push edx
push 0
push 0x487a6c
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 3
lea ecx, [esp + 0x1038]
push ecx
push ebp
call ebx
push 5
lea edx, [esp + 0x1038]
push edi
push edx
call fcn.0042be80
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x430c65
push 0x488d60
lea ecx, [esp + 0x18]
call fcn.0041deb0
mov dword [esp + 0x1840], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.0042d4b0
push eax
mov ecx, esi
mov byte [esp + 0x1844], 9
call fcn.00430810
lea ecx, [esp + 0x28]
call fcn.0042c690
lea ecx, [esp + 0x14]
mov dword [esp + 0x1840], 0xffffffff
call fcn.0041c130
mov ecx, dword [0x4a4cf8]
push 1
call fcn.0043fa50
mov eax, ebx
jmp 0x430c78
xor eax, eax
mov ecx, dword [esp + 0x1838]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1820]
xor ecx, esp
call fcn.00461862
add esp, 0x1830
ret