Function at 0x40ff60
Capabilities:
Create directory
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449f66
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x4611f4]
xor eax, esp
mov dword [esp + 0x860], eax
push ebx
push esi
push edi
mov eax, dword [0x4611f4]
xor eax, esp
push eax
lea eax, [esp + 0x878]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x2c], eax
lea ebx, [eax + 0x24]
push str.BFVKanDianYing.exe
mov edx, ebx
lea ecx, [esp + 0x34]
call fcn.0040bce0
add esp, 4
push str.Uninst.exe
mov edx, ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x884], 0
call fcn.0040bce0
add esp, 4
mov byte [esp + 0x880], 1
push 0x5c
push dword [ebx]
call fcn.00432fb2
add esp, 8
test eax, eax
jne 0x40fff7
or eax, 0xffffffff
jmp 0x40fffb
sub eax, dword [ebx]
sar eax, 1
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call fcn.004027b0
push 0x455894
lea ecx, [esp + 0x28]
mov byte [esp + 0x884], 2
call fcn.00402410
push 0x4558a8
lea ecx, [esp + 0x40]
mov byte [esp + 0x884], 3
call fcn.00402410
push 1
push 0x10
lea eax, [esp + 0x464]
push eax
mov byte [esp + 0x88c], 4
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
call esi
push 1
push 0x1a
lea eax, [esp + 0x25c]
push eax
push 0
call esi
test eax, eax
je 0x41008e
lea edi, [esp + 0x254]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410070
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 1
push 0x17
lea eax, [esp + 0x66c]
push eax
push 0
call esi
lea eax, [esp + 0x664]
push eax
lea ecx, [esp + 0x20]
call fcn.00402410
push 0x4558c0
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
mov byte [esp + 0x884], 5
call fcn.0040bce0
add esp, 4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x884], 6
call fcn.00401a10
mov byte [esp + 0x880], 5
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x410106
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [esp + 0x20]
call edi
push 0x4558cc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.0040bce0
add esp, 4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x884], 7
call fcn.00401a10
mov byte [esp + 0x880], 5
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410160
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [esp + 0x20]
call edi
push 0x4558dc
lea ecx, [esp + 0x3c]
call fcn.00402410
push str.BFVDesktop.exe
mov edx, ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x884], 8
call fcn.0040bce0
add esp, 4
push 0
mov byte [esp + 0x884], 9
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
push 5
push 1
lea eax, [esp + 0x48]
push str._Run_d__From_d
push eax
mov byte [esp + 0x890], 0xa
call fcn.0040be40
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
add esp, 0x10
push 0
push ecx
push ebx
push 0x455920
push ecx
mov ecx, dword [esp + 0x48]
push edi
push dword [esp + 0x50]
call fcn.00408b70
mov edx, dword [esp + 0x38]
add esp, 0x1c
push str.Baofeng.BFVCenter.WIN7APPID
push ecx
push str._startmenu
push 0x455444
push ecx
mov ecx, dword [esp + 0x44]
push edi
push dword [esp + 0x3c]
call fcn.00408b70
mov edx, dword [esp + 0x38]
add esp, 0x1c
push 0
push ecx
push 0
push 0x455988
push ecx
mov ecx, dword [esp + 0x58]
push edi
push dword [esp + 0x54]
call fcn.00408b70
add esp, 0x1c
lea eax, [esp + 0x45c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00402410
push 0xb
push 0x45599c
lea ecx, [esp + 0x30]
mov byte [esp + 0x888], 0xb
call fcn.0040ca60
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
push 0
push 0
push 2
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x4102b8
cmp dword [0x46237c], 6
jb 0x4102b1
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0041d300
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Baofeng.BFVCenter.WIN7APPID
push ecx
push str._taskbar
push 0
push ecx
mov ecx, dword [esp + 0x44]
push edi
push dword [esp + 0x3c]
lea edx, [esp + 0x270]
call fcn.00408b70
add esp, 0x1c
cmp dword [0x46237c], 6
jne 0x410415
mov eax, dword [0x462380]
cmp eax, 1
je 0x4102fe
cmp eax, 2
jne 0x410415
lea eax, [esp + 0x254]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402410
push 0x455154
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x24]
mov byte [esp + 0x884], 0xc
call fcn.0040bce0
add esp, 4
lea ecx, [esp + 0x24]
push ecx
mov edx, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x884], 0xd
call fcn.004198b0
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x884], 0xe
call fcn.00401a10
mov byte [esp + 0x880], 0xd
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41037e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x880], 0xc
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4103a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
push dword [esp + 0x24]
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x280], 0
je 0x4103f0
cmp dword [0x46237c], 6
jne 0x4103f0
cmp dword [0x462380], 1
jne 0x4103f0
push 0
push 0
push 0
push dword [esp + 0x24]
push str.startpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x880], 0xb
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410415
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x45c]
push eax
lea ecx, [esp + 0x24]
call fcn.00402410
push 0xa
push 0x4559f4
lea ecx, [esp + 0x28]
mov byte [esp + 0x888], 0xf
call fcn.0040ca60
mov edx, dword [esp + 0x2c]
push str.CooperationIco
lea edx, [edx + 0x24]
lea ecx, [esp + 0x1c]
call fcn.0040bce0
add esp, 4
push 0xd
push str._netstart.ico
lea ecx, [esp + 0x20]
mov byte [esp + 0x888], 0x10
call fcn.0040ca60
push dword [esp + 0x18]
lea eax, [esp + 0x50]
push 0x104
push eax
call fcn.00433dd5
add esp, 0xc
lea eax, [esp + 0x4c]
push 0x5c
push eax
call fcn.00432fb2
add esp, 8
test eax, eax
je 0x4104b4
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4104b4
lea ecx, [esp + 0x4c]
call fcn.0041c800
mov esi, dword [0x4649a4]
mov eax, dword [esp + 0x18]
push str.RESOURCE_DATA
push 0x94
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4104e3
mov ecx, dword [esp + 0x14]
push eax
mov edx, esi
call fcn.0041cc70
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x880], 0x11
push dword [eax + 0x26c]
lea eax, [esp + 0x18]
push dword [0x464a40]
push str.2.12.1021.1152
push str.http:__hao.118go.com_index.html
push str._s_Ver_sSid_sUid_sfrom1
push eax
call fcn.0040be40
mov esi, dword [esp + 0x2c]
push dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.00408e10
lea edx, [esi - 0x10]
or esi, 0xffffffff
add esp, 0x1c
mov byte [esp + 0x880], 0x10
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410562
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x880], 0xf
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410587
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x880], 0xb
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4105ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x880], 0xa
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4105d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x880], 9
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4105f8
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x880], 8
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41061d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x880], 5
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410642
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x880], 4
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410667
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x880], 3
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41068c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x880], 2
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4106b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x880], 1
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4106d2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x880], 0
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4106f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x880], 0xffffffff
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x41071d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x860]
xor ecx, esp
call fcn.00431c68
mov esp, ebp
pop ebp
ret