Function at 0x401000
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Get file attributes
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1cc4
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x760
mov eax, dword [0x4d0c20]
xor eax, ebp
mov dword [ebp - 0x24], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0
lea eax, [ebp - 0x624]
push eax
call fcn.0040e8b0
add esp, 8
mov dword [ebp - 0x768], eax
mov ecx, dword [ebp - 0x768]
mov dword [ebp - 0x76c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x76c]
push edx
mov ecx, 0x4d52f0
call fcn.004016e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x624]
call fcn.004016c0
push str.log2.log
push 0x4d52f0
lea eax, [ebp - 0x68]
push eax
call fcn.00401d00
add esp, 0xc
mov dword [ebp - 4], 1
push 0x400
lea ecx, [ebp - 0x68]
push ecx
mov ecx, 0x4d52c8
call fcn.0040f430
lea ecx, [ebp - 0x68]
call fcn.00402ab0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffff
je 0x4010de
mov edx, dword [ebp - 0x6c]
and edx, 0x10
je 0x4010de
lea ecx, [ebp - 0x68]
call fcn.00402ab0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004016c0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x401105
xor eax, eax
jmp 0x4015b4
mov eax, dword [ebp + 8]
push eax
call fcn.00419830
add esp, 4
call fcn.004015e0
push str.ZIPRES
push 0x66
call fcn.004197b0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x401139
xor eax, eax
jmp 0x4015b4
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004197b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x40116a
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x4015b4
mov eax, dword [ebp - 0x48]
push eax
call fcn.004197b0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40118a
xor eax, eax
jmp 0x4015b4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00418a1c
add esp, 4
mov dword [ebp - 0x628], eax
mov edx, dword [ebp - 0x628]
mov dword [0x4d5268], edx
cmp dword [0x4d5268], 0
je 0x4011cf
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov edx, dword [0x4d5268]
push edx
call fcn.00495700
add esp, 0xc
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
push str.opZZvX9f
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x4d5268]
push edx
call fcn.00419840
add esp, 0xc
push 0x4c6d54
lea ecx, [ebp - 0x40]
call fcn.00401680
mov dword [ebp - 4], 2
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.0040eb40
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
je 0x401435
push 0x4c6d74
lea ecx, [ebp - 0x644]
call fcn.00401680
mov byte [ebp - 4], 3
push 0x4c6d7c
lea ecx, [ebp - 0x660]
call fcn.00401680
mov byte [ebp - 4], 4
push 0x4c6d84
lea ecx, [ebp - 0x67c]
call fcn.00401680
mov byte [ebp - 4], 5
push 0x4c6dac
lea ecx, [ebp - 0x698]
call fcn.00401680
mov byte [ebp - 4], 6
push 0xb4
push 0x12c
lea ecx, [ebp - 0x644]
push ecx
lea edx, [ebp - 0x660]
push edx
push 2
push 1
lea eax, [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x698]
push ecx
push 0
call fcn.0040bd50
add esp, 0x24
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x698]
call fcn.004016c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x67c]
call fcn.004016c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x660]
call fcn.004016c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x644]
call fcn.004016c0
cmp dword [ebp - 0x74], 0
jne 0x4012f1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x6d]
call fcn.00408320
mov byte [ebp - 4], 7
push str.Saibo.exe
lea ecx, [ebp - 0x6b4]
call fcn.00401680
mov byte [ebp - 4], 8
lea edx, [ebp - 0x6b4]
push edx
lea ecx, [ebp - 0x6d]
call fcn.0040e280
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6b4]
call fcn.004016c0
push str.openvpn.exe
lea ecx, [ebp - 0x6d0]
call fcn.00401680
mov byte [ebp - 4], 9
lea eax, [ebp - 0x6d0]
push eax
lea ecx, [ebp - 0x6d]
call fcn.0040e280
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6d0]
call fcn.004016c0
push str.local333.exe
lea ecx, [ebp - 0x6ec]
call fcn.00401680
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6ec]
push ecx
lea ecx, [ebp - 0x6d]
call fcn.0040e280
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6ec]
call fcn.004016c0
push str.local256.exe
lea ecx, [ebp - 0x708]
call fcn.00401680
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x708]
push edx
lea ecx, [ebp - 0x6d]
call fcn.0040e280
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x708]
call fcn.004016c0
push str.local335.exe
lea ecx, [ebp - 0x724]
call fcn.00401680
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x724]
push eax
lea ecx, [ebp - 0x6d]
call fcn.0040e280
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x724]
call fcn.004016c0
push str.saibojiasu.exe
lea ecx, [ebp - 0x740]
call fcn.00401680
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x740]
push ecx
lea ecx, [ebp - 0x6d]
call fcn.0040e280
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x740]
call fcn.004016c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6d]
call fcn.00488820
push str.Global_ONCE_RUN_SaiBoJiasuqi_install_
lea ecx, [ebp - 0x75c]
call fcn.00402a40
lea edx, [ebp - 0x75c]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040c1b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x75c]
call fcn.004021d0
lea ecx, [ebp - 0x20]
call fcn.0040c230
test eax, eax
je 0x4014f4
push 0x4c6e8c
push 0x4c6ea4
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x4014f4
push 9
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x760], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040c200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004016c0
mov eax, dword [ebp - 0x760]
jmp 0x4015b4
mov byte [ebp - 4], 0xf
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x608]
call fcn.00402ae0
mov dword [ebp - 0x770], eax
mov byte [ebp - 4], 0x10
push 0
push 0
push 0
push 0
push 0
push 0
push 0x16000000
push 0x4c6eb8
push 0
lea ecx, [ebp - 0x608]
call fcn.004239a0
lea ecx, [ebp - 0x608]
call fcn.00423d90
lea ecx, [ebp - 0x608]
call fcn.00423b10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x608]
call fcn.00402c10
jmp 0x40157c
mov dword [ebp - 4], 0xe
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x764], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040c200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004016c0
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00492337
mov esp, ebp
pop ebp
ret 0x10