Function at 0x45955e
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46defc
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402a51
and dword [ebp - 4], 0
push dword [ebp + 0x10]
lea ecx, [ebp - 0x230]
call fcn.0040c6a4
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.00458c5e
pop ecx
pop ecx
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x230]
call fcn.0040277e
push eax
lea ecx, [ebp - 0x248]
call fcn.0040277e
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x459860
push 1
push 3
lea ecx, [ebp - 0x358]
call fcn.00419121
mov byte [ebp - 4], 2
lea eax, [ebp - 0x358]
test eax, eax
je 0x459629
lea eax, [ebp - 0x358]
add eax, 0x10
mov dword [ebp - 0x280], eax
jmp 0x459630
and dword [ebp - 0x280], 0
push dword [ebp + 8]
push dword [ebp - 0x280]
call fcn.0041e0ad
pop ecx
pop ecx
lea eax, [ebp - 0x358]
test eax, eax
je 0x45965b
lea eax, [ebp - 0x358]
add eax, 0x10
mov dword [ebp - 0x284], eax
jmp 0x459662
and dword [ebp - 0x284], 0
push str._10____
push dword [ebp - 0x284]
call fcn.0041e358
pop ecx
pop ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x348]
call fcn.00419d3d
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x288]
add ecx, dword [eax + 4]
call fcn.00420200
movzx eax, al
test eax, eax
je 0x4596b1
mov dword [ebp - 0x2a0], 0x483308
jmp 0x4596bb
mov dword [ebp - 0x2a0], 0x48330c
lea eax, [ebp - 0x358]
test eax, eax
je 0x4596d6
lea eax, [ebp - 0x358]
add eax, 0x10
mov dword [ebp - 0x28c], eax
jmp 0x4596dd
and dword [ebp - 0x28c], 0
push 0x483310
push dword [ebp - 0x28c]
call fcn.0041e358
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x348]
call fcn.00419bc6
lea eax, [ebp - 0x358]
test eax, eax
je 0x45971c
lea eax, [ebp - 0x358]
add eax, 0x10
mov dword [ebp - 0x290], eax
jmp 0x459723
and dword [ebp - 0x290], 0
push 0x483314
push dword [ebp - 0x290]
call fcn.0041e358
pop ecx
pop ecx
lea eax, [ebp - 0x358]
test eax, eax
je 0x459750
lea eax, [ebp - 0x358]
add eax, 0x10
mov dword [ebp - 0x294], eax
jmp 0x459757
and dword [ebp - 0x294], 0
push 0x483318
push dword [ebp - 0x294]
call fcn.0041e358
pop ecx
pop ecx
lea eax, [ebp - 0x358]
test eax, eax
je 0x459784
lea eax, [ebp - 0x358]
add eax, 0x10
mov dword [ebp - 0x298], eax
jmp 0x45978b
and dword [ebp - 0x298], 0
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x298]
call fcn.0041e0ad
pop ecx
pop ecx
lea eax, [ebp - 0x358]
test eax, eax
je 0x4597ba
lea eax, [ebp - 0x358]
add eax, 0x10
mov dword [ebp - 0x29c], eax
jmp 0x4597c1
and dword [ebp - 0x29c], 0
push 0x48331c
push dword [ebp - 0x29c]
call fcn.0041e358
pop ecx
pop ecx
lea ecx, [ebp - 0x230]
call fcn.0040277e
push eax
lea ecx, [ebp - 0x260]
call fcn.00402a51
mov byte [ebp - 4], 3
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x358]
call fcn.004190a4
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 4
push 0
push 0xffffffffffffffff
push 0
push 0
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x260]
push eax
call fcn.00458818
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x278]
call fcn.00402e75
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.00402e75
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x358]
call fcn.00418c6f
mov byte [ebp - 0x279], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00402e75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00402e75
mov al, byte [ebp - 0x279]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret