joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439330
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x439363
push esi
call fcn.0043c440
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43935c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4393e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4393d2
mov eax, dword [esi + 8]
test eax, eax
je 0x439387
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4393ce
cmp eax, 2
je 0x4393d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43937a
cmp eax, 3
je 0x4393ad
cmp eax, 1
jne 0x43937a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43937a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43937a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439410
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4393f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439410
add esp, 4
pop esi
ret

Function at 0x45794a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x457982
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004559fe
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004559d6
jmp 0x45798e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x459041
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x459083
call fcn.0045eaf6
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x459083
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45907a
xor eax, eax
jmp 0x45908b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00459091
pop edi
pop esi
pop ebx
ret 4

Function at 0x45f026
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x45f054
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45f072
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045ef8c
jmp 0x45f072
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45f072
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045ef8c
test edi, edi
mov eax, edi
jne 0x45f05c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401119
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401154
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401150
lea ebx, [ebx]
cmp esi, eax
jae 0x401154
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401140
cmp esi, eax
jb 0x40115a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402160
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4186e8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x423688]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [0x424620], 0
jne 0x402216
lea eax, [esp + 8]
push 0
push eax
call fcn.00401c80
push 0x41a368
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], 0
call fcn.00402020
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x14
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4021df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
add eax, 2
mov dword [0x424620], eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402216
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp dword [0x424620], 1
sete al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret
Function at 0x402330
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x41874b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x423688]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x423688]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov esi, dword [esp + 0x228]
push 0x206
lea eax, [esp + 0x12]
push 0
mov dword [esp + 0x10], 0
push eax
mov word [esp + 0x18], 0
call fcn.0040d820
add esp, 0xc
push 0
push 0x1a
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4023b5
push 0x41a39c
mov ecx, esi
call fcn.00402280
jmp 0x402408
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
call fcn.00402280
push 0x41a378
push eax
push esi
mov dword [esp + 0x22c], 0
call fcn.00402020
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x220], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402408
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0040d809
add esp, 0x21c
ret
Function at 0x402e10
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x402e2c
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x402a30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x402e54
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x405530
Capabilities:
Accept command line arguments

Disassembly:
push ecx
cmp byte [0x424628], 0
push esi
mov esi, ecx
je 0x405545
or eax, 0xffffffff
pop esi
pop ecx
ret 4
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, esi
call fcn.00404f10
cmp al, 1
jne 0x405575
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.00404100
pop esi
pop ecx
ret 4
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4

Function at 0x406af0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x406b07
mov eax, dword [esi + 0x10]
pop esi
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esp + 8]
mov eax, dword [esi + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x406b32
mov ecx, dword [esi + 0x10]
pop esi
mov dword [esp + 4], ecx
jmp dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi + 8]
push 1
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 8], 0
pop esi
ret 4

Function at 0x40ca60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x42476c], 0
push esi
jne 0x40c9d3
call fcn.0040c8fe
test eax, eax
je 0x40ca16
mov eax, dword [0x42476c]
cmp eax, 1
jne 0x40c9f4
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40ca16
pop esi
ret
push eax
call dword [0x424774]
test eax, eax
jne 0x40ca5e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40ca1a
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x42476c]
call dword [0x424774]
mov edi, eax
test edi, edi
je 0x40ca41
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40ca5d
lea edi, [esi + 0xff0]
push esi
push dword [0x42476c]
call dword [0x424770]
add esi, 0x10
cmp esi, edi
jb 0x40ca47
mov eax, esi
pop edi
pop esi
ret
jmp 0x40c9c0

Function at 0x40e8e8
Capabilities:
Encode data using xor

Disassembly:
mov word [ebx + 0x2c], cs
xor eax, 0x81eda5eb
retf 0x92fa
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0x428240
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x76
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x41
mov byte [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x430020
call dword [0x428004]
push eax
call dword [section..rdata]
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0
call dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x24], eax
push 0
push 0
push 0
push 0
call dword [ebp - 4]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], 0x3e8
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x44], 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x45], 0
mov dword [ebp - 0x18], 0
jmp 0x4010c9
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 2
jge 0x401146
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call 0x426386
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx*4 + 8], ecx
push 0x20
call 0x426386
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov dword [eax + edx*4 + 0x30], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call 0x426386
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov dword [edx + ecx*4 + 0x10], eax
push 0x20
call 0x426386
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [edx + ecx*4 + 0x38], eax
jmp 0x4010c0
push 0x14
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x46
push ecx
call 0x426380
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov word [edx + 0x46], 0x31
mov eax, dword [ebp - 0x2c]
mov word [eax + 0x48], 1
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x4a], 0x1f40
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x4e], 0x659
mov eax, dword [ebp - 0x2c]
mov word [eax + 0x52], 0x41
mov ecx, dword [ebp - 0x2c]
mov word [ecx + 0x54], 0
mov edx, dword [ebp - 0x2c]
mov word [edx + 0x56], 2
mov eax, dword [ebp - 0x2c]
mov word [eax + 0x58], 0x140
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x401541
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
push 0x430144
push 0x430150
call dword [0x428004]
push eax
call dword [section..rdata]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x57
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x46
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x53
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x6e
mov byte [ebp - 0xe], 0x67
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x4f
mov byte [ebp - 0xa], 0x62
mov byte [ebp - 9], 0x6a
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x63
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0
lea eax, [ebp - 0x18]
push eax
push 0x430160
call dword [0x428004]
push eax
call dword [section..rdata]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dl, byte [ecx + 0x44]
test edx, edx
jne 0x4015ee
mov ecx, dword [ebp - 0x20]
call fcn.00401902
and eax, 0xff
test eax, eax
jne 0x4015ee
xor eax, eax
jmp 0x401626
cmp dword [ebp + 8], 0
jne 0x4015f8
xor eax, eax
jmp 0x401626
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x28]
push ecx
call dword [ebp - 0x1c]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x24]
push eax
call dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 + 8]
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x4069d1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4069ab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x4069a6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x4069e4
pop edi
not eax
pop esi
ret 0xc
Function at 0x412bc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47952b
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.0046dff0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412c42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046b8e0
mov eax, dword [eax]
push 0x495210
push eax
call fcn.0045e364
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046e27b
test bl, bl
je 0x412c42
push 0x495210
lea ecx, [esp + 0xc]
call fcn.0046e60b
push 0x498d8c
lea ecx, [esp + 0xc]
call fcn.0046e60b
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 0x412c7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046e27b
jmp 0x412d49
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 0x412d02
lea edx, [esp + 0x7c]
push 0x498d88
push edx
call fcn.0045e364
add esp, 8
test eax, eax
je 0x412d02
lea eax, [esp + 0x7c]
push 0x498d84
push eax
call fcn.0045e364
add esp, 8
test eax, eax
je 0x412d02
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 0x412c92
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.0046e27b
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 0x413540
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 0x4135a2
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 0x4135b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4795ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a0f24]
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 0x4136e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x413616
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046e27b
xor eax, eax
jmp 0x41375f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046e3b8
push esi
lea ecx, [esp + 0xc]
call fcn.0046e647
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41373d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00413540
test eax, eax
jne 0x41373d
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.00413540
test eax, eax
jne 0x41373d
lea eax, [esp + 0x14]
push 0x498da0
push eax
call fcn.0045f3a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41371c
lea ecx, [esp + 0x14]
push 0x498d9c
push ecx
call fcn.0045f320
mov esi, eax
add esp, 8
test esi, esi
jne 0x41371c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41371f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046e368
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41362e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046e27b
xor eax, eax
jmp 0x41375f
mov byte [esi], 0
push 0x498d98
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.0046e27b
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 0x425cc0
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 0x425d2e
cmp si, 0x69
ja 0x425d2e
add esi, 0xffd0
cmp si, 0x11
je 0x425cfe
push 0x11
call edi
test ax, ax
jge 0x425cfe
or esi, 0x2000
cmp si, 0x10
je 0x425d13
push 0x10
call edi
test ax, ax
jge 0x425d13
or esi, 0x4000
cmp si, 0x12
je 0x425d28
push 0x12
call edi
test ax, ax
jge 0x425d28
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x425d3b
mov esi, 0xbd
jmp 0x425cef
cmp si, 0x6e
jne 0x425d48
mov esi, 0xbe
jmp 0x425cef
cmp si, 0x6f
jne 0x425ce9
mov esi, 0xbf
jmp 0x425cef

Function at 0x4273e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b1fb8]
xor edx, edx
cmp eax, edx
jne 0x427406
xor eax, eax
mov byte [eax + 0x4b1eb8], al
inc eax
cmp eax, 0x100
jl 0x4273ee
mov dword [0x4b1fb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b1eb8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x427497
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 0x42746a
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 0x427438
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x427510
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 0x427563
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 0x42754a
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