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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d14e0
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x50d108]
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.004043c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push str.NetBridge.dll
mov dword [ebp - 0x230], 0
call fcn.004043c0
mov byte [ebp - 4], 1
lea eax, [esi + 0x10c]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x228], 0
jb 0x430945
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x228]
call fcn.004043c0
push 1
push 0x4eed18
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.0042aec0
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x43097c
push 0x80004005
call fcn.00404660
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.004176d0
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.00402130
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 0x4309df
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.00404900
mov ecx, eax
test ecx, ecx
jne 0x430a06
push 0x80004005
call fcn.00404660
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.004176d0
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 6
call fcn.00402130
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 0x430a66
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.00432210
add esp, 4
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 7
call fcn.00402130
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 0x430ab2
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.004176d0
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 8
call fcn.00402130
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 0x430b1a
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 0x430b23
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.004042c0
push 7
push str.Plugin_
lea ecx, [ebp - 0x220]
call fcn.0042aec0
lea ecx, [ebp - 0x220]
call fcn.00468780
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.0042aec0
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.00404900
mov ecx, eax
test ecx, ecx
jne 0x430bad
push 0x80004005
call fcn.00404660
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.004315c0
mov ecx, dword [0x51300c]
test ecx, ecx
je 0x430bf4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x51300c], 0
push 0x18
call fcn.0048a2e5
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.0043a520
mov byte [ebp - 4], 9
mov dword [0x51300c], eax
call fcn.0043a710
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 0x430c64
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 0x430c82
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 0x430c9d
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 0x430cbe
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 0x430cdf
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 0x430d01
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.0048a7e3
mov esp, ebp
pop ebp
ret 4