Function at 0x45c4f0
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5902a0
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x23c], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x234]
push str.PluginBasic.tpi
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0
call fcn.004077e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push str.NetBridge.dll
mov dword [ebp - 0x230], 0
call fcn.004077e0
mov byte [ebp - 4], 1
lea eax, [esi + 0x10c]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x228], 0
jb 0x45c585
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x228]
call fcn.004077e0
push 1
push 0x5bd99c
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.0044bda0
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x45c5bc
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.0045e5c0
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.00402eb0
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x224]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c61f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x45c646
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.0045e5c0
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 6
call fcn.00402eb0
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c6a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x230]
push eax
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x224]
call fcn.0045e4e0
add esp, 4
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 7
call fcn.00402eb0
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c6f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push esi
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x240]
call fcn.0045e5c0
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 8
call fcn.00402eb0
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c75a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c763
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00407620
push 7
push str.Plugin_
lea ecx, [ebp - 0x220]
call fcn.0044bda0
lea ecx, [ebp - 0x220]
call fcn.004beab0
push dword [ebp - 0x220]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 9
push str.Basic.tpi
lea ecx, [ebp - 0x220]
call fcn.0044bda0
mov esi, dword [ebp - 0x220]
mov edi, dword [ebp - 0x22c]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x45c7ed
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x224]
mov ecx, dword [ebp - 0x23c]
push eax
lea eax, [ecx + 0x10c]
push eax
call fcn.0045d820
mov ecx, dword [0x5f1700]
test ecx, ecx
je 0x45c834
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x5f1700], 0
push 0x18
call fcn.0050e66a
add esp, 4
mov dword [ebp - 0x23c], eax
push dword [ebp - 0x238]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0xa
push ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x220]
push ecx
movups xmmword [eax], xmm0
mov ecx, eax
movq qword [eax + 0x10], xmm0
call fcn.0046bdc0
mov byte [ebp - 4], 9
mov dword [0x5f1700], eax
call fcn.0046c080
mov byte [ebp - 4], 5
or ecx, 0xffffffff
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x238], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45c8a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c8c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45c8dd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c8fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c91f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45c941
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed39
mov esp, ebp
pop ebp
ret 4