joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4170c0
Capabilities:
Set console window title

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4310b4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x218]
xor eax, eax
mov dword [ebp - 0x220], esi
push edi
mov dword [ebp - 0x21c], eax
mov ebx, eax
call fcn.00417233
test eax, eax
js 0x42567e
mov eax, dword [ebp - 0x218]
cmp eax, 3
jae 0x4256dc
test eax, eax
jne 0x42568c
inc eax
mov edi, eax
mov dword [ebp - 0x21c], eax
push 0x40002748
mov dword [ebp - 0x22c], edi
call fcn.004171fd
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4256cb
mov ecx, ebx
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x417140
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x224], ecx
cmp ecx, 0x104
jae 0x4171cf
mov ecx, 0x208
call fcn.0040cbc0
mov esi, eax
mov dword [ebp - 0x228], esi
test esi, esi
je 0x4171cf
push ebx
mov edx, 0x104
mov ecx, esi
call fcn.0040dfe0
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4256e4
cmp dword [eax + 0x3c], 0
je 0x4171f1
push dword [eax + 0x3c]
mov edx, 0x104
mov ecx, esi
call fcn.0040ebf0
test eax, eax
jne 0x4171c4
push esi
call dword [sym.imp.api_ms_win_core_console_l2_2_0.dll_SetConsoleTitleW]
xor eax, eax
mov byte [0x4397d4], al
mov edi, eax
cmp dword [ebp - 0x21c], 0
je 0x4171cb
test esi, esi
je 0x4171cb
mov ecx, esi
call fcn.0040cb50
test ebx, ebx
je 0x4171d6
push ebx
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
test edi, edi
jne 0x4256cb
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417b90
leave
ret 4
xor ecx, ecx
mov edi, ecx
jmp 0x4171c4
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
push eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
test esi, esi
je 0x42576f
mov ecx, dword [esi + 0x3c]
call fcn.0040974c
mov esi, eax
test esi, esi
je 0x425768
mov ecx, esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4256ad
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jb 0x4171a7
xor edi, edi
inc edi
xor eax, eax
push eax
push 8
call fcn.004128ff
pop ecx
pop ecx
jmp 0x4171de
add eax, 0xfffffff0
jmp 0x41710d
lea eax, [ebp - 0x214]
push 0x104
push eax
mov dword [ebp - 0x218], eax
call dword [sym.imp.api_ms_win_core_console_l2_2_0.dll_GetConsoleTitleW]
test eax, eax
je 0x4171c4
lea eax, [ebp - 0x214]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x425749
mov eax, dword [ebp - 0x224]
lea edi, [ebp - 0x214]
lea esi, [eax + eax]
add edi, esi
push ebx
push edi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x425727
mov esi, dword [ebp - 0x228]
mov dword [ebp - 0x218], edi
mov edi, dword [ebp - 0x22c]
push dword [ebp - 0x218]
mov edx, 0x104
mov ecx, esi
call fcn.0040ebf0
test eax, eax
jne 0x4171c4
jmp 0x4171a7
xor eax, eax
jmp 0x4171b5
xor eax, eax
mov edi, eax
jmp 0x4171de

Function at 0x417b80
Capabilities:
Access peb ldr_data

