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

Disassembly:
mov eax, 0x4deb28
call fcn.00471fb4
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
push 0x527a08
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
call fcn.004d2cf7
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 0x41cc0f
push eax
call ebx
cmp al, 0xa
je 0x41cc34
cmp al, 0xc0
jne 0x41cc0f
cmp ah, 0xa8
je 0x41cc34
mov eax, dword [esi + 0xc8]
add esi, 0xc8
cmp dword [eax - 8], 4
jle 0x41cc40
push dword [edi]
call ebx
cmp al, 0xa
je 0x41cc37
cmp al, 0xc0
jne 0x41cc40
cmp ah, 0xa8
je 0x41cc37
jmp 0x41cc40
push edi
jmp 0x41cc38
push esi
lea ecx, [ebp - 0x10]
call fcn.004d2dc2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x41cc56
push str.239.255.255.250
lea ecx, [ebp - 0x10]
call fcn.004d2e12
push 0x10
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.004721c0
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.004723b0
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.004d2c89
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x41df62
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 0x41dfe0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, edi
je 0x41dfe0
cmp word [esi + 0xa], 4
jne 0x41dfe0
mov eax, dword [esi + 0xc]
cmp dword [eax], edi
je 0x41dfe0
movsx ecx, word [esi + 0xa]
push ecx
push dword [edi + eax]
lea eax, [ebp - 4]
push eax
call fcn.00472430
add esp, 0xc
cmp byte [ebp - 4], 0xa
je 0x41dfcf
cmp byte [ebp - 4], 0xc0
je 0x41dfcf
cmp byte [ebp - 3], 0xa8
jne 0x41dfdd
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], 0
jne 0x41dfa9
jmp 0x41dfe0
push 1
pop ebx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x41dfe7
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 0x41e063
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x41e063
cmp word [esi + 0xa], 4
jne 0x41e063
mov eax, dword [esi + 0xc]
cmp dword [eax], edi
je 0x41e063
movsx ecx, word [esi + 0xa]
push ecx
push dword [edi + eax]
lea eax, [ebp - 4]
push eax
call fcn.00472430
mov eax, dword [ebp - 4]
add esp, 0xc
cmp al, 0xa
je 0x41e061
cmp al, 0xc0
jne 0x41e053
cmp ah, 0xa8
je 0x41e061
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], 0
jne 0x41e02f
jmp 0x41e063
mov ebx, eax
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x41f796
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 0x41f821
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, edi
je 0x41f821
cmp word [esi + 0xa], 4
jne 0x41f821
mov eax, dword [esi + 0xc]
cmp dword [eax], edi
je 0x41f821
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.00472430
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.0043831d
cmp dword [ebp - 4], 0
jne 0x41f814
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], 0
jne 0x41f7e1
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x41ff6d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4def20
call fcn.00471fb4
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.004d92e7
mov esi, dword [eax + 0xc]
push 0x51b7e0
movzx eax, word [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x41ffb5
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 0x41ffb9
xor eax, eax
jmp 0x41ffe5
push 0
push ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.004d77f1
mov ecx, dword [ebp - 0x10]
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call fcn.0042005e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004d782d
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x424bc0
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4df768
call fcn.00471fb4
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 0x424d89
inc eax
push eax
call fcn.004d31ed
pop ecx
mov ebx, eax
push ebx
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x424c12
push ebx
call fcn.004d3216
pop ecx
jmp 0x424d89
lea ecx, [ebp - 0x40]
call fcn.004ce4b3
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 0x424c6c
cmp dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
je 0x424c5f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x424c5f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x38]
call fcn.004ce68f
jmp 0x424c5f
add dword [ebp - 0x14], 4
add dword [ebp - 0x18], 4
mov dword [ebp - 4], esi
jmp 0x424c25
push dword [ebp - 0x24]
call fcn.004d3216
mov eax, dword [0x527f98]
pop ecx
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.004d3bdd
push esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.004d3bdd
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
call fcn.00418be8
push 0x805c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00418c2a
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 + 0x60]
call ebx
push 0x8059
lea ecx, [ebp - 0x2c]
call fcn.00418c2a
mov eax, dword [esi]
mov ecx, dword [edi + 0x60]
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 0x424d1d
push 0x805d
lea ecx, [ebp - 0x2c]
call fcn.00418c2a
push dword [esi]
push 0x2c6ca
push 1
push dword [edi + 0x58]
call ebx
xor eax, eax
cmp dword [ebp - 0x38], eax
mov dword [ebp - 0x14], eax
jle 0x424d4a
jmp 0x424d2c
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 + 0x58]
call ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jl 0x424d29
push 0x805a
lea ecx, [ebp - 0x2c]
call fcn.00418c2a
mov esi, dword [esi]
mov edi, dword [edi + 0x58]
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.00418c16
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004ce4e6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4265d6
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
cmp edi, ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
jne 0x426672
lea eax, [ebp - 4]
push eax
push str.PPStream.TSR
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42666d
lea eax, [ebp - 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push ebx
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x426660
cmp dword [ebp + 8], 2
je 0x426650
cmp dword [ebp + 8], 1
jne 0x426660
mov eax, dword [ebp - 8]
lea edi, [ebp - 0x10c]
mov byte [ebp + eax - 0x10c], bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x426672
mov edi, str.tsr.dll
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x1c], eax
je 0x426690
push str.Initialize
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x4266a2
push str.Uninitialize
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x4266e8
push str.setstringvalue
push eax
call edi
push str.setintvalue
mov dword [esi + 8], eax
push dword [esi + 0x1c]
call edi
push str.getstringvalue
mov dword [esi + 0xc], eax
push dword [esi + 0x1c]
call edi
push str.getintvalue
mov dword [esi + 0x10], eax
push dword [esi + 0x1c]
call edi
push str.getthreadinfo
mov dword [esi + 0x14], eax
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x4266f0
call eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42693e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4df9fc
call fcn.00471fb4
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 0x4269b3
lea eax, [ebp - 0x1c]
push eax
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, esi
je 0x426987
mov dword [ebp - 0x18], esi
jmp 0x426996
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 0x4269c2
push str.ppStream
push dword [ebp + 8]
call fcn.004720b0
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 0x4269da
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 0x426a33
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 0x426ade
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, bind
push str..htm
push edi
call fcn.004269da
add esp, 0xc
xor ebx, ebx
test eax, eax
jne 0x426bee
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.004269da
add esp, 0xc
test eax, eax
jne 0x426bee
lea eax, [ebp - 0x25c]
push 0x51bb5c
push eax
call fcn.0047455a
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x426b89
lea eax, [ebp - 0x25c]
push 0x51ac40
push eax
call fcn.00473790
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x426b89
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax - 0x25d]
jmp 0x426b8b
mov byte [edi], bl
push 0x519830
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.004721c0
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [ebp - 0x54], esi
call fcn.004721c0
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 0x426bee
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 0x426c0b
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 0x427ac9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 0x94
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004721c0
add esp, 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x427b07
xor eax, eax
leave
ret
cmp dword [ebp - 0x84], 1
je 0x427b03
cmp dword [ebp - 0x90], 6
sbb eax, eax
inc eax
leave
ret
Function at 0x427e05
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
lea eax, [ebp - 0x10c]
push dword [ebp + 8]
mov esi, ecx
push str.CLSID_sInprocServer32
push eax
call fcn.0047291d
add esp, 0xc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10c]
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x427e5f
push eax
mov ecx, esi
call fcn.00427e9d
push eax
lea ecx, [ebp + 0xc]
call fcn.004d2cf7
lea ecx, [ebp + 0xc]
call fcn.004d2c89
xor eax, eax
jmp 0x427e98
push 1
lea eax, [ebp - 8]
pop esi
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 4]
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push eax
push 0
push 0x527a08
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x427e8d
xor esi, esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8

