joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d45ac
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], vtable.ICompressSetBufSize.0
lea eax, [ecx + 0x10]
mov dword [ecx + 8], 0
mov dword [ecx], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [ecx + 4], vtable.NCompress::NBcj2::CDecoder.0
mov dword [ebp - 0x10], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
lea eax, [ecx + 0x30]
mov dword [ebp - 0x10], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
lea eax, [ecx + 0x50]
mov dword [ebp - 0x10], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
lea eax, [ecx + 0x70]
mov dword [ebp - 0x10], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
lea eax, [ecx + 0x4a0]
mov dword [ebp - 0x10], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov eax, ecx
mov dword [ecx + 0x4d8], 0x10000
mov dword [ecx + 0x4c8], 0x100000
mov dword [ecx + 0x4cc], 0x100000
mov dword [ecx + 0x4d0], 0x100000
mov dword [ecx + 0x4d4], 0x100000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x427f80
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0x105
jg 0x427f97
push 0x105
call fcn.004037f0
push dword [esi]
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [esi]
xor edx, edx
cmp word [edi], dx
je 0x427fba
mov ecx, edi
nop
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x427fb0
xor ecx, ecx
dec eax
mov word [edi + edx*2], cx
mov ecx, 0x103
cmp ecx, eax
mov dword [esi + 4], edx
pop edi
sbb eax, eax
inc eax
pop esi
ret

Function at 0x427fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 8], 0x105
jg 0x427fff
push 0x105
mov ecx, esi
call fcn.004037f0
push dword [esi]
push 0
push 0x4edae8
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [esi]
xor edx, edx
cmp word [edi], dx
je 0x42802a
mov ecx, edi
nop word [eax + eax]
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x428020
xor ecx, ecx
mov word [edi + edx*2], cx
pop edi
mov dword [esi + 4], edx
pop esi
pop ebp
ret
Function at 0x42e7d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 4
push edi
mov edi, ecx
mov dword [ebp - 0x208], ebx
nop dword [eax]
nop word [eax + eax]
movzx ecx, byte [edi + ebx + 0x306a0]
mov esi, 1
mov eax, ecx
mov dword [ebp - 0x218], ecx
mov edx, ecx
shr eax, 1
dec eax
mov dword [ebp - 0x20c], 0
and edx, 1
mov dword [ebp - 0x210], eax
or edx, 2
mov ecx, eax
shl edx, cl
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x214], edx
test eax, eax
je 0x42e8a0
mov ebx, eax
mov eax, esi
mov edx, ecx
sub eax, dword [ebp - 0x218]
and edx, 1
add eax, dword [ebp - 0x214]
add esi, esi
shr ecx, 1
or esi, edx
mov dword [ebp - 0x210], ecx
movzx ecx, word [edi + eax*2 + 0x32b0e]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp - 0x20c]
add eax, dword [edi + ecx*4 + 0x30ea0]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
sub ebx, 1
jne 0x42e844
mov ebx, dword [ebp - 0x208]
jmp 0x42e8a2
xor eax, eax
mov dword [ebp + ebx*4 - 0x204], eax
inc ebx
mov dword [ebp - 0x208], ebx
cmp ebx, 0x80
jb 0x42e800
lea eax, [ebp - 0x204]
mov dword [ebp - 0x21c], edi
sub eax, edi
mov dword [ebp - 0x210], 4
lea esi, [edi + 0x31950]
sub eax, 0x31d50
lea edx, [edi + 0x31d58]
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], eax
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 0x214], ebx
cmp dword [edi + 0x32594], ebx
jbe 0x42e970
mov eax, ebx
xor esi, esi
mov ebx, dword [ebp - 0x21c]
or eax, 0x40
nop dword [eax]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebx + edx*2 + 0x32910]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [edi + ecx*4 + 0x30ea0]
cmp eax, 1
jne 0x42e920
mov ebx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x208]
mov dword [eax + ebx*4], esi
inc ebx
mov dword [ebp - 0x214], ebx
cmp ebx, dword [edi + 0x32594]
jb 0x42e910
mov edx, dword [ebp - 0x20c]
mov esi, eax
mov ecx, 0xe
cmp dword [edi + 0x32594], ecx
jbe 0x42e996
nop dword [eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x32594]
jb 0x42e980
mov eax, dword [esi]
mov ecx, 4
mov ebx, dword [ebp - 0x218]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [edi + ecx + 0x306a0]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + ebx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x42e9c0
mov edx, dword [ebp - 0x20c]
add esi, 0x100
sub dword [ebp - 0x21c], 0xffffff80
add edx, 0x200
sub ebx, 0x200
mov dword [ebp - 0x208], esi
sub dword [ebp - 0x210], 1
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], ebx
jne 0x42e900
mov ecx, dword [ebp - 4]
mov dword [edi + 0x3bcf8], 0
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x42f990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push dword [ebp + 8]
push edx
push 0
push 0
call fcn.004afd9b
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x42f9ba
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x42fad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x42faec
mov eax, dword [ebp - 4]
jmp 0x42fbc7
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x42fba2
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e8c10]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e8c10]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e8c10]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e8c10]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e8c10]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e8c10]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e8c10]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4e8c10]
dec ebp
jne 0x42fb0c
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x42fbbe
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4e8c10]
dec ecx
jne 0x42fbac
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fe90
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d476b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x50]
mov ecx, eax
mov dword [esi + 0x4c], 7
mov dword [ebp - 0xe8], eax
call fcn.0041ca30
lea eax, [esi + 0x54]
mov ecx, eax
mov dword [ebp - 0xe4], eax
call fcn.0041ca30
lea ecx, [esi + 0x58]
call fcn.0041ca30
lea eax, [esi + 0x5c]
mov ecx, eax
mov dword [ebp - 0xec], eax
call fcn.0041ca30
mov byte [esi + 0x48], 0
test ebx, ebx
je 0x430074
mov dword [ebp - 0xd8], 0
push 0x100
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0
call fcn.004330d0
mov edi, dword [ebp - 0xd8]
lea eax, [esi + 0x4c]
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xdc], 0x44
push eax
push edi
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xe0], 0x80
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x42ffd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x430030
cmp dword [ebp - 0xdc], 0x44
jbe 0x42ff8f
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ebp - 0xe0]
cmp eax, 0x80
jbe 0x42ffae
push eax
lea ecx, [ebp - 0xd8]
call fcn.004321b0
mov edi, dword [ebp - 0xd8]
lea eax, [esi + 0x4c]
push eax
lea eax, [ebp - 0xe0]
push eax
push edi
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x430030
lea eax, [ebp - 0x54]
mov byte [esi + 0x48], 1
push eax
lea eax, [esi + 4]
push eax
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x430030
mov ecx, dword [ebp - 0xe4]
push edi
call fcn.0041cd80
mov ecx, dword [ebp - 0xe8]
push ebx
call fcn.0041cd80
mov ecx, dword [ebp - 0xec]
push 0
call fcn.0041cd80
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xd8], eax
je 0x43002c
lea ecx, [ebp - 0xd8]
call fcn.00433100
mov al, 1
jmp 0x430076
lea ecx, [esi + 0x50]
mov dword [esi + 0x4c], 7
call fcn.0041ca30
lea ecx, [esi + 0x54]
call fcn.0041ca30
lea ecx, [esi + 0x58]
call fcn.0041ca30
lea ecx, [esi + 0x5c]
call fcn.0041ca30
lea eax, [ebp - 0xd4]
mov byte [esi + 0x48], 0
cmp dword [ebp - 0xd8], eax
je 0x430074
lea ecx, [ebp - 0xd8]
call fcn.00433100
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8
Function at 0x433160
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 0x20], eax
push dword [esi]
call ebx
push dword [esi + 4]
mov edi, eax
call ebx
mov ebx, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
sub ebx, eax
nop dword [eax]
lea eax, [ebx + esi*4]
push dword [ebp + eax - 0x14]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 4
jl 0x4331a0
mov ebx, dword [ebp - 0x1c]
mov edx, 0xe3779b90
mov esi, 0x10
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shl ecx, 4
add ecx, dword [ebp - 0x14]
shr eax, 5
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
lea edx, [edx + 0x61c88647]
sub edi, ecx
sub esi, 1
jne 0x4331c4
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push edi
call esi
mov edi, dword [ebp - 0x20]
push ebx
mov dword [edi], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x437660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5300
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._commandSetSimpleVersionConfig
lea ecx, [ebp - 0x14]
xor esi, esi
call fcn.0041c970
mov dword [ebp - 4], esi
lea eax, [ebp - 0x14]
push dword [0x515430]
push str.__SimpleVersion_ld
push eax
call fcn.00438580
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x10
push str.__FromInstaller
call fcn.0041c490
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4376ca
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041c970
push 0xf
push str.QQPCSoftCmd.exe
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0041c490
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437728
push str.5958793A_5C0C_4a22_812A_72065C3D975D
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edx, dword [ebp - 0x14]
mov edi, eax
mov ecx, dword [ebp - 0x10]
push 0
push 0
push 0x7530
call fcn.00490130
add esp, 0xc
mov esi, eax
test edi, edi
je 0x437728
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [0x515430]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push str.CVersionChecker::RunExe_Path_s__strParam_s__dwSimpleVersion_lu__bRet_d
push 0x515488
call fcn.0048d710
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
add esp, 0x18
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437768
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x437787
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4377a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3df8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x4377eb
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0
push edi
mov dword [ebp - 4], 0
call fcn.004af917
add esp, 8
cmp eax, 0xffffffff
je 0x43792a
call dword [sym.imp.KERNEL32.dll_GetVersion]
lea ecx, [ebp - 0x10]
cmp al, 5
jbe 0x437897
push 0x24
push str.advfirewall_firewall_add_rule_name_
call fcn.0041ccd0
mov edx, dword [ebp + 8]
test edx, edx
jne 0x437835
xor ecx, ecx
jmp 0x43784f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437840
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.0041c490
push 0x13
push str.___dirin_program_
lea ecx, [ebp - 0x10]
call fcn.0041c490
test edi, edi
jne 0x437870
xor ecx, ecx
jmp 0x437884
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437875
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0041c490
push 0xe
push str.__actionallow
jmp 0x437910
push 0x25
push str.firewall_add_allowedprogram_program_
call fcn.0041ccd0
test edi, edi
jne 0x4378ab
xor ecx, ecx
jmp 0x4378bf
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4378b0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0041c490
push 8
push str.__name_
lea ecx, [ebp - 0x10]
call fcn.0041c490
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4378e3
xor ecx, ecx
jmp 0x4378ff
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4378f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.0041c490
push 0x19
push str.__modeENABLE_profileALL
lea ecx, [ebp - 0x10]
call fcn.0041c490
push 2
push 0x4eec9c
lea ecx, [ebp - 0x10]
call fcn.0041c490
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov ecx, esi
call fcn.0041c670
add eax, 0x10
mov dword [ebx], eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x437951
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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 0x439410
Capabilities:
Get file size
Read file via mapping

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x43941e
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
jne 0x439443
xor eax, eax
pop esi
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
test eax, eax
je 0x43943f
push 0
push 0
push 0
push 2
push 0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x18], eax
test eax, eax
je 0x43943f
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
je 0x43943f
mov dword [esi + 8], eax
mov eax, 1
pop esi
ret

Function at 0x439ae0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
test edi, edi
jne 0x439af9
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10
movzx ecx, word [esi + 0x18]
xor edx, edx
mov eax, edi
div ecx
mov ecx, 1
movzx eax, dx
cmp eax, ecx
push ebx
movzx ebx, word [esi + 0xc]
cmovb eax, ecx
test edi, edi
je 0x439b6f
movzx ecx, ax
mov eax, ebx
mov ebx, dword [ebp + 8]
sub dword [ebp + 0x10], ebx
mov dword [ebp - 4], ecx
add eax, ecx
xor edx, edx
movzx ecx, word [esi + 0x18]
div ecx
mov eax, dword [esi + 0x1c]
movzx ecx, dx
mov dword [ebp + 8], ecx
mov al, byte [ecx + eax]
mov ecx, esi
xor al, byte [ebx]
mov byte [ebp + 0xc], al
movzx eax, byte [esi + 9]
push eax
push dword [ebp + 0xc]
mov eax, dword [esi + 0x14]
call eax
xor al, byte [ebp + 0x14]
lea ebx, [ebx + 1]
mov ecx, dword [ebp + 0x10]
mov byte [ecx + ebx - 1], al
mov al, byte [ebx - 1]
mov ecx, dword [ebp - 4]
mov byte [ebp + 0x14], al
mov eax, dword [ebp + 8]
sub edi, 1
jne 0x439b27
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x43a3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20a
lea eax, [ebp - 0x210]
mov dword [0x515cd4], 0x4eeec0
push 0
push eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0x208
call fcn.004a8960
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push str.SOFTWARETencentQQPC2Mgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43a486
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
mov dword [0x515cd8], eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x43a486
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, 0x515cd4
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x43b3d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5678
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0041c970
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x43b41e
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.0041ca90
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x44]
push ecx
push esi
push dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp + 8]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.004abd99
mov edx, eax
add esp, 8
test edx, edx
js 0x43b49a
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 8]
jg 0x43b49a
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov word [eax + edx*2], cx
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b486
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.0041cdf0
int3
Function at 0x43bc20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d577b
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xec]
mov ebx, dword [ebp + 0x10]
push 0x42
push 0
push eax
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0xa4], 0x740068
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xa0], 0x700074
mov dword [ebp - 0x9c], 0x3a0073
mov dword [ebp - 0x98], 0x2f002f
mov dword [ebp - 0x94], 0x2e0063
mov dword [ebp - 0x90], 0x6a0067
mov dword [ebp - 0x8c], 0x71002e
mov dword [ebp - 0x88], 0x2e0071
mov dword [ebp - 0x84], 0x6f0063
mov dword [ebp - 0x80], 0x2f006d
mov dword [ebp - 0x7c], 0x610070
mov dword [ebp - 0x78], 0x6b0063
mov dword [ebp - 0x74], 0x6f0063
mov dword [ebp - 0x70], 0x66006e
mov dword [ebp - 0x6c], 0x670069
mov dword [ebp - 0x68], 0x73003f
mov dword [ebp - 0x64], 0x720065
mov dword [ebp - 0x60], 0x690076
mov dword [ebp - 0x5c], 0x650063
mov dword [ebp - 0x58], 0x640069
mov dword [ebp - 0x54], 0x25003d
mov dword [ebp - 0x50], 0x260064
mov dword [ebp - 0x4c], 0x6c0063
mov dword [ebp - 0x48], 0x650069
mov dword [ebp - 0x44], 0x74006e
mov dword [ebp - 0x40], 0x650076
mov dword [ebp - 0x3c], 0x3d0072
mov dword [ebp - 0x38], 0x490025
mov dword [ebp - 0x34], 0x340036
mov dword [ebp - 0x30], 0x260064
mov dword [ebp - 0x2c], 0x6a0067
mov dword [ebp - 0x28], 0x750067
mov dword [ebp - 0x24], 0x640069
mov dword [ebp - 0x20], 0x25003d
mov dword [ebp - 0x1c], 0x73
call fcn.0046c3f0
xor eax, eax
mov dword [ebp - 0xf0], 7
mov dword [ebp - 0xf4], 0
mov word [ebp - 0x104], ax
cmp word [esi], ax
je 0x43bdbf
mov eax, esi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43bdb0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x104]
call fcn.00439160
mov dword [ebp - 4], 0
call fcn.0047f030
lea eax, [ebp - 0x104]
push eax
call fcn.0047ef10
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov ecx, dword [ebp - 0xf0]
mov esi, edx
cmp ecx, 8
jb 0x43be0d
inc ecx
push ecx
push dword [ebp - 0x104]
lea ecx, [ebp - 0x104]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0xf0], 7
mov dword [ebp - 0xf4], 0
mov word [ebp - 0x104], ax
test edi, edi
jne 0x43be3c
test esi, esi
jne 0x43be3c
mov edi, 0x49af00d1
mov esi, 0xc0006
lea eax, [ebp - 0xec]
push eax
push esi
push edi
push 0x6a7
lea eax, [ebp - 0xa4]
push eax
push ebx
call fcn.00421db0
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 0xc