Disassembly:
push esi
push ebx
push edx
sub esi, esi
add esi, 0x30
mov ebx, dword fs:[esi]
push ecx
mov ecx, dword [ebx + 8]
dec ebx
Function at 0x42867e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebx
mov ebx, 0x402304
push esi
mov ecx, ebx
call fcn.004118c0
mov esi, eax
test esi, esi
jne 0x4286a2
pop esi
mov ecx, ebx
mov edx, 0x402094
pop ebx
jmp fcn.00409548
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4286a7
sub ecx, edx
sar ecx, 1
push edi
lea ebx, [ecx + 4]
lea ecx, [ebx + ebx]
call fcn.0040cbc0
mov edi, eax
test edi, edi
jne 0x4286cb
inc eax
jmp 0x428708
push esi
mov edx, ebx
mov ecx, edi
call fcn.0040dfe0
push 0x402454
mov edx, ebx
mov ecx, edi
call fcn.0040ebf0
push 0x402094
mov edx, ebx
mov ecx, edi
call fcn.0040ebf0
mov edx, edi
mov ecx, 0x402304
call fcn.00409548
mov ecx, edi
mov esi, eax
call fcn.0040cb50
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x4288bb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x4288dc
call fcn.0040974c
movzx eax, word [eax]
test ax, ax
je 0x4288dc
cmp eax, 0xa
jne 0x428905
mov ecx, dword [edi + 0x3c]
push 0x3b
pop edx
call fcn.0040f66b
test eax, eax
je 0x428905
mov ecx, 0x402598
test esi, esi
jne 0x4288f9
mov ecx, 0x402794
mov edx, 0x4021a0
pop edi
pop esi
jmp fcn.00409548
mov ecx, dword [edi + 0x3c]
mov edx, 0x403648
push 5
call fcn.0040ab20
cmp word [eax], 0
je 0x42892c
mov ecx, 0x402598
test esi, esi
jne 0x428928
mov ecx, 0x402794
mov edx, eax
jmp 0x4288fe
mov edi, 0x402598
mov ecx, edi
push ebx
mov ebx, 0x402794
test esi, esi
jne 0x42893f
mov ecx, ebx
call fcn.0040d89b
test esi, esi
jne 0x42894a
mov edi, ebx
push eax
push edi
push 0x4036c8
call fcn.00408ec2
add esp, 0xc
xor eax, eax
pop ebx
pop edi
pop esi
ret
Function at 0x428d94
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4310b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x210], esi
push edi
test edx, edx
jne 0x428e9b
xor edi, edi
mov ebx, edi
mov dword [ebp - 0x214], edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x428e88
cmp word [ebp - 0x20c], 0x2e
jne 0x428e4f
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.0042986e
mov ebx, eax
test ebx, ebx
je 0x428e71
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x428e1a
sub ecx, edx
sar ecx, 1
je 0x428e42
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x4036c8
call fcn.00408ec2
add esp, 0xc
mov esi, eax
mov ecx, ebx
call fcn.0040cb50
mov ebx, dword [ebp - 0x214]
cmp dword [0x435614], edi
jne 0x428e80
inc ebx
mov dword [ebp - 0x214], ebx
test esi, esi
jne 0x428f23
mov esi, dword [ebp - 0x210]
jmp 0x428dc6
push edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
call fcn.004128ff
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x428f25
cmp esi, 0x103
jne 0x428f23
mov esi, edi
jmp 0x428f23
mov ecx, edx
call fcn.0040974c
mov ecx, eax
call fcn.00409880
mov ebx, eax
test ebx, ebx
je 0x428e80
push 0x20
pop edx
mov ecx, ebx
call fcn.0040f211
test eax, eax
je 0x428ec2
xor ecx, ecx
mov word [eax], cx
mov edx, ebx
mov ecx, esi
call fcn.0042986e
mov edx, eax
mov dword [ebp - 0x210], edx
test edx, edx
je 0x428eff
mov ecx, edx
xor edi, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x428ede
sub ecx, esi
sar ecx, 1
je 0x428eff
push edx
push ebx
push 0x4036c8
call fcn.00408ec2
mov esi, eax
jmp 0x428f0e
xor esi, esi
push ebx
inc esi
push esi
push 0x400023a3
call fcn.004128ff
mov ecx, dword [ebp - 0x210]
add esp, 0xc
call fcn.0040cb50
mov ecx, ebx
call fcn.0040cb50
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417b90
leave
ret
Function at 0x10002040
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [0x100363f8], 0x1fdd
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x100020b1
mov eax, dword [0x100363f4]
add eax, 0xffffe6db
mov dword [0x100363f4], eax
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
jl 0x10002075
mov eax, dword [ebp - 0x1c]
mov ecx, 0x1145
xor edx, edx
mov dword [0x100363f4], 0x111f
mov esi, dword [ebp - 0x10]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jne 0x100021e4
mov eax, 0x1145
xor ecx, ecx
mov dword [0x100363f4], 0x15d2
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x18], 0x6f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x100021e4
mov eax, 0x1145
xor ecx, ecx
mov dword [0x100363f4], 0x2a11
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x16], 0x61
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x100021e4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x2a], dx
mov eax, 0x1145
xor ecx, ecx
mov dx, word [ebp - 0x2a]
cmp dx, 0x64
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x100021e4
mov eax, 0x1145
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x12], 0x64
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x100021e4
mov eax, 0x1145
xor ecx, ecx
mov edx, dword [0x100363f8]
add edx, 0x13b1
mov dword [0x100363f4], edx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x10], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x100021e4
mov eax, 0x1145
xor ecx, ecx
mov dword [0x100363f4], 0xf06
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x100021e4
mov eax, 1
mov ecx, dword [0x100363f8]
add ecx, 0xa8d
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x100363f4], ecx
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x100022e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.100022e0]
mov dword [0x100363f4], 0x1c38
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x10002322
mov eax, dword [ebp - 8]
add eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x10002322
mov eax, dword [ebp - 8]
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
jmp 0x100022f9