Function at 0x4284cd
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4dfbb0
call fcn.00471fb4
sub esp, 0x124
push ebx
push esi
mov esi, ecx
xor eax, eax
mov ecx, dword [esi + 0x68]
push edi
lea ebx, [esi + 0x68]
mov dword [ebp - 0x20], esi
cmp dword [ecx - 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
jne 0x4285dd
lea ecx, [ebp - 0x130]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x4285dd
and dword [ebp - 0x1c], 0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
lea eax, [ebp - 0x130]
push esi
push edi
push dword [ebp - 0x2c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x519a30
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x10]
mov cx, word [eax + 0x10]
mov edi, dword [eax + 0x14]
mov ax, word [eax + 0x14]
mov word [ebp - 0x22], ax
mov eax, dword [0x51f320]
shr esi, 0x10
mov word [ebp - 0x26], cx
mov dword [ebp - 0x10], eax
shr edi, 0x10
and dword [ebp - 4], 0
push 0x809d
lea ecx, [ebp - 0x10]
call fcn.004d3c7d
movzx eax, word [ebp - 0x22]
push eax
movzx eax, di
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, si
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004ccbe3
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004d2c89
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
add esi, 0x64
mov ecx, dword [ebp + 8]
neg esi
sbb esi, esi
and esi, ebx
push esi
call fcn.004d29fe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4284de
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4dfbb0
call fcn.00471fb4
sub esp, 0x124
push ebx
push esi
mov esi, ecx
xor eax, eax
mov ecx, dword [esi + 0x68]
push edi
lea ebx, [esi + 0x68]
mov dword [ebp - 0x20], esi
cmp dword [ecx - 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
jne 0x4285dd
lea ecx, [ebp - 0x130]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x4285dd
and dword [ebp - 0x1c], 0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
lea eax, [ebp - 0x130]
push esi
push edi
push dword [ebp - 0x2c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x519a30
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x10]
mov cx, word [eax + 0x10]
mov edi, dword [eax + 0x14]
mov ax, word [eax + 0x14]
mov word [ebp - 0x22], ax
mov eax, dword [0x51f320]
shr esi, 0x10
mov word [ebp - 0x26], cx
mov dword [ebp - 0x10], eax
shr edi, 0x10
and dword [ebp - 4], 0
push 0x809d
lea ecx, [ebp - 0x10]
call fcn.004d3c7d
movzx eax, word [ebp - 0x22]
push eax
movzx eax, di
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, si
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004ccbe3
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004d2c89
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
add esi, 0x64
mov ecx, dword [ebp + 8]
neg esi
sbb esi, esi
and esi, ebx
push esi
call fcn.004d29fe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x428c50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x988
mov dx, word [0x527a20]
push esi
mov esi, 0xff
push edi
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x586]
mov word [ebp - 0x588], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x986]
mov word [ebp - 0x988], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x186]
mov word [ebp - 0x188], dx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x188]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x188]
push 0x5c
push eax
call fcn.00472190
push str.ppslogin.txt
push eax
call fcn.004720a0
add esp, 0x10
cmp dword [ebp + 0xc], 0
push 0x51bfe8
je 0x428ce7
push dword [ebp + 0xc]
jmp 0x428cee
lea eax, [ebp - 0x188]
push eax
call fcn.00472cbc
pop ecx
mov esi, eax
pop ecx
lea eax, [ebp - 4]
push eax
call fcn.00472841
lea eax, [ebp - 4]
push eax
call fcn.00475558
pop ecx
test eax, eax
pop ecx
jne 0x428d23
lea eax, [ebp - 0x84]
push 0x519ca0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x428d3d
push eax
push str._B__d__y__H:_M:_S
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.00474ca6
add esp, 0x10
test esi, esi
je 0x428d63
lea eax, [ebp - 0x84]
push eax
push 0x51bfd0
push esi
call fcn.00474c6a
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push esi
call fcn.00474c2f
add esp, 0x18
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x588]
push dword [ebp + 0x10]
push eax
call fcn.00474bde
add esp, 0xc
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x988]
push 0x51bfc0
push eax
call fcn.0047291d
add esp, 0xc
lea eax, [ebp - 0x988]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
je 0x428dbf
push 0x51bfbc
push esi
call fcn.00474c6a
push esi
call fcn.004729ec
push esi
call fcn.0047296f
add esp, 0x10
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x42d0e0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
call fcn.00444251
test eax, eax
je 0x42d0f6
push 0
push 1
jmp 0x42d15a
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 0x42d160
push esi
push 0xc
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret
Function at 0x431d45
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 0x431db1
lea eax, [ebp - 0x140]
push eax
call fcn.00426915
test eax, eax
pop ecx
je 0x431db1
lea eax, [ebp - 0x140]
push str.update.exe
push eax
call fcn.004720b0
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 0x431dbf
push 5
push str.http:__www.ppStream.com_download_
call fcn.00426ade
pop ecx
pop ecx
pop esi
leave
ret 4