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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3db0
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x513108]
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.00404420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push str.NetBridge.dll
mov dword [ebp - 0x230], 0
call fcn.00404420
mov byte [ebp - 4], 1
lea eax, [esi + 0x10c]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x228], 0
jb 0x430a25
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x228]
call fcn.00404420
push 1
push 0x4f41a4
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.0042af80
call fcn.00404960
mov ecx, eax
test ecx, ecx
jne 0x430a5c
push 0x80004005
call fcn.004046c0
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.00417730
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.004021a0
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 0x430abf
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.00404960
mov ecx, eax
test ecx, ecx
jne 0x430ae6
push 0x80004005
call fcn.004046c0
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.00417730
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 6
call fcn.004021a0
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 0x430b46
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.00432480
add esp, 4
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 7
call fcn.004021a0
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 0x430b92
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.00417730
add esp, 4
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 8
call fcn.004021a0
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 0x430bfa
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 0x430c03
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00404320
push 7
push str.Plugin_
lea ecx, [ebp - 0x220]
call fcn.0042af80
lea ecx, [ebp - 0x220]
call fcn.00469f20
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.0042af80
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.00404960
mov ecx, eax
test ecx, ecx
jne 0x430c8d
push 0x80004005
call fcn.004046c0
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.004317a0
mov ecx, dword [0x5191ec]
test ecx, ecx
je 0x430cd4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x5191ec], 0
push 0x18
call fcn.0048c852
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.0043a9a0
mov byte [ebp - 4], 9
mov dword [0x5191ec], eax
call fcn.0043ab90
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 0x430d44
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 0x430d62
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 0x430d7d
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 0x430d9e
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 0x430dbf
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 0x430de1
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.0048cd41
mov esp, ebp
pop ebp
ret 4