Function at 0x10002880
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100363fc], 0
mov dword [0x10036400], 0
mov dword [0x1003640c], 0
mov dword [0x100363f4], 0x3e3a
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x100029bc
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x100363f4], 0x5a2
mov edx, dword [0x100363fc]
add edx, 1
mov dword [ebp - 0x24], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x100363fc], edx
mov esi, dword [0x10036400]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x10036400], edx
mov ecx, dword [0x100363fc]
mov bl, byte [edi + ecx]
mov byte [0x10036404], bl
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x10036404]
mov ecx, dword [0x10036400]
mov byte [edi + ecx], bl
mov dword [0x100363f8], 0x16b1
mov ecx, dword [0x100363fc]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x10036400]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x1003640c], edx
mov dword [0x100363f8], 0x13c9
mov bl, byte [edi + edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov dword [esp], esi
movzx esi, bl
mov dword [esp + 4], esi
call fcn.10001000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edx], al
mov dword [0x100363f8], 0xb0e
add edx, 1
mov esi, dword [ebp - 0x10]
cmp edx, esi
mov dword [ebp - 0x20], edx
jne 0x100028d9
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002b80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x100363f4], 0x1bc1
mov dword [0x10036400], 0
mov byte [0x10036404], 0
mov dword [0x100363fc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x10002bdd
mov dword [0x100363f4], 0x2d6
mov dword [0x100363fc], 0
jmp 0x10002c14
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100363f4]
add eax, 0x567
mov dword [0x100363f4], eax
mov eax, dword [0x100363fc]
add eax, 1
mov dword [0x100363fc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10002bdd
jmp 0x10002bc7
mov eax, 0x100
mov dword [0x10036408], 0
mov ecx, dword [0x10036400]
mov edx, dword [0x100363fc]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x10036408], edi
mov dword [0x100363f4], 0x23ea
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x10036400], edx
mov ecx, dword [0x100363fc]
mov bl, byte [esi + ecx]
mov byte [0x10036404], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov dword [0x100363f4], 0xaf6
mov bl, byte [0x10036404]
mov ecx, dword [0x10036400]
mov byte [esi + ecx], bl
mov dword [0x100363f8], 0x1eaf
mov ecx, dword [0x100363fc]
add ecx, 1
mov dword [0x100363fc], ecx
cmp ecx, 0x100
jl 0x10002c14
mov eax, dword [0x100363f4]
mov ecx, eax
add ecx, 0xffffeafb
mov dword [0x100363f8], ecx
add eax, 0xd7f
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [0x100363f4], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x427420
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d531b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c9b1a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4274a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c793a
mov eax, dword [eax]
push 0xd7ccec
push eax
call fcn.004b9264
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c9da5
test bl, bl
je 0x4274a2
push 0xd7ccec
lea ecx, [esp + 0xc]
call fcn.004ca135
push 0xd7ccf8
lea ecx, [esp + 0xc]
call fcn.004ca135
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4274de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c9da5
jmp 0x4275a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x427562
lea edx, [esp + 0x7c]
push 0xd7ccf4
push edx
call fcn.004b9264
add esp, 8
test eax, eax
je 0x427562
lea eax, [esp + 0x7c]
push 0xd7ccf0
push eax
call fcn.004b9264
add esp, 8
test eax, eax
je 0x427562
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4274f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c9da5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x427dd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x427e32
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x427e40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d539b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xd95620]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x427f78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x427ea6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c9da5
xor eax, eax
jmp 0x427fef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c9ee2
push esi
lea ecx, [esp + 0xc]
call fcn.004ca171
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xd7cd2c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x427fcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00427dd0
test eax, eax
jne 0x427fcd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00427dd0
test eax, eax
jne 0x427fcd
lea eax, [esp + 0x14]
push 0xd7cd08
push eax
call fcn.004ba3d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x427fac
lea ecx, [esp + 0x14]
push 0xd7cd04
push ecx
call fcn.004ba350
mov esi, eax
add esp, 8
test esi, esi
jne 0x427fac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x427faf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c9e92
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x427ebe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c9da5
xor eax, eax
jmp 0x427fef
mov byte [esi], 0
push 0xd7cd00
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004c9da5
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x43aeb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43af1e
cmp si, 0x69
ja 0x43af1e
add esi, 0xffd0
cmp si, 0x11
je 0x43aeee
push 0x11
call edi
test ax, ax
jge 0x43aeee
or esi, 0x2000
cmp si, 0x10
je 0x43af03
push 0x10
call edi
test ax, ax
jge 0x43af03
or esi, 0x4000
cmp si, 0x12
je 0x43af18
push 0x12
call edi
test ax, ax
jge 0x43af18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43af2b
mov esi, 0xbd
jmp 0x43aedf
cmp si, 0x6e
jne 0x43af38
mov esi, 0xbe
jmp 0x43aedf
cmp si, 0x6f
jne 0x43aed9
mov esi, 0xbf
jmp 0x43aedf

Function at 0x43c880
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xda5ee8]
xor edx, edx
cmp eax, edx
jne 0x43c8a6
xor eax, eax
mov byte [eax + 0xda5de8], al
inc eax
cmp eax, 0x100
jl 0x43c88e
mov dword [0xda5ee8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xda5de8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43c937
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43c90a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x43c8d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43c9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x43ca03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43c9ea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret