joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10045190
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp byte [0x1006bcd8], 0
je 0x100451b7
call fcn.10044dc0
jmp 0x100451dc
lea edx, [esp + 0xc]
push edx
call ebx
test eax, eax
jne 0x100451e4
call fcn.10044dc0
mov ecx, dword [0x1006bcec]
push ecx
mov ecx, dword [0x1006bce8]
push ecx
push edx
push eax
call fcn.10026990
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 4]
ja 0x10045259
jb 0x100451f7
mov eax, dword [esp + 0xc]
cmp eax, dword [esi]
jae 0x10045259
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, edi
mov ecx, dword [esi + 8]
push 1
push ecx
call edi
cmp byte [0x1006bcd8], 0
je 0x10045218
call fcn.10044dc0
jmp 0x1004523d
lea edx, [esp + 0x10]
push edx
call ebx
test eax, eax
jne 0x10045245
call fcn.10044dc0
mov ecx, dword [0x1006bcec]
push ecx
mov ecx, dword [0x1006bce8]
push ecx
push edx
push eax
call fcn.10026990
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
cmp edx, dword [esi + 4]
jb 0x10045200
ja 0x10045258
mov eax, dword [esp + 0x10]
cmp eax, dword [esi]
jb 0x10045200
pop edi
pop esi
pop ebx
ret 8

Function at 0x100466a0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x1005033b
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100682b0]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
mov eax, dword [0x100682b0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov esi, ecx
mov ecx, dword [esp + 0x8c]
push 0x1c
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
call fcn.100199d3
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x80], 0
test eax, eax
je 0x1004670b
mov ecx, eax
call fcn.10045ad0
jmp 0x1004670d
xor eax, eax
mov dword [esi + 4], eax
lea edx, [esi + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 4]
lea eax, [esi + 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [esi + 4]
mov eax, dword [esi + 0xc]
lea ecx, [esp + 8]
push ecx
push 0
push esi
push 0x10046500
push 0
push 0
mov dword [esp + 0x98], 0xffffffff
mov dword [edx + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
jne 0x1004676e
push 0xffffffffffffffff
push 1
push 3
lea ecx, [esp + 0x1c]
call fcn.100452c0
push 0x100624d4
lea edx, [esp + 0x14]
push edx
call fcn.1001b990
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10019170
add esp, 0x7c
ret 8
Function at 0x10048830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100505a6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100682b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esp + 0x30], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
push 0x2c
mov byte [esp + 0x34], 1
mov dword [esi + 0x68], ebx
call fcn.100199d3
add esp, 4
cmp eax, ebx
je 0x1004892b
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0x64], eax
mov dword [eax], eax
mov eax, dword [esi + 0x64]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x64]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x64]
mov byte [eax + 0x28], 1
mov ecx, dword [esi + 0x64]
push ebx
push ebx
mov byte [ecx + 0x29], 1
push ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x70], eax
call ebp
push ebx
push ebx
push ebx
mov dword [esi + 0x74], eax
call edi
push ebx
push ebx
push ebx
mov dword [esi + 0x40], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x5c], eax
call ebp
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.10019258
push 0x10063fc0
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], vtable.std::bad_alloc.0
call fcn.1001b990
int3
Function at 0x10048960
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x100505db
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100682b0]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100682b0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov esi, ecx
mov ecx, dword [esp + 0xac]
push ecx
push eax
push edx
lea ecx, [esi + 4]
mov dword [esi + 0x34], eax
call fcn.10045e70
push 8
call fcn.100199d3
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x100489d6
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov edi, eax
jmp 0x100489d8
xor edi, edi
mov ebp, dword [esp + 0xb0]
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
mov dword [esi + 0x28], edi
neg ecx
or ecx, eax
push ecx
call fcn.10019bd5
mov dword [edi], eax
add esp, 4
xor eax, eax
cmp ebp, ebx
jle 0x10048a0f
mov ecx, dword [edi]
mov dword [ecx + eax*4], ebx
inc eax
cmp eax, ebp
jl 0x10048a05
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
mov dword [edi + 4], ebp
push 8
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
call fcn.100199d3
add esp, 4
cmp eax, ebx
je 0x10048a3b
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x10048a3d
xor eax, eax
push 0x10
mov dword [esi + 0x24], eax
call fcn.100199d3
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x9c], ebx
cmp edi, ebx
je 0x10048aaf
push 0x20
mov dword [edi + 4], ebx
call fcn.100199d3
add esp, 4
cmp eax, ebx
je 0x10048a86
mov dword [edi], eax
mov dword [eax], eax
mov eax, dword [edi]
push ebx
push ebx
mov dword [eax + 4], eax
push ebx
mov dword [edi + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0xc], eax
jmp 0x10048ab1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.10019258
push 0x10063fc0
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], vtable.std::bad_alloc.0
call fcn.1001b990
xor edi, edi
lea eax, [esp + 0x18]
push eax
push ebx
push esi
push 0x10048320
push ebx
push ebx
mov dword [esp + 0xb4], 0xffffffff
mov dword [esi + 0x48], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
cmp eax, ebx
jne 0x10048af7
push 0xffffffffffffffff
push 1
push 3
lea ecx, [esp + 0x38]
call fcn.100452c0
push 0x100624d4
lea ecx, [esp + 0x30]
push ecx
call fcn.1001b990
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.10019170
add esp, 0x8c
ret 0x18
Function at 0x1004a000
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x6c
mov eax, dword [0x100682b0]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, ecx
mov ecx, dword [esi + 8]
push 4
lea eax, [esi + 0x10]
push eax
push 0x1002
push 0xffff
push ecx
call edi
test eax, eax
jne 0x1004a092
mov eax, dword [esi + 8]
push 4
lea edx, [esi + 0xc]
push edx
push 0x1001
push 0xffff
push eax
call edi
test eax, eax
jne 0x1004a092
mov edx, dword [esi + 8]
push 4
lea ecx, [esp + 0xc]
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x1c], 1
call edi
test eax, eax
je 0x1004a0b5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 3
push 1
lea ecx, [esp + 0x18]
call fcn.100452c0
push 0x100624d4
lea eax, [esp + 0x10]
push eax
call fcn.1001b990
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 3
push 1
lea ecx, [esp + 0x18]
call fcn.100452c0
push 0x100624d4
lea ecx, [esp + 0x10]
push ecx
call fcn.1001b990
mov ecx, dword [esp + 0x70]
pop edi
pop esi
xor ecx, esp
call fcn.10019170
add esp, 0x6c
ret

