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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0b50
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4f6108]
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 0x42ef45
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x228]
call fcn.00404260
push 1
push 0x4dc5c0
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.0042a380
call fcn.004047a0
mov ecx, eax
test ecx, ecx
jne 0x42ef7c
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.004171d0
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 0x42efdf
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 0x42f006
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.004171d0
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 0x42f066
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.004303b0
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 0x42f0b2
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.004171d0
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 0x42f11a
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 0x42f123
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.0042a380
lea ecx, [ebp - 0x220]
call fcn.0045c540
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.0042a380
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 0x42f1ad
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.0042f980
mov ecx, dword [0x4fba54]
test ecx, ecx
je 0x42f1f4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x4fba54], 0
push 0x18
call fcn.0047a764
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.00438a10
mov byte [ebp - 4], 9
mov dword [0x4fba54], eax
call fcn.00438c00
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 0x42f264
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 0x42f282
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 0x42f29d
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 0x42f2be
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 0x42f2df
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 0x42f301
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.0047ac53
mov esp, ebp
pop ebp
ret 4