joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411544
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
mov eax, 0x4a75ec
call fcn.0043cb10
sub esp, 0x810
mov eax, dword [0x4df718]
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0x50
je 0x4115b8
push esi
push dword [ebp + 0x10]
call fcn.004111f0
test eax, eax
je 0x41167f
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0049cb4d
cmp dword [ebp + 0xc], esi
je 0x41160a
push dword [ebp + 0xc]
lea eax, [ebp - 0x81c]
push dword [ebp - 0x10]
push str.GET__s_HTTP_1.1_r_n_s_r_n
push eax
call fcn.0043cff0
add esp, 0x10
jmp 0x411621
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.004a2416
test eax, eax
je 0x411597
cmp dword [ebp + 0x10], 3
jne 0x4115eb
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x14]
call fcn.004111f0
test eax, eax
jne 0x411597
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0049c9c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049c9c4
xor eax, eax
jmp 0x411699
push dword [ebp - 0x10]
lea eax, [ebp - 0x81c]
push str.GET__s_HTTP_1.1_r_n_r_n
push eax
call fcn.0043cff0
add esp, 0xc
lea eax, [ebp - 0x81c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
test ebx, ebx
jle 0x411660
mov eax, 0x1000
cmp ebx, eax
jg 0x411640
mov eax, ebx
push 0
push eax
lea eax, [ebp + esi - 0x81c]
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jl 0x41165e
add esi, eax
sub ebx, eax
jmp 0x411631
test ebx, ebx
pop ebx
jne 0x41167c
mov ecx, edi
call fcn.004116a9
cmp eax, 0x64
mov dword [ebp - 0x18], eax
jne 0x41167c
mov ecx, edi
call fcn.004116a9
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0049c9c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049c9c4
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x412ab9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov byte [ebp - 1], bl
cmp dword [esi + 0x4c], ebx
je 0x412aeb
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x64
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x412ae6
mov byte [ebp - 1], 1
cmp dword [esi + 0x4c], ebx
jne 0x412aef
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x412b0f
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push esi
push 0x413ff3
push ebx
push ebx
call fcn.0043db85
add esp, 0x18
mov dword [esi + 0x4c], eax
pop esi
pop ebx
leave
ret

Function at 0x412b13
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov eax, 0x4a778c
call fcn.0043cb10
sub esp, 0x58
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0xc], bl
je 0x412b32
xor eax, eax
jmp 0x412c60
push edi
mov edi, 0x4e7dd8
lea ecx, [esi + 0xc4]
push edi
call fcn.0049cb4d
lea ecx, [esi + 0xc8]
push edi
call fcn.0049cb4d
lea ecx, [ebp - 0x64]
call fcn.0041bba0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.0041bcf3
test eax, eax
je 0x412b76
lea eax, [ebp - 0x38]
lea ecx, [esi + 0xc4]
push eax
call fcn.0049cafd
lea ecx, [ebp - 0x64]
call fcn.0041bd79
test eax, eax
je 0x412b91
lea eax, [ebp - 0x38]
lea ecx, [esi + 0xc8]
push eax
call fcn.0049cafd
push ebx
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [ebp - 0x10]
push 4
push ecx
push 0x1006
push 0xffff
push eax
mov dword [esi + 8], eax
mov dword [ebp - 0x10], 0xbb8
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x24]
pop edi
push edi
push ebx
push eax
call fcn.0043cd10
add esp, 0xc
mov word [ebp - 0x24], 2
push 0x76c
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push edi
push eax
push dword [esi + 8]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x412c30
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
call esi
push eax
push str.Error_in_bind:
push 0x4ea5a0
call fcn.00414590
pop ecx
pop ecx
mov ecx, eax
call fcn.0041430e
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00414435
mov ecx, esi
call fcn.0044fa9a
jmp 0x412c51
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
push 1
mov ecx, esi
pop ebx
mov byte [esi + 0xc], bl
call fcn.00412ab9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0041bc4c
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x412b21
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov eax, 0x4a778c
call fcn.0043cb10
sub esp, 0x58
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0xc], bl
je 0x412b32
xor eax, eax
jmp 0x412c60
push edi
mov edi, 0x4e7dd8
lea ecx, [esi + 0xc4]
push edi
call fcn.0049cb4d
lea ecx, [esi + 0xc8]
push edi
call fcn.0049cb4d
lea ecx, [ebp - 0x64]
call fcn.0041bba0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.0041bcf3
test eax, eax
je 0x412b76
lea eax, [ebp - 0x38]
lea ecx, [esi + 0xc4]
push eax
call fcn.0049cafd
lea ecx, [ebp - 0x64]
call fcn.0041bd79
test eax, eax
je 0x412b91
lea eax, [ebp - 0x38]
lea ecx, [esi + 0xc8]
push eax
call fcn.0049cafd
push ebx
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [ebp - 0x10]
push 4
push ecx
push 0x1006
push 0xffff
push eax
mov dword [esi + 8], eax
mov dword [ebp - 0x10], 0xbb8
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x24]
pop edi
push edi
push ebx
push eax
call fcn.0043cd10
add esp, 0xc
mov word [ebp - 0x24], 2
push 0x76c
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push edi
push eax
push dword [esi + 8]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x412c30
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
call esi
push eax
push str.Error_in_bind:
push 0x4ea5a0
call fcn.00414590
pop ecx
pop ecx
mov ecx, eax
call fcn.0041430e
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00414435
mov ecx, esi
call fcn.0044fa9a
jmp 0x412c51
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
push 1
mov ecx, esi
pop ebx
mov byte [esi + 0xc], bl
call fcn.00412ab9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0041bc4c
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x412e75
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, 0x4a77b4
call fcn.0043cb10
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
push 0x4e7dd8
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
call fcn.0049ca32
mov eax, dword [esi + 0xc4]
and dword [ebp - 4], 0
lea edi, [esi + 0xc4]
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [eax - 8]
cmp ecx, 4
jle 0x412ec8
push eax
call ebx
cmp al, 0xa
je 0x412eed
cmp al, 0xc0
jne 0x412ec8
cmp ah, 0xa8
je 0x412eed
mov eax, dword [esi + 0xc8]
add esi, 0xc8
cmp dword [eax - 8], 4
jle 0x412ef9
push dword [edi]
call ebx
cmp al, 0xa
je 0x412ef0
cmp al, 0xc0
jne 0x412ef9
cmp ah, 0xa8
je 0x412ef0
jmp 0x412ef9
push edi
jmp 0x412ef1
push esi
lea ecx, [ebp - 0x10]
call fcn.0049cafd
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x412f0f
push str.239.255.255.250
lea ecx, [ebp - 0x10]
call fcn.0049cb4d
push 0x10
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0043cd10
add esp, 0xc
push dword [ebp - 0x10]
call ebx
push 0x76c
mov dword [ebp - 0x20], eax
mov word [ebp - 0x24], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push 0x10
push eax
push 0
push dword [ebp + 8]
call fcn.0043cd70
pop ecx
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049c9c4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x414206
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
lea eax, [ebp - 0x104]
push 0x100
push eax
xor edi, edi
xor ebx, ebx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x414284
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, edi
je 0x414284
cmp word [esi + 0xa], 4
jne 0x414284
mov eax, dword [esi + 0xc]
cmp dword [eax], edi
je 0x414284
movsx ecx, word [esi + 0xa]
push ecx
push dword [edi + eax]
lea eax, [ebp - 4]
push eax
call fcn.0043d460
add esp, 0xc
cmp byte [ebp - 4], 0xa
je 0x414273
cmp byte [ebp - 4], 0xc0
je 0x414273
cmp byte [ebp - 3], 0xa8
jne 0x414281
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], 0
jne 0x41424d
jmp 0x414284
push 1
pop ebx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x41428b
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
lea eax, [ebp - 0x104]
push 0x100
push eax
or ebx, 0xffffffff
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x414307
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x414307
cmp word [esi + 0xa], 4
jne 0x414307
mov eax, dword [esi + 0xc]
cmp dword [eax], edi
je 0x414307
movsx ecx, word [esi + 0xa]
push ecx
push dword [edi + eax]
lea eax, [ebp - 4]
push eax
call fcn.0043d460
mov eax, dword [ebp - 4]
add esp, 0xc
cmp al, 0xa
je 0x414305
cmp al, 0xc0
jne 0x4142f7
cmp ah, 0xa8
je 0x414305
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], 0
jne 0x4142d3
jmp 0x414307
mov ebx, eax
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x415a37
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push edi
lea eax, [ebp - 0x108]
xor edi, edi
push 0x100
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x415ac2
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, edi
je 0x415ac2
cmp word [esi + 0xa], 4
jne 0x415ac2
mov eax, dword [esi + 0xc]
cmp dword [eax], edi
je 0x415ac2
push ebx
mov ebx, dword [ebp + 8]
movsx ecx, word [esi + 0xa]
push ecx
push dword [edi + eax]
lea eax, [ebp - 8]
push eax
call fcn.0043d460
mov eax, dword [ebx + 4]
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.00415ac9
cmp dword [ebp - 4], 0
jne 0x415ab5
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], 0
jne 0x415a82
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x4167af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4a7c14
call fcn.0043cb10
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.004a2d8b
mov esi, dword [eax + 0xc]
push 0x4ddb08
movzx eax, word [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4167f7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4167fb
xor eax, eax
jmp 0x416827
push 0
push ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.004a118d
mov ecx, dword [ebp - 0x10]
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call fcn.0041689d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004a11c9
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4197dd
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4a80d0
call fcn.0043cb10
sub esp, 0x34
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0
push 0
mov dword [ebp - 0x20], edi
call esi
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x4199a6
inc eax
push eax
call fcn.0049ceb4
pop ecx
mov ebx, eax
push ebx
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x41982f
push ebx
call fcn.0049cedd
pop ecx
jmp 0x4199a6
lea ecx, [ebp - 0x40]
call fcn.00498508
xor esi, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jae 0x419889
cmp dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
je 0x41987c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x41987c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x38]
call fcn.004986e4
jmp 0x41987c
add dword [ebp - 0x14], 4
add dword [ebp - 0x18], 4
mov dword [ebp - 4], esi
jmp 0x419842
push dword [ebp - 0x24]
call fcn.0049cedd
mov eax, dword [0x4e7f40]
pop ecx
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.0049d8a1
push esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.0049d8a1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
call fcn.004110c4
push 0x805c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00411106
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x28]
neg esi
sbb esi, esi
mov ebx, dword [sym.imp.USER32.dll_AppendMenuA]
and esi, eax
push dword [esi]
push 0x2c6ca
push 1
push dword [edi + 0x54]
call ebx
push 0x8059
lea ecx, [ebp - 0x2c]
call fcn.00411106
mov eax, dword [esi]
mov ecx, dword [edi + 0x54]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
push 0x410
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_InsertMenuA]
cmp dword [ebp - 0x38], 0
jne 0x41993a
push 0x805d
lea ecx, [ebp - 0x2c]
call fcn.00411106
push dword [esi]
push 0x2c6ca
push 1
push dword [edi + 0x4c]
call ebx
xor eax, eax
cmp dword [ebp - 0x38], eax
mov dword [ebp - 0x14], eax
jle 0x419967
jmp 0x419949
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
push dword [ecx + eax*4]
add eax, 0x9100
push eax
push 0
push dword [edi + 0x4c]
call ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jl 0x419946
push 0x805a
lea ecx, [ebp - 0x2c]
call fcn.00411106
mov esi, dword [esi]
mov edi, dword [edi + 0x4c]
mov eax, dword [ebp - 0x1c]
push esi
push edi
push 0x410
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_InsertMenuA]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004110f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0049853b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41a9cf
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4a8298
call fcn.0043cb10
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
xor esi, esi
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, esi
jl 0x41aa44
lea eax, [ebp - 0x1c]
push eax
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, esi
je 0x41aa18
mov dword [ebp - 0x18], esi
jmp 0x41aa27
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
je 0x41aa53
push str.ppStream
push dword [ebp + 8]
call fcn.0043cc00
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x41aa6b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41aac4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x41aac9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
lea eax, [ebp - 0x25c]
push edi
push eax
mov edi, SysReAllocStringLen
push str..htm
push edi
call fcn.0041aa6b
add esp, 0xc
xor ebx, ebx
test eax, eax
jne 0x41abd9
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x25c]
push str._shellopencommand
push eax
call esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x25c]
push eax
push edi
call fcn.0041aa6b
add esp, 0xc
test eax, eax
jne 0x41abd9
lea eax, [ebp - 0x25c]
push 0x4ddd88
push eax
call fcn.0043eeda
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x41ab74
lea eax, [ebp - 0x25c]
push 0x4ddd84
push eax
call fcn.0043e1e0
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x41ab74
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax - 0x25d]
jmp 0x41ab76
mov byte [edi], bl
push 0x4dd2d8
push edi
call esi
push dword [ebp + 8]
push edi
call esi
push 0x44
lea eax, [ebp - 0x54]
pop esi
push esi
push ebx
push eax
call fcn.0043cd10
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [ebp - 0x54], esi
call fcn.0043cd10
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x25c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41abd9
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push 1
pop eax
jmp 0x41abf6
push dword [ebp + 0xc]
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f8cc
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
call fcn.00430a58
test eax, eax
je 0x41f8e2
push 0
push 1
jmp 0x41f946
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push eax
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 4]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0xc]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x41f94c
push esi
push 0xc
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret
Function at 0x423906
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x423972
lea eax, [ebp - 0x140]
push eax
call fcn.0041a9a6
test eax, eax
pop ecx
je 0x423972
lea eax, [ebp - 0x140]
push str.update.exe
push eax
call fcn.0043cc00
lea eax, [ebp - 0x140]
pop ecx
mov dword [ebp - 0x2c], eax
pop ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3c
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x423980
push 5
push str.http:__www.ppStream.com_download_
call fcn.0041aac9
pop ecx
pop ecx
pop esi
leave
ret 4
Function at 0x4251d8
Capabilities:
Create process on windows
Get common file path
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push esi
lea eax, [ebp - 0x74]
push edi
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [ebp - 0x68], 0x6400000
jb 0x4252aa
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0043cd10
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.0043cd10
add esp, 0x18
lea eax, [ebp - 0x178]
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], si
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x176]
push str.Program_FilesInternet_ExplorerIEXPLORE.EXE
push eax
call fcn.0043cbf0
mov eax, dword [edi + 0x98]
pop ecx
pop ecx
cmp dword [eax - 8], esi
jne 0x425262
push str.http:__www.PPS.tv
jmp 0x425263
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0043cc00
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x178]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4252af
mov eax, dword [ebp - 8]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x9c], eax
call esi
push dword [ebp - 0xc]
call esi
push 1
pop eax
jmp 0x4252b1
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4252f9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x42533f
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x42533f
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x9c], 0
pop edi
pop esi
leave
ret