Function at 0x1004a120
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
push edi
mov ecx, esi
call fcn.10045910
mov ebp, dword [sym.imp.WS2_32.dll_htonl]
test eax, eax
je 0x1004a16f
mov ecx, esi
xor edi, edi
call fcn.10045810
cdq
and edx, 3
lea ebx, [edx + eax]
sar ebx, 2
test ebx, ebx
jle 0x1004a16f
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + edi*4]
push edx
call ebp
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov dword [edx + edi*4], eax
inc edi
cmp edi, ebx
jl 0x1004a157
lea edi, [esi + 0x14]
mov ebx, 4
mov eax, dword [edi]
push eax
call ebp
mov dword [edi], eax
add edi, 4
dec ebx
jne 0x1004a177
mov ecx, esi
call fcn.10045810
add eax, dword [0x100596a0]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ebx
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
push eax
push edx
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, dword [ecx + 8]
push 2
lea edx, [esi + 0x24]
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSASendTo]
test eax, eax
jne 0x1004a1c8
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
jmp 0x1004a1d0
mov dword [esp + 0x20], 0xffffffff
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
lea edi, [esi + 0x14]
mov ebx, 4
mov edi, edi
mov edx, dword [edi]
push edx
call ebp
mov dword [edi], eax
add edi, 4
dec ebx
jne 0x1004a1e0
mov ecx, esi
call fcn.10045910
test eax, eax
je 0x1004a228
mov ecx, esi
xor edi, edi
call fcn.10045810
cdq
and edx, 3
lea ebx, [edx + eax]
sar ebx, 2
test ebx, ebx
jle 0x1004a228
nop
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + edi*4]
push edx
call ebp
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov dword [edx + edi*4], eax
inc edi
cmp edi, ebx
jl 0x1004a210
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x1004a240
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov ecx, edi
call fcn.10045810
add eax, dword [0x100596a0]
mov edx, dword [esp + 0x14]
push 0
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 8]
lea ecx, [esp + 0x2c]
push ecx
push 2
lea edx, [edi + 0x24]
push edx
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
test eax, eax
jne 0x1004a29f
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x1004a2b3
push 0xffffffffffffffff
mov ecx, edi
call fcn.10045820
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret 8
sub eax, dword [0x100596a0]
push ebx
push ebp
push eax
mov ecx, edi
call fcn.10045820
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
lea esi, [edi + 0x14]
mov ebx, 4
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi], eax
add esi, 4
dec ebx
jne 0x1004a2d1
mov ecx, edi
call fcn.10045910
test eax, eax
je 0x1004a318
mov ecx, edi
xor esi, esi
call fcn.10045810
cdq
and edx, 3
lea ebx, [edx + eax]
sar ebx, 2
test ebx, ebx
jle 0x1004a318
mov edx, dword [edi + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + esi*4]
push ecx
call ebp
mov edx, dword [edi + 0x10]
mov ecx, dword [edx]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, ebx
jl 0x1004a300
mov ecx, edi
call fcn.10045810
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret 8
Function at 0x1004a330
Capabilities:
Create udp socket
Resolve dns

