joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4672c7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a3dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0045f28c
and dword [ebp - 0x14], 0
cmp dword [0x4a6e50], 0
mov dword [ebp - 0x18], eax
jne 0x46737a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x467422
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x467422
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a6e50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a6e54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a6e58], eax
call edi
push eax
call esi
mov dword [0x4a6e60], eax
test eax, eax
je 0x46737a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a6e5c], eax
mov eax, dword [0x4a6e5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4673d3
cmp dword [0x4a6e60], ecx
je 0x4673d3
push eax
call esi
push dword [0x4a6e60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4673d3
test ebx, ebx
je 0x4673d3
call edi
test eax, eax
je 0x4673ca
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4673ca
test byte [ebp - 8], 1
jne 0x4673d3
or dword [ebp + 0x10], 0x200000
jmp 0x467406
mov eax, dword [0x4a6e54]
cmp eax, dword [ebp - 0x18]
je 0x467406
push eax
call esi
test eax, eax
je 0x467406
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x467406
mov eax, dword [0x4a6e58]
cmp eax, dword [ebp - 0x18]
je 0x467406
push eax
call esi
test eax, eax
je 0x467406
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a6e50]
call esi
test eax, eax
je 0x467422
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x467424
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045407e
leave
ret

Function at 0x4cb211
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.0040302c]
test eax, eax
je 0x4cb250
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4cb250
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4cb250
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4cb250
cmp dword [ecx + 0x74], 0xe
jbe 0x4cb250
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4e3cb3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.0040302c]
test eax, eax
je 0x4e3cf2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4e3cf2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4e3cf2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4e3cf2
cmp dword [ecx + 0x74], 0xe
jbe 0x4e3cf2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4059bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40fba0
cmp edx, dword [eax]
je 0x4059df
add eax, 8
inc ecx
cmp eax, 0x40fc30
jl 0x4059d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40fba0]
jne 0x405b0d
mov eax, dword [0x41f1f0]
cmp eax, 1
je 0x405ae7
test eax, eax
jne 0x405a10
cmp dword [0x40faec], 1
je 0x405ae7
cmp edx, 0xfc
je 0x405b0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405a47
lea eax, [ebp - 0x1a4]
push 0x408420
push eax
call fcn.004067c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405e80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405a8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405e80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40841c
push edi
call fcn.00406940
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x408400
push eax
call fcn.004067c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004067d0
lea eax, [ebp - 0xa0]
push 0x4083fc
push eax
call fcn.004067d0
push dword [esi + 0x40fba4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004067d0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4083d4
push eax
call fcn.004068b0
add esp, 0x2c
pop edi
jmp 0x405b0d
lea eax, [ebp + 8]
lea esi, [esi + 0x40fba4]
push 0
push eax
push dword [esi]
call fcn.00405e80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x78927dc2
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x319e7116
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10e1058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10e11a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10e107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e106a
add dl, dl
jne 0x10e1089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e10dc
xor eax, eax
add dl, dl
jne 0x10e1096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e117d
add dl, dl
jne 0x10e10a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e10b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e10bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e10c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10e10d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10e1075
mov eax, 1
add dl, dl
jne 0x10e10ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e10f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e10e1
sub eax, ebx
mov ebx, 1
jne 0x10e1128
mov ecx, 1
add dl, dl
jne 0x10e110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10e1119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e1105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e1075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10e113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10e114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e1136
cmp eax, 0x7d00
jae 0x10e116d
cmp eax, 0x500
jb 0x10e1168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e1075
cmp eax, 0x7f
ja 0x10e1170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e1075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10e119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10e1075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x50bc1000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.50bc2edb
leave
ret
Function at 0x50bc1105
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x414]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x50bc113b
mov dword [ebp - 0x420], esi
jmp 0x50bc114e
lea eax, [ebp - 0x414]
push eax
call fcn.50bc2481
pop ecx
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x418]
push eax
push str.AppStartupBits
mov dword [ebp - 0x418], esi
call fcn.50bc2ea6
mov eax, dword [ebp - 0x418]
xor edi, edi
inc edi
push edi
xor ecx, ecx
call fcn.50bc1041
add esp, 0xc
test al, al
jne 0x50bc1184
xor eax, eax
jmp 0x50bc1314
push ebx
push 2
pop ebx
cmp dword [ebp + 8], esi
je 0x50bc11a4
mov eax, dword [ebp - 0x418]
push edi
mov ecx, ebx
call fcn.50bc1041
pop ecx
test al, al
je 0x50bc127e
call fcn.50bc1000
mov dword [ebp - 0x41c], eax
cmp eax, esi
je 0x50bc1206
mov eax, dword [ebp - 0x418]
push edi
mov ecx, edi
call fcn.50bc1041
pop ecx
test al, al
je 0x50bc127e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x434]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
test eax, eax
je 0x50bc127e
push 0x3c00000
push 0x600000
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
test eax, eax
je 0x50bc127e
xor esi, esi
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp - 0x42c], str.QQBrowserFrame.dll
mov dword [ebp - 0x428], str.QBUtils.dll
mov dword [ebp - 0x424], esi
je 0x50bc1248
dec eax
je 0x50bc123a
dec eax
jne 0x50bc1269
mov ebx, edi
mov dword [ebp - 0x42c], str.QBExtensionFramework.dll
jmp 0x50bc1269
mov ebx, edi
mov dword [ebp - 0x42c], str.Assistant.dll
jmp 0x50bc1269
push 3
pop ebx
mov dword [ebp - 0x42c], str.TridentCore.dll
mov dword [ebp - 0x428], str.QBSafe.dll
mov dword [ebp - 0x424], str.MouseGesture.dll
push 0x180000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x50bc1285
xor eax, eax
jmp 0x50bc1313
cmp dword [ebp - 0x420], edi
je 0x50bc12b0
cmp ebx, edi
jbe 0x50bc12b0
push dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
push dword [ebp + edi*4 - 0x42c]
call fcn.50bc1322
inc edi
pop ecx
pop ecx
cmp edi, ebx
jb 0x50bc1291
cmp dword [ebp + 8], 0
jne 0x50bc12e0
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x20c]
push str.riched20.dll
call fcn.50bc1322
pop ecx
pop ecx
cmp dword [ebp + 8], 1
jne 0x50bc1309
cmp dword [ebp - 0x41c], 0
jne 0x50bc1309
mov eax, dword [ebp - 0x418]
push 1
push 3
pop ecx
call fcn.50bc1041
pop ecx
test al, al
je 0x50bc1309
call fcn.50bc1061
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.50bc2edb
leave
ret
Function at 0x50bc137b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5a4d
sub esp, 0x20
cmp word [ebx], ax
je 0x50bc138f
xor eax, eax
leave
ret
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
mov eax, dword [ecx]
sub eax, 0x4550
neg eax
sbb eax, eax
not eax
and eax, ecx
je 0x50bc138b
push edi
movzx edi, word [eax + 6]
test edi, edi
je 0x50bc13b9
mov ecx, 0xe0
cmp word [eax + 0x14], cx
je 0x50bc13bd
xor eax, eax
jmp 0x50bc13fa
and dword [ebp - 4], 0
push esi
test edi, edi
jbe 0x50bc13e9
lea esi, [eax + 0x100]
mov eax, dword [esi + 4]
push dword [esi]
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualLock]
test eax, eax
je 0x50bc13fd
add esi, 0x28
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jb 0x50bc13cc
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
xor eax, eax
inc eax
pop esi
pop edi
leave
ret
xor eax, eax
jmp 0x50bc13f9

Function at 0x50bc1401
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x50bc142c
xor eax, eax
jmp 0x50bc144f
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0x180000
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x50bc1452
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x50bc147f
push eax
push ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x50bc1483
xor eax, eax
jmp 0x50bc14d0
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x50bc14a8
xor eax, eax
jmp 0x50bc14cf
and dword [ebp - 0x210], 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0x1000000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.50bc2edb
leave
ret

Function at 0x50bc1f5f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, fcn.50bc162b
push esi
push edi
test eax, eax
je 0x50bc1fd1
push 0xf8
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x50bc1fcf
lea eax, [esi + 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esi], 0xfedcbab8
call fcn.50bc2016
lea edi, [esi + 0xdc]
push edi
push ebx
mov dword [esi + 0xd0], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push dword [ebp + 8]
mov dword [esi + 0xd8], eax
push esi
push dword [edi]
push eax
call fcn.50bc162b
add esp, 0x10
mov byte [esi + 0xd6], al
mov eax, esi
pop edi
pop esi
pop ecx
pop ebp
ret
Function at 0x50bc2088
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0x50bc4480
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call main
and eax, 0xfff
or eax, 0x29bfa000
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
ret 0x10
Function at 0x50bc2608
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor eax, eax
mov esi, 0x50bc6aa8
push esi
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x50bc2628
xor al, al
jmp 0x50bc2690
push ebx
push edi
push str.TencentQQBrowser
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, 0x50bc68a0
push edi
call esi
push dword [ebp + 8]
mov ebx, 0x50bc6698
push edi
push ebx
call esi
and dword [ebp - 4], 0
mov edi, 0x50bc6490
mov eax, dword [ebp - 4]
push dword [eax + 0x50bc60f4]
push ebx
push edi
call esi
push 0
push 0x80
push 3
push 0
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x50bc2693
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add dword [ebp - 4], 4
cmp dword [ebp - 4], 0x1c
jb 0x50bc2653
mov al, 1
pop edi
pop ebx
pop esi
leave
ret
xor al, al
jmp 0x50bc268e
Function at 0x50bc2697
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareTencentQQBrowserAdvanced
push 0x80000001
mov dword [ebp - 0x214], ebx
mov byte [ebp - 0x20d], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x50bc2862
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push 4
pop edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.EnableIE8Core
push dword [ebp - 0x214]
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], edi
call esi
test eax, eax
jne 0x50bc2765
cmp dword [ebp - 0x218], 1
jne 0x50bc2765
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.IE8CoreInstalled
push dword [ebp - 0x214]
mov byte [ebp - 0x20d], 1
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], edi
call esi
test eax, eax
jne 0x50bc2765
cmp dword [ebp - 0x218], 1
sete al
and al, 1
mov byte [ebp - 0x20d], al
push dword [ebp - 0x214]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
cmp byte [ebp - 0x20d], bl
je 0x50bc2860
lea eax, [ebp - 0x214]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x50bc27f6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 0x208
call esi
test eax, eax
jne 0x50bc27ee
cmp word [ebp - 0x20c], 0x36
je 0x50bc27e5
cmp word [ebp - 0x20c], 0x37
jne 0x50bc27e8
xor eax, eax
inc eax
and byte [ebp - 0x20d], al
push dword [ebp - 0x214]
call edi
cmp byte [ebp - 0x20d], bl
je 0x50bc2860
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x50bc2843
cmp dword [ebp - 0x11c], 5
jne 0x50bc283b
xor eax, eax
inc eax
cmp dword [ebp - 0x118], eax
jne 0x50bc283b
cmp word [ebp - 0xc], 2
je 0x50bc283d
cmp word [ebp - 0xc], 3
je 0x50bc283d
xor eax, eax
and byte [ebp - 0x20d], al
cmp byte [ebp - 0x20d], bl
je 0x50bc2860
push str.ie8core
call fcn.50bc2608
pop ecx
test al, al
jne 0x50bc2860
mov byte [ebp - 0x20d], bl
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x20d]
xor ecx, ebp
pop ebx
call fcn.50bc2edb
leave
ret
Function at 0x50bc2d5b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp edi, ebx
je 0x50bc2e40
push esi
call fcn.50bc2697
mov esi, 0x104
test al, al
je 0x50bc2dbd
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x50bc2e3b
push str.TencentQQBrowserie8core
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x50bc2df1
call fcn.50bc28b0
test al, al
je 0x50bc2de3
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x50bc2e3b
push str.TencentQQBrowserIE10
jmp 0x50bc2da7
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
neg eax
sbb eax, eax
neg eax
cmp eax, ebx
je 0x50bc2e3b
lea ecx, [ebp - 0x414]
mov eax, edi
sub ecx, edi
lea edx, [esi + 0x7ffffefa]
test edx, edx
je 0x50bc2e20
movzx edx, word [ecx + eax]
test dx, dx
je 0x50bc2e20
mov word [eax], dx
inc eax
inc eax
dec esi
jne 0x50bc2e05
test esi, esi
jne 0x50bc2e2b
dec eax
dec eax
mov ebx, 0x8007007a
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
jl 0x50bc2e39
xor eax, eax
inc eax
jmp 0x50bc2e3d
xor ebx, ebx
xor eax, eax
pop esi
jmp 0x50bc2e42
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.50bc2edb
leave
ret

Function at 0x50bc2edb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x50bc2ee5
repz ret
jmp fcn.50bc2eea
Function at 0x8e6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8e61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8e607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8e606a
add dl, dl
jne 0x8e6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8e60dc
xor eax, eax
add dl, dl
jne 0x8e6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8e617d
add dl, dl
jne 0x8e60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8e60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8e60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8e60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8e60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8e6075
mov eax, 1
add dl, dl
jne 0x8e60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8e60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8e60e1
sub eax, ebx
mov ebx, 1
jne 0x8e6128
mov ecx, 1
add dl, dl
jne 0x8e610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8e6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8e6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8e6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8e613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8e614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8e6136
cmp eax, 0x7d00
jae 0x8e616d
cmp eax, 0x500
jb 0x8e6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8e6075
cmp eax, 0x7f
ja 0x8e6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8e6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8e619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8e6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10