joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489f00
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x489f31
mov ecx, dword [0x5252a4]
mov dl, 1
mov eax, dword [0x488934]
call fcn.0040d4e0
call fcn.0040425c
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x489f5e
mov ecx, dword [0x5251dc]
mov dl, 1
mov eax, dword [0x488934]
call fcn.0040d4e0
call fcn.0040425c
xor eax, eax
push ebp
push 0x489fda
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403c8c
cmp byte [ebp + 8], 0
je 0x489fb6
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00489d60
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00489ba0
jmp 0x489fd0
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00489680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x489ff7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48a1bc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00489948
xor eax, eax
push ebp
push 0x48a32d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x48a317
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x48a207
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48a211
call fcn.00404308
jmp 0x48a334
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f930
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x48a30c
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x48a2bf
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x48a2ac
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0048a174
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x48a340]
cmp dl, byte [eax + 0x28]
je 0x48a313
call fcn.0040d3f8
jmp 0x48a313
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f950
jmp 0x48a313
cmp ecx, ebx
jge 0x48a2db
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f950
jmp 0x48a211
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f930
cmp edx, dword [esp + 4]
jne 0x48a2fb
cmp eax, dword [esp]
pop edx
pop eax
jne 0x48a211
push ebp
call fcn.0048a174
pop ecx
jmp 0x48a313
push ebp
call fcn.0048a174
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a334
mov eax, dword [ebp - 4]
call fcn.00489954
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48a344
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48a466
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00489948
xor eax, eax
push ebp
push 0x48a449
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48a394
call fcn.00404308
jmp 0x48a450
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48a433
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48a433
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x48a433
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cbec
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x48a480
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x525468]
mov dl, 1
mov eax, dword [0x488934]
call fcn.0040d51c
call fcn.0040425c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a450
mov eax, dword [ebp - 4]
call fcn.00489954
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a46d
lea eax, [ebp - 0x28]
call fcn.004048a4
ret
Function at 0x48a4cc
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48a616
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00489948
xor eax, eax
push ebp
push 0x48a5f9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x48a531
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x48a531
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x48a5e3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48a544
call fcn.00404308
jmp 0x48a600
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48a5e3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48a5e3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x48a5e3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cbec
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x48a630
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x525468]
mov dl, 1
mov eax, dword [0x488934]
call fcn.0040d51c
call fcn.0040425c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a600
mov eax, dword [ebp - 4]
call fcn.00489954
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a61d
lea eax, [ebp - 0x28]
call fcn.004048a4
ret
Function at 0x48eb38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48ed98
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48eb9b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048e650
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040de28
cmp al, 1
jne 0x48eb9b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048e918
test al, al
je 0x48ed27
cmp dword [ebp - 8], 0
jge 0x48ebb9
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0048e650
mov eax, dword [ebp - 0x210]
call fcn.00404b64
cmp ebx, eax
jge 0x48ec03
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048e650
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x525680]
and eax, 0xff
bt dword [edx], eax
jae 0x48ec03
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48ec17
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048eb14
cmp ebx, dword [ebp - 8]
je 0x48ed19
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x48ec43
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c8c
and eax, 0x7f
movzx eax, word [eax*2 + 0x523344]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x48ed06
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c8c
and eax, 0x7f
movzx eax, word [eax*2 + 0x523344]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0046cef8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c8c
and eax, 0x7f
movzx eax, word [eax*2 + 0x523344]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0046cef8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ed0d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48ed7a
cmp dword [ebp - 8], 0
jge 0x48ed32
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048e650
mov eax, dword [ebp - 0x218]
call fcn.00404b64
cmp eax, dword [ebp - 8]
jg 0x48ed6c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048e650
mov eax, dword [ebp - 0x21c]
call fcn.00404b64
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048eb14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ed9f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004048c8
ret
Function at 0x4966b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x196], 0
jne 0x4967ac
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4967ac
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x190]
test ebx, ebx
je 0x4966f4
cmp byte [ebx + 0x61], 0
jne 0x4967ac
mov eax, dword [ebp - 4]
cmp byte [eax + 0x178], 0
jne 0x496715
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b8], 2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x80]
xor edx, edx
push ebp
push 0x4967a5
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
mov edx, eax
sub edx, ebx
cmp edx, 0x14
jge 0x49673c
cmp ebx, eax
jle 0x49672a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x168], 0
jne 0x496754
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.00403c8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4967ac
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x168], 0
jne 0x496784
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x4967a4
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x178]
xor dl, 1
mov eax, dword [ebp - 4]
call fcn.004968e8
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.00403c8c
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4e81f7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x5246c2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4e824f
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x5246e3
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4e8245
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4e8253
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x50a40c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x50a450
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.00409f24
add esp, 0x200
pop ebx
ret

Function at 0x5106e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x40]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x51071f
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [esi + 0x40]
call fcn.0041d27c
mov al, byte [eax + 0x2a8]
xor al, 1
push eax
mov edx, ebx
mov eax, dword [esi + 0x40]
call fcn.0041d27c
pop edx
mov byte [eax + 0x2a8], dl
inc ebx
dec edi
jne 0x5106f7
pop edi
pop esi
pop ebx
ret
Function at 0x100079f9
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10007a1b
mov eax, 0xfffffffd
jmp 0x10007af8
mov ebx, dword [0x10031f81]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10007ac6
mov ebx, dword [0x10031f81]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10007a6a
mov ebx, dword [0x10031f81]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10007a6a
mov eax, 1
jmp 0x10007a6c
xor eax, eax
test eax, eax
je 0x10007a98
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10007a81
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10031f81]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10007aee
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10007af8
mov esp, ebp
pop ebp
ret 4

Function at 0x10029c2f
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret

Function at 0x1007b067
Capabilities:
Packed with generic packer

Disassembly:
xor eax, 0x7d28412c
dec esp
adc eax, 0x4068782d
sub eax, 0x4cfe73d
xchg esi, eax
jp 0x1005ebfc
or ebp, dword [ebx]
jbe 0x1005ec08
fdivr dword [edi + 0x19]
dec edx
pop ecx
insd dword es:[edi], dx
add al, 0xc
mov esp, dword [esi - 0x5a67343a]
invalid
pushal
push eax
lea eax, [eax + 0x18f09a89]
call fcn.1010b40c
mov dh, 0xc9
leave
mov esp, 0x6e0cb409
cmc
sti
and edi, dword [esi + 0x40758739]
je 0x1005ebc3
push esi
test al, 0x70
dec esi
sub al, 0xfa
add dword [ebp + ebp*2 - 0x2a6a465], edi
shr ah, 0x2e
fnstcw word [edi + 0x4e]
mov eax, 0x6875dcb8
mov ebx, 0x5d86fd83
sub eax, dword [edx + 0x2a]
cmp cl, byte ss:[ebp + 0x2cd8a216]
xchg ecx, eax
insd dword es:[edi], dx
leave
pop ebx
sub eax, 0xd28d0630
cmp dword [0x36cb52ca], 0x5b
or cl, byte [ecx + 0x59]
sub edi, dword [edx]
push 0x5452f253
invalid
mov byte [esp], dh
mov eax, dword [eax + 0x8aef1]
mov byte [esp + 8], 0x26
lea esp, [esp + 0x40]
jae 0x1005ebfa
lea eax, [eax + 0x18f09a89]
call fcn.100c1b5e
lcall 0x2ab8, 0x5b9a1950
cmp cl, byte [eax + 0x34]
outsd dx, dword [esi]
fstp xword [ebp - 0x3f]
sbb dword [edi - 0x4f], 0xb
inc ebp
invalid
Function at 0x100c40d4
Capabilities:
Encode data using xor