Disassembly:
sub esp, 0x8c
mov eax, dword [0x100682b0]
xor eax, esp
mov dword [esp + 0x88], eax
push esi
push edi
mov edi, dword [esp + 0x98]
push 0
mov esi, ecx
mov eax, dword [esi]
push 2
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x1004a387
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.100452c0
push 0x100624d4
lea ecx, [esp + 0x30]
push ecx
call fcn.1001b990
test edi, edi
je 0x1004a3c2
mov ecx, dword [esi + 4]
push ecx
push edi
push eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1004a480
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 3
push 1
lea ecx, [esp + 0x38]
call fcn.100452c0
push 0x100624d4
lea edx, [esp + 0x30]
push edx
call fcn.1001b990
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi]
push 0x10059750
push 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 2
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1004a438
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 3
push 1
lea ecx, [esp + 0x38]
call fcn.100452c0
push 0x100624d4
lea eax, [esp + 0x30]
push eax
call fcn.1001b990
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [esi + 8]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1004a475
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 3
push 1
lea ecx, [esp + 0x38]
call fcn.100452c0
push 0x100624d4
lea ecx, [esp + 0x30]
push ecx
call fcn.1001b990
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, esi
call fcn.1004a000
mov ecx, dword [esp + 0x90]
pop edi
pop esi
xor ecx, esp
call fcn.10019170
add esp, 0x8c
ret 4

Function at 0x1004ac10
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x10081aa0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100f494b
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.100e95c3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10081b22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100e749d
mov eax, dword [eax]
push 0x10127cac
push eax
call fcn.100da154
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100e984e
test bl, bl
je 0x10081b22
push 0x10127cac
lea ecx, [esp + 0xc]
call fcn.100e9bde
push 0x10127cb8
lea ecx, [esp + 0xc]
call fcn.100e9bde
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 0x10081b5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100e984e
jmp 0x10081c29
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 0x10081be2
lea edx, [esp + 0x7c]
push 0x10127cb4
push edx
call fcn.100da154
add esp, 8
test eax, eax
je 0x10081be2
lea eax, [esp + 0x7c]
push 0x10127cb0
push eax
call fcn.100da154
add esp, 8
test eax, eax
je 0x10081be2
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 0x10081b72
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.100e984e
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 0x10082430
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 0x10082492
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 0x100824a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100f49cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x10131574]
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 0x100825d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10082506
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100e984e
xor eax, eax
jmp 0x1008264f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100e998b
push esi
lea ecx, [esp + 0xc]
call fcn.100e9c1a
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 0x1008262d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.10082430
test eax, eax
jne 0x1008262d
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 closesocket
mov ecx, edi
call fcn.10082430
test eax, eax
jne 0x1008262d
lea eax, [esp + 0x14]
push 0x10127cc8
push eax
call fcn.100db1d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1008260c
lea ecx, [esp + 0x14]
push 0x10127cc4
push ecx
call fcn.100db150
mov esi, eax
add esp, 8
test esi, esi
jne 0x1008260c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1008260f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100e993b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1008251e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100e984e
xor eax, eax
jmp 0x1008264f
mov byte [esi], 0
push 0x10127cc0
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.100e984e
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 0x10092d20
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 0x10092d8e
cmp si, 0x69
ja 0x10092d8e
add esi, 0xffd0
cmp si, 0x11
je 0x10092d5e
push 0x11
call edi
test ax, ax
jge 0x10092d5e
or esi, 0x2000
cmp si, 0x10
je 0x10092d73
push 0x10
call edi
test ax, ax
jge 0x10092d73
or esi, 0x4000
cmp si, 0x12
je 0x10092d88
push 0x12
call edi
test ax, ax
jge 0x10092d88
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x10092d9b
mov esi, 0xbd
jmp 0x10092d4f
cmp si, 0x6e
jne 0x10092da8
mov esi, 0xbe
jmp 0x10092d4f
cmp si, 0x6f
jne 0x10092d49
mov esi, 0xbf
jmp 0x10092d4f

Function at 0x10094620
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10141d50]
xor edx, edx
cmp eax, edx
jne 0x10094646
xor eax, eax
mov byte [eax + 0x10141c50], al
inc eax
cmp eax, 0x100
jl 0x1009462e
mov dword [0x10141d50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10141c50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x100946d7
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 0x100946aa
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 0x10094678
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10094750
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 0x100947a3
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 0x1009478a
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
Function at 0x10097da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f5c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.100f02bb
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.10097c70
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.100f032d
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10097e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f5c98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push 0
lea ecx, [esp + 0x14]
call fcn.100f0207
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esp + 0x30], 0
call esi
push 1
mov edi, eax
call esi
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x1c], edi
call fcn.10097c70
add esp, 0x14
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.100f0279
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret