joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1015bf60
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.1015d1b0
mov edi, dword [esi + 0x14]
add esp, 4
test edi, edi
je 0x1015bfe1
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
mov edx, dword [esi + 0x20]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
cmp edx, edi
jae 0x1015bfe1
push ebx
mov ebx, dword [esi + 0x18]
nop dword [eax + eax]
movq xmm1, qword [esp + 0xc]
mov eax, 0x38
sub eax, edx
add edx, 8
movd xmm0, eax
psrlq xmm1, xmm0
movd eax, xmm1
movzx ecx, al
mov eax, ebx
shr eax, 8
xor ecx, eax
movzx ebx, bl
shl ebx, 8
movzx ecx, word [ecx*2 + 0x102acf58]
xor ebx, ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x18], ebx
cmp edx, edi
jb 0x1015bfa0
pop ebx
mov ax, word [esi + 0x18]
pop edi
pop esi
add esp, 8
ret

Function at 0x1015d290
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
push edi
mov edi, dword [esp + 0x10]
cmp edi, 8
jb 0x1015d330
push ebx
mov ebx, edi
shr ebx, 3
nop dword [eax + eax]
movzx ecx, byte [esi]
sub edi, 8
movzx edx, byte [esi + 1]
shl ecx, 8
or edx, ecx
movzx eax, ax
xor edx, eax
movzx eax, byte [esi + 6]
mov ecx, edx
shr ecx, 8
mov cx, word [ecx*2 + 0x102add58]
xor cx, word [eax*2 + 0x102ad158]
movzx eax, byte [esi + 5]
xor cx, word [eax*2 + 0x102ad358]
movzx eax, byte [esi + 4]
xor cx, word [eax*2 + 0x102ad558]
movzx eax, byte [esi + 3]
xor cx, word [eax*2 + 0x102ad758]
movzx eax, byte [esi + 7]
xor cx, word [eax*2 + 0x102acf58]
movzx eax, byte [esi + 2]
add esi, 8
xor cx, word [eax*2 + 0x102ad958]
movzx eax, dl
xor cx, word [eax*2 + 0x102adb58]
movzx eax, cx
sub ebx, 1
jne 0x1015d2b0
pop ebx
test edi, edi
je 0x1015d355
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, ax
shr edx, 8
xor edx, ecx
shl eax, 8
xor ax, word [edx*2 + 0x102acf58]
movzx eax, ax
sub edi, 1
jne 0x1015d334
pop edi
pop esi
ret

Function at 0x1015d360
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x1015d401
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x10]
add ecx, 2
push ebx
nop dword [eax]
mov edx, dword [ecx + 2]
lea ecx, [ecx + 8]
shr edx, 0x10
movzx eax, ax
xor edx, eax
mov ebx, dword [ecx - 0xa]
movzx eax, byte [ecx - 9]
mov dword [esp + 0x14], edx
shr edx, 8
mov dx, word [edx*2 + 0x102add58]
xor dx, word [eax*2 + 0x102ad158]
movzx eax, byte [ecx - 7]
xor dx, word [eax*2 + 0x102ad558]
movzx eax, byte [ecx - 6]
xor dx, word [eax*2 + 0x102ad758]
movzx eax, byte [ecx - 5]
xor dx, word [eax*2 + 0x102ad958]
movzx eax, bl
xor dx, word [eax*2 + 0x102acf58]
mov eax, dword [esp + 0x14]
movzx eax, al
xor dx, word [eax*2 + 0x102adb58]
movzx eax, byte [ecx - 8]
xor dx, word [eax*2 + 0x102ad358]
movzx eax, dx
sub esi, 1
jne 0x1015d380
pop ebx
pop esi
ret
mov ax, word [esp + 0x10]
pop esi
ret
Function at 0x1015d410
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor al, al
test edx, edx
je 0x1015d437
push esi
mov esi, dword [esp + 8]
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx eax, al
xor ecx, eax
mov al, byte [ecx + 0x102adf58]
sub edx, 1
jne 0x1015d420
pop esi
ret
Function at 0x10173310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x10173346
push esi
mov esi, dword [ebp + 8]
movzx edx, word [esi]
movzx ecx, byte [ebx + eax]
inc eax
xor ecx, edx
shr dx, 8
movzx ecx, cl
xor dx, word [ecx*4 + 0x102afc80]
mov word [esi], dx
cmp eax, edi
jl 0x10173325
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10174e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push 0xffff
movzx eax, byte [esi + 2]
push eax
call fcn.10174d50
push eax
movzx eax, byte [esi + 3]
push eax
call fcn.10174d50
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 0x10
mov eax, dword [ecx + 0x1c]
mov ecx, 6
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, ecx
jle 0x10174f37
push ebx
push edi
movzx ebx, byte [esi + ecx]
lea ecx, [edx + edx]
shl ebx, 9
mov edx, ecx
xor edx, 0x8005
mov eax, ebx
xor eax, ecx
add ebx, ebx
test eax, 0x10000
mov eax, ebx
cmove edx, ecx
add ebx, ebx
add edx, edx
xor eax, edx
mov ecx, edx
xor ecx, 0x8005
test eax, 0x10000
mov eax, ebx
cmove ecx, edx
add ebx, ebx
add ecx, ecx
xor eax, ecx
mov edx, ecx
xor edx, 0x8005
test eax, 0x10000
mov eax, ebx
cmove edx, ecx
add ebx, ebx
add edx, edx
xor eax, edx
mov ecx, edx
xor ecx, 0x8005
test eax, 0x10000
mov eax, ebx
cmove ecx, edx
add ebx, ebx
add ecx, ecx
xor eax, ecx
mov edi, ecx
xor edi, 0x8005
test eax, 0x10000
mov eax, ebx
cmove edi, ecx
add ebx, ebx
add edi, edi
xor eax, edi
mov edx, edi
xor edx, 0x8005
test eax, 0x10000
mov eax, ebx
cmove edx, edi
add edx, edx
xor eax, edx
mov ecx, edx
xor ecx, 0x8005
test eax, 0x10000
cmove ecx, edx
lea eax, [ecx + ecx]
xor ecx, ebx
mov edx, eax
xor edx, 0x8005
test ecx, 0x8000
mov ecx, dword [ebp + 0xc]
cmove edx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, dword [ebp + 8]
jl 0x10174e61
pop edi
pop ebx
mov eax, edx
mov byte [esi + 5], dl
sar eax, 8
mov byte [esi + 4], al
pop esi
pop ebp
ret
Function at 0x101b2610
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
jl 0x101b26c5
push ebx
mov ebx, edi
shr ebx, 3
mov eax, ebx
neg eax
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x10]
movzx ecx, byte [esi]
movzx edx, byte [esi + 1]
shl ecx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
xor eax, edx
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x102d07d0]
xor edx, dword [ecx*4 + 0x102d03d0]
movzx ecx, byte [esi + 6]
xor edx, dword [ecx*4 + 0x102cf3d0]
movzx ecx, byte [esi + 5]
xor edx, dword [ecx*4 + 0x102cf7d0]
movzx ecx, byte [esi + 7]
xor edx, dword [ecx*4 + 0x102cefd0]
movzx ecx, byte [esi + 4]
add esi, 8
xor edx, dword [ecx*4 + 0x102cfbd0]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x102d0bd0]
xor edx, dword [eax*4 + 0x102cffd0]
mov eax, edx
sub ebx, 1
jne 0x101b2634
pop ebx
jmp 0x101b26c9
mov eax, dword [esp + 0xc]
test edi, edi
je 0x101b26ec
nop dword [eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
mov edx, eax
shl eax, 8
shr edx, 0x18
xor edx, ecx
xor eax, dword [edx*4 + 0x102cefd0]
sub edi, 1
jne 0x101b26d0
pop edi
pop esi
ret
Function at 0x101d3eb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
xorps xmm5, xmm5
cdq
sub eax, edx
movss dword [esp + 0x10], xmm5
sar eax, 1
xor edx, edx
push edi
mov edi, dword [esp + 0x10]
test eax, eax
jle 0x101d3f84
mov ecx, dword [esp + 8]
movss xmm7, dword [0x1020f260]
movss xmm6, dword [0x102d7b84]
push esi
mov esi, dword [esp + 0x10]
nop word [eax + eax]
movss xmm0, dword [edi + edx*8]
movss xmm4, dword [ecx]
movss xmm3, dword [ecx + 4]
subss xmm0, xmm4
movss xmm1, dword [ecx + 8]
mulss xmm0, dword [0x102d7ba0]
addss xmm4, xmm0
addss xmm0, dword [edi + edx*8]
movss dword [ecx], xmm0
movss xmm2, dword [edi + edx*8 + 4]
inc edx
movaps xmm0, xmm2
subss xmm0, xmm3
addss xmm3, xmm4
mulss xmm0, xmm6
addss xmm3, xmm0
addss xmm0, xmm2
xorps xmm2, xmm7
mulss xmm3, dword [0x1020dfd0]
movss dword [ecx + 4], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
addss xmm1, xmm4
mulss xmm0, xmm6
addss xmm1, xmm0
addss xmm2, xmm0
mulss xmm1, xmm1
movss dword [ecx + 8], xmm2
movss dword [esi], xmm3
add esi, 4
addss xmm5, xmm1
cmp edx, eax
jl 0x101d3ef0
pop esi
movss dword [esp + 0x14], xmm5
fld dword [esp + 0x14]
pop edi
ret
Function at 0x101f0fe0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x14
test al, 1
je 0x101f1003
push 0x31
push str.F:_vcpkg_2024.05.24_buildtreesopus_src_v1.5.1_cfcae413d5.clean_silkNLSF_VQ.c
push str.assertion_failed:___LPC_order__1____0
call fcn.101b3ef0
mov eax, dword [esp + 0x38]
add esp, 0xc
push ebx
xor ebx, ebx
mov dword [esp + 8], ebx
cmp dword [esp + 0x2c], ebx
jle 0x101f10f2
mov edx, dword [esp + 0x28]
lea ecx, [eax + eax]
push ebp
push esi
lea esi, [eax - 2]
mov dword [esp + 0x18], ecx
neg eax
mov dword [esp + 0x14], esi
add eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
sub eax, edx
push edi
mov dword [esp + 0x10], eax
nop dword [eax + eax]
mov ecx, esi
xor edi, edi
xor ebp, ebp
test ecx, ecx
js 0x101f10c1
lea ebx, [ecx + 1]
lea ebx, [edx + ebx*2]
movzx eax, word [eax + ebx]
lea ebx, [ebx - 4]
mov edx, dword [esp + 0x30]
sar ebp, 1
movzx edx, byte [edx + ecx + 1]
shl dx, 7
sub ax, dx
movsx esi, ax
movsx eax, word [ebx + 4]
imul esi, eax
mov eax, esi
sar esi, 1
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + ecx]
mov eax, dword [esp + 0x2c]
shl dx, 7
movzx eax, word [eax + ecx*2]
sub ax, dx
movsx ebp, ax
movsx eax, word [ebx + 2]
imul ebp, eax
mov eax, ebp
sub eax, esi
cdq
xor eax, edx
sub eax, edx
add edi, eax
sub ecx, 2
mov eax, dword [esp + 0x10]
jns 0x101f1050
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add edx, dword [esp + 0x1c]
add eax, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [ecx + ebx*4], edi
inc ebx
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x30], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x38]
jl 0x101f1040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x101f17b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101f17dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101f17dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401040
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x55555556
imul dword [ebp + 0x10]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*4]
sub ecx, eax
neg ecx
add ecx, ecx
lea edx, [ecx + ecx]
mov ecx, 0xc
sub ecx, edx
mov eax, 0x55555556
imul ecx
push ebx
mov eax, edx
push esi
shr eax, 0x1f
lea eax, [edx + eax + 1]
push edi
mov edi, dword [ebp + 0xc]
push eax
xor esi, esi
mov dword [ebp + 0xc], eax
call fcn.0048f5d8
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40109a
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push ebx
call fcn.00493520
mov ecx, dword [ebp + 0x10]
add esp, 0xc
cmp ecx, 2
jle 0x401134
lea edx, [ecx - 3]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
inc edx
lea eax, [edx*4]
sub eax, edx
neg eax
add ecx, eax
mov dword [ebp + 0x10], ecx
movzx ecx, byte [edi]
shr ecx, 2
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + esi], al
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
and ecx, 3
add ecx, ecx
shr eax, 4
mov cl, byte [eax + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + esi + 1], cl
movzx eax, byte [edi + 1]
movzx ecx, byte [edi + 2]
shr ecx, 6
and eax, 0xf
movzx eax, byte [ecx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + esi + 2], al
movzx ecx, byte [edi + 2]
and ecx, 0x3f
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + esi + 3], al
add esi, 4
add edi, 3
dec edx
jne 0x4010d2
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4011aa
movzx edx, byte [edi]
shr edx, 2
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + esi], al
cmp ecx, 1
jle 0x40118d
movzx ecx, byte [edi]
movzx edx, byte [edi + 1]
and ecx, 3
add ecx, ecx
shr edx, 4
mov al, byte [edx + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + esi + 1], al
movzx ecx, byte [edi + 1]
and ecx, 0xf
mov dl, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + esi + 2], dl
mov byte [ebx + esi + 3], 0x3d
add esi, 4
pop edi
mov byte [ebx + esi], 0
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
movzx eax, byte [edi]
and eax, 3
shl eax, 4
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + esi + 1], cl
mov word [ebx + esi + 2], 0x3d3d
add esi, 4
pop edi
mov byte [ebx + esi], 0
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x401380
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8d70
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4e42d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4ba5e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor esi, esi
mov dword [0x4ea66c], eax
cmp eax, esi
je 0x4013e8
push 0x4ba614
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4013e8
push 5
push esi
push esi
push str.http:__home.baofeng.com_permit.html
push 0x4ba364
push esi
call eax
cmp eax, 0x20
jge 0x40151a
cmp byte [ebp + 8], 0
je 0x401546
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
push eax
push 0x4ba398
push 0x17
push esi
push 0x4ba2d4
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x401530
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push 0xffffffffffffffff
push eax
call edx
cmp eax, esi
jl 0x401530
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x401452
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push str.http:__home.baofeng.com_permit.html
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, esi
jne 0x401470
push 0x8007000e
call fcn.004035c0
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x14]
xor ecx, ecx
push edx
mov word [ebp - 0x5c], cx
call fcn.00403450
lea ecx, [ebp - 0x4c]
xor eax, eax
mov byte [ebp - 4], 2
push ecx
mov word [ebp - 0x4c], ax
call fcn.00403450
lea eax, [ebp - 0x3c]
xor edx, edx
mov byte [ebp - 4], 3
push eax
mov word [ebp - 0x3c], dx
call fcn.00403450
mov ecx, 3
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x24], 0xe
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 5
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push edi
push esi
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
call esi
lea ecx, [ebp - 0x3c]
push ecx
call esi
lea edx, [ebp - 0x4c]
push edx
call esi
lea eax, [ebp - 0x5c]
push eax
call esi
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
js 0x40152e
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40151a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x401546
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401560
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.00493520
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x58]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x58], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4015c9
mov edx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0xc]
push eax
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4016d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e42d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, ecx
lea ecx, [ebp - 0x14]
push ecx
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor ecx, ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 8], ecx
push eax
lea ecx, [ebp - 0x14]
xor edx, edx
push ecx
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push 8
push 0x61c46800
push edx
push eax
call fcn.00494670
mov esi, eax
mov eax, 4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push str.InstallDate
push str.SoftwareBaofengVideoStormPlayer9ConfigInstall
push SysReAllocString
mov dword [ebp - 0x18], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp - 0x18]
cmp esi, ecx
jb 0x401777
sub esi, ecx
add esi, 0x17
mov eax, 0xaaaaaaab
mul esi
shr edx, 4
push edx
jmp 0x40178d
sub ecx, esi
add ecx, 0x17
mov eax, 0x19
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x1f
push ecx
push 0x4ba07c
call fcn.00402d60
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
xor ecx, ebp
pop esi
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret
Function at 0x4017b0
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x4e42d0]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x212]
push ecx
mov word [ebp - 0x214], ax
call fcn.00493520
add esp, 0xc
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x228]
push ecx
push str.InstallPath
push str.SoftwareBaofengVideoPhoneAssistant
push SysReAllocString
mov dword [ebp - 0x22c], 0x102
mov dword [ebp - 0x228], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40190e
push str..BFAssistantSvc.exe
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40190e
cmp byte [ebp + 8], 0
mov esi, str.__install
jne 0x40185f
mov esi, str.__uninstall
push 0x40
lea ecx, [ebp - 0x270]
push 0
push ecx
call fcn.00493520
add esp, 0xc
xor eax, eax
xor edx, edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x274]
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
mov word [ebp - 0x244], dx
push esi
lea edx, [ebp - 0x214]
push edx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x274], 0x44
mov dword [ebp - 0x248], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40190e
mov eax, dword [ebp - 0x224]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x224]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x220]
push edx
call esi
mov al, 1
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor ecx, ebp
xor al, al
pop esi
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret
Function at 0x401c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e42d0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00493520
push 0x4bc8c8
push str.CLSID_sInprocServer32
push 0xffffffffffffffff
lea edx, [ebp - 0x20c]
push 0x104
push edx
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x214], 0x104
call fcn.00490882
add esp, 0x20
lea eax, [ebp - 0x214]
push eax
push esi
lea ecx, [ebp - 0x210]
push ecx
push 0x4ba358
lea edx, [ebp - 0x20c]
push edx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp - 4]
test eax, eax
sete al
xor ecx, ebp
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret
Function at 0x402190
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4e42d0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, ecx
mov esi, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x220]
push edx
xor edi, edi
or esi, 0x2001f
push esi
push edi
mov dword [ebp - 0x224], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x220], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x218]
mov ebx, eax
cmp ebx, edi
jne 0x402224
xor eax, eax
cmp ecx, edi
je 0x402206
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x220]
and esi, 0x300
mov ebx, eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], esi
cmp eax, edi
je 0x402244
cmp ecx, edi
je 0x40222f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x230]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x20c]
push eax
push edi
push ecx
mov dword [ebp - 0x21c], 0x100
call esi
test eax, eax
jne 0x4022cc
jmp 0x402280
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00402190
mov ebx, eax
cmp ebx, edi
jne 0x402322
lea edx, [ebp - 0x230]
push edx
mov edx, dword [ebp - 0x218]
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push edi
push edx
mov dword [ebp - 0x21c], 0x100
call esi
test eax, eax
je 0x402280
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x4022e3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x218], edi
mov ebx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x214], edi
call fcn.004020e0
mov esi, eax
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x40230d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x402333
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret 4