Disassembly:
pushfd
pushal
call fcn.1009af54
imul ecx, dword [edx + edi*8 - 0x3833dad3], 0x4f
dec si
mov dword [0xcf0ec54c], eax
cmc
call 0x4faa96ac
pop ebp
pushal
cmp byte [ecx + 0x452cfb16], bh
xchg edx, eax
jg 0x100c4157
popal
push edi
imul esp, dword [edx + esi - 0x752ecc3], 0x3385cb2b
mov dl, 0x76
add bh, byte [ebp + 0x62896747]
sub dword [ebx], esp
rcr dword [ebx], 1
loope 0x100c4121
dec ebp
sahf
cdq
loop 0x100c40d5
ret 0xffcd
sub dword [edi - 0x44], eax
mov ebx, dword [eax - 0x526a2b4d]
sbb al, byte [eax + 0xdfe329c]
and bh, byte [edx]
lea ecx, [0xb048df6]
cmp bh, byte [ecx - 0x16ff6b50]
int 0xc7
shl dword [eax], cl
push edi
into
outsd dx, dword [esi]
or byte [edi + 0x4487580d], dh
pop ss
cli
rcr ecx, 0xe5
and al, 0xcc
invalid
or eax, 0x684cb1c7
or byte [ebp + 0x44], bh
pop esp
xchg ebx, eax
daa
and esi, dword [edx]
dec byte [0x22782841]
ror dword [ebp + 0x20e00b04], 0xc9
lodsd eax, dword [esi]
dec edi
sbb dh, byte [edx]
lds ebx, [eax]
mov al, 0x2d
jae 0x100c41c5
push edx
imul edx, dword [ecx - 0x46ed2020], 0x24
mov byte [ecx - 0x52cf5896], cl
push ebx
ljmp 0x605a
add eax, 0x77ebcf20
xor eax, dword [edi + 0xba46af0]
push es
invalid
Function at 0x401490
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x1c
mov eax, dword [ebp + 8]
shl eax, 1
push eax
call fcn.0041d513
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401630
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x4014dd
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 0x1c
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 8]
jae 0x401561
mov eax, dword [ebp - 4]
mov dword [eax], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
and edx, 0xffff
mov eax, dword [ebp - 4]
mov word [eax + 4], dx
push 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
and edx, 0xffff
movzx eax, dx
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, dword [ebp - 4]
mov word [ecx + 6], ax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
je 0x40153e
mov edx, dword [ebp - 4]
mov dword [edx + 8], 1
jmp 0x401548
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
jmp 0x4014c2
mov eax, dword [ebp + 0xc]
sub eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], 0
jmp 0x40158e
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
sub edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 4]
add eax, 0x1c
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jae 0x401612
mov edx, dword [ebp - 4]
mov dword [edx], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and ecx, 0xffff
mov edx, dword [ebp - 4]
mov word [edx + 4], cx
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and ecx, 0xffff
movzx edx, cx
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, dword [ebp - 4]
mov word [ecx + 6], ax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
je 0x4015ef
mov edx, dword [ebp - 4]
mov dword [edx + 8], 3
jmp 0x4015f9
mov eax, dword [ebp - 4]
mov dword [eax + 8], 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
jmp 0x401573
push 0x1c
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
shl ecx, 1
push ecx
call dword [sym.imp.USER32.dll_SendInput]
mov edx, dword [ebp - 8]
push edx
call fcn.0041d485
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x401660
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x43f6fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.HOTKEY01]
mov dword [ebp - 0x218], eax
mov ecx, dword [0x432890]
mov dword [ebp - 0x214], ecx
mov dl, byte [0x432894]
mov byte [ebp - 0x210], dl
push 0xfb
push 0
lea eax, [ebp - 0x20f]
push eax
call fcn.0041d0a0
add esp, 0xc
mov cl, byte [0x43284a]
mov byte [ebp - 0x110], cl
push 0x103
push 0
lea edx, [ebp - 0x10f]
push edx
call fcn.0041d0a0
add esp, 0xc
mov al, byte [0x43284a]
mov byte [ebp - 0x430], al
push 0x103
push 0
lea ecx, [ebp - 0x42f]
push ecx
call fcn.0041d0a0
add esp, 0xc
mov dl, byte [0x43284a]
mov byte [ebp - 0x320], dl
push 0x103
push 0
lea eax, [ebp - 0x31f]
push eax
call fcn.0041d0a0
add esp, 0xc
lea ecx, [ebp - 0x320]
push ecx
push 0x104
lea edx, [ebp - 0x110]
push edx
push str.ActionCommand
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.Skutil.dll_Reg_GetProfileString]
add esp, 0x14
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4017ba
push str.SOFTWARELenovoLenovo_Trust_Technology
lea edx, [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
lea eax, [ebp - 0x110]
push eax
push str.Launch
lea ecx, [ebp - 0x430]
push ecx
push reloc.SKHidKbd.dll_Ordinal_2
call dword [sym.imp.Skutil.dll_Reg_GetValueString]
add esp, 0x14
lea edx, [ebp - 0x110]
push edx
push str.ActionCommand
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.Skutil.dll_Reg_SetProfileString]
add esp, 0xc
lea ecx, [ebp - 0x430]
push ecx
push str.PathInRegName
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.Skutil.dll_Reg_SetProfileString]
add esp, 0xc
mov dword [ebp - 0x324], 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x401844
push 0x44
push 0
lea ecx, [ebp - 0x488]
push ecx
call fcn.0041d0a0
add esp, 0xc
mov dword [ebp - 0x488], 0x44
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x488]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
je 0x401844
mov edx, dword [ebp - 0x43c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x324], 0
jne 0x401853
call dword [sym.imp.Skutil.dll_LaunchSystemInfo]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041cf0c
mov esp, ebp
pop ebp
ret
Function at 0x402650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x43f6fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], 0
push str.SoftwareLenovoPwrMgmt
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push str.Launch
lea edx, [ebp - 0x218]
push edx
push reloc.SKHidKbd.dll_Ordinal_2
call dword [sym.imp.Skutil.dll_Reg_GetValueString]
add esp, 0x14
test eax, eax
je 0x4026d9
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.Skutil.dll_FileExisted]
add esp, 4
test eax, eax
je 0x4026d9
push 0
push 0
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.Skutil.dll_LaunchProgram]
add esp, 0x10
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x402737
push 0
push 2
lea edx, [ebp - 0x110]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.LenovoPwrMgmtYangTianPwrMgmt.exe
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.Skutil.dll_FileExisted]
add esp, 4
test eax, eax
je 0x402737
push 0
push 0
push 0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.Skutil.dll_LaunchProgram]
add esp, 0x10
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041cf0c
mov esp, ebp
pop ebp
ret