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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9210
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x501108]
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.00404260
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push str.NetBridge.dll
mov dword [ebp - 0x230], 0
call fcn.00404260
mov byte [ebp - 4], 1
lea eax, [esi + 0x10c]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x228], 0
jb 0x42f065
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x228]
call fcn.00404260
push 1
push 0x4e5b54
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.0042a280
call fcn.004047a0
mov ecx, eax
test ecx, ecx
jne 0x42f09c
push 0x80004005
call fcn.00404500
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.004173e0
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.00401fe0
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 0x42f0ff
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.004047a0
mov ecx, eax
test ecx, ecx
jne 0x42f126
push 0x80004005
call fcn.00404500
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.004173e0
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 6
call fcn.00401fe0
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 0x42f186
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.004305e0
add esp, 4
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 7
call fcn.00401fe0
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 0x42f1d2
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.004173e0
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 8
call fcn.00401fe0
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 0x42f23a
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 0x42f243
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00404160
push 7
push str.Plugin_
lea ecx, [ebp - 0x220]
call fcn.0042a280
lea ecx, [ebp - 0x220]
call fcn.004642e0
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.0042a280
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.004047a0
mov ecx, eax
test ecx, ecx
jne 0x42f2cd
push 0x80004005
call fcn.00404500
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.0042faa0
mov ecx, dword [0x506c34]
test ecx, ecx
je 0x42f314
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x506c34], 0
push 0x18
call fcn.00482f1a
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.004398a0
mov byte [ebp - 4], 9
mov dword [0x506c34], eax
call fcn.00439a90
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 0x42f384
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 0x42f3a2
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 0x42f3bd
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 0x42f3de
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 0x42f3ff
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 0x42f421
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.00483426
mov esp, ebp
pop ebp
ret 4