joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ca60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e64e9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x48]
mov dword [esp + 0x14], 0
xorps xmm0, xmm0
push 0x133c
push dword [ecx + 0x30]
mov dword [esp + 0x18], esi
movdqu xmmword [esp + 0x24], xmm0
mov dword [esp + 0x20], 8
movq qword [esp + 0x34], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47cb01
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47cb01
xor ecx, ecx
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00403000
mov dword [esp + 0x38], 0
jmp 0x47cb18
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x34
ret 8
Function at 0x47fa50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6c02
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
push 0
mov dword [esp + 0x10], esi
call fcn.004c4870
mov dword [esp + 0x2c], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [esp + 0x2c], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [esp + 0x2c], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [esp + 0x2c], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [esp + 0x2c], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [esp + 0x2c], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x2c], 6
test edi, edi
jne 0x47fb28
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], str.bad_locale_name
push eax
lea ecx, [esp + 0x14]
call fcn.004c73c3
mov byte [esp + 0x2c], 7
mov dword [esp + 0x10], vtable.std::runtime_error.0
mov byte [esp + 0x2c], 6
lea eax, [esp + 0x10]
push 0x50be0c
push eax
call fcn.004c975b
push edi
push esi
call fcn.004c469f
add esp, 8
mov dword [esp + 0x2c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x24
ret 4

Function at 0x47ffd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6d78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::_Facet_base.0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x30]
mov dword [esi], vtable.std::locale::facet.0
mov dword [esi + 4], eax
mov dword [esp + 0x24], 1
mov dword [esi], vtable.std::ctype_base.0
mov dword [esp + 0x24], 2
lea eax, [esp + 0xc]
push eax
mov dword [esi], vtable.std::ctype_char_.0
call fcn.004c49bc
add esp, 4
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 8], xmm0
mov dword [esp + 0x24], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8
Function at 0x4803a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6e49
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 0x30], 1
cmp dword [esp + 0x50], 0
je 0x4803f1
push 2
push 0x4fdffc
lea ecx, [esp + 0x48]
call fcn.00482160
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
call fcn.00480330
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x40]
push 0xffffffffffffffff
push 0
push eax
call fcn.004820b0
mov byte [esp + 0x30], 1
cmp dword [esp + 0x24], 0x10
jb 0x48042a
push dword [esp + 0x10]
call fcn.004c4eaa
add esp, 4
lea eax, [esp + 0x40]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
mov byte [esi], 0
call fcn.00482010
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
cmp dword [esp + 0x54], 0x10
jb 0x48047c
push dword [esp + 0x40]
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x4804b0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4e6e90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push 0xffffffffffffffff
push 0
push dword [esp + 0x5c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00402bf0
mov dword [esp + 0x4c], 0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004803a0
add esp, 0x20
mov dword [esp + 0x34], 1
cmp dword [eax + 0x14], 0x10
jb 0x480535
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [esp + 0x3c]
push eax
call fcn.004c73c3
mov byte [esp + 0x34], 2
mov dword [esi], vtable.std::runtime_error.0
mov byte [esp + 0x34], 4
cmp dword [esp + 0x24], 0x10
jb 0x480568
push dword [esp + 0x10]
call fcn.004c4eaa
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], eax
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret 0xc
Function at 0x4808e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7019
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [ecx + 0x30]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x480c70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4e717b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
cmp dword [edx + 0x14], 8
mov esi, dword [esp + 0xd4]
jb 0x480cb9
mov edx, dword [edx]
push edx
push 0x3f5
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x480d74
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x480d74
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x480d5c
push 0xa8
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004cb700
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x480d18
mov eax, dword [esi]
jmp 0x480d1a
mov eax, esi
sub esp, 0xc
lea ecx, [esp + 0x20]
push eax
call fcn.00481380
mov dword [esp + 0xc8], 0
lea ecx, [esp + 0x14]
push 0
push edi
push ebx
call fcn.00481240
lea ecx, [esp + 0x14]
call fcn.00481520
mov dword [esp + 0xc8], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00480da0
cmp edi, 4
jbe 0x480d74
mov ecx, esi
call fcn.00496120
cmp eax, edi
jne 0x480d74
test edx, edx
jne 0x480d74
mov al, 1
jmp 0x480d76
xor al, al
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.004c4eaf
add esp, 0xbc
ret
Function at 0x481380
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4e7292
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
lea eax, [edi + 0x60]
mov dword [edi], 0x4fe03c
mov dword [esp + 0x14], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [esp + 0x20], 0
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x20], 1
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0xc], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004822f0
mov dword [esp + 0x20], 4
mov eax, dword [edi]
mov dword [esp + 0x14], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00482a80
mov byte [esp + 0x20], 5
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x4c], 0
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x70dfb4]
mov dword [esi + 0x50], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
mov byte [esp + 0x20], 6
sub esp, 8
mov ecx, esi
push dword [esp + 0x30]
call fcn.004823f0
test eax, eax
jne 0x4814f8
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4814e6
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x4814f8
push 0
call fcn.00480800
mov dword [esp + 0x20], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0x10
Function at 0x482620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e73a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4827b3
cmp byte [ebx + 0x45], 0
je 0x4827b3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x482680
xor al, al
jmp 0x4827b5
mov ecx, 0xf
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
jmp 0x4826e0
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x48271b
dec eax
je 0x48271f
sub eax, 2
je 0x48277d
xor bl, bl
jmp 0x48277f
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x48275e
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004c7ae3
add esp, 0x10
cmp esi, eax
jne 0x482717
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x48277d
test esi, esi
jne 0x4826e0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00482240
jmp 0x4826cf
mov bl, 1
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x48279a
push dword [esp + 0x18]
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0x2c], 0xf
mov al, bl
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jmp 0x4827b5
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c4eaf
mov esp, ebp
pop ebp
ret
Function at 0x486770
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e7a72
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x238]
xor eax, eax
mov ebx, dword [esp + 0x23c]
push 0x208
mov dword [esp + 0x14], 0
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push eax
mov dword [esp + 0x20], edi
call fcn.004cb700
add esi, 4
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4867eb
mov esi, dword [esi]
cmp dword [ebx + 0x14], 8
jb 0x4867f3
mov ebx, dword [ebx]
push esi
push 0x104
lea eax, [esp + 0x20]
push eax
push 0x4f3da4
push ebx
push str.RCPackagesIni
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [esp + 0x18], ax
jne 0x48682d
xor ecx, ecx
jmp 0x486843
lea ecx, [esp + 0x18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486834
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.00403120
mov dword [esp + 0x230], 0
mov dword [esp + 0x10], 1
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x224
ret 8

Function at 0x4868d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
push edi
xor eax, eax
mov edi, edx
push 0x40e
push eax
mov word [esp + 0x14], ax
mov esi, ecx
lea eax, [esp + 0x16]
push eax
call fcn.004cb700
add esp, 0xc
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x486940
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x486959
mov eax, dword [esp + 8]
test eax, eax
je 0x486940
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x418
ret
cmp word [esp + 0xc], 0
jne 0x486965
xor ecx, ecx
jmp 0x48697f
lea ecx, [esp + 0xc]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486970
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00403120
mov eax, dword [esp + 8]
test eax, eax
je 0x48699b
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x41c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.004c4eaf
add esp, 0x418
ret
Function at 0x486d50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e7b08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
jne 0x486d98
xor al, al
jmp 0x486e1e
lea esi, [edi + 4]
mov dword [esp + 0x18], esi
test esi, esi
je 0x486db0
mov eax, dword [esi]
test eax, eax
je 0x486db0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
push ebp
push dword [edi]
call fcn.00486e40
mov edi, eax
test edi, edi
jne 0x486dca
xor bl, bl
jmp 0x486dfb
push edi
call fcn.004281d0
add esp, 4
push edi
sub eax, 0x64
je 0x486df2
dec eax
je 0x486de8
call fcn.004276c0
add esp, 4
xor bl, bl
jmp 0x486dfb
call fcn.004276c0
add esp, 4
jmp 0x486df9
mov ecx, ebx
call fcn.00487070
mov bl, 1
mov dword [esp + 0x28], 0xffffffff
test esi, esi
je 0x486e1c
mov eax, dword [esi]
test eax, eax
je 0x486e14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], 0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x18
ret 8
Function at 0x4871b0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4e7b87
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x660]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov ebp, eax
mov dword [esp + 0x28], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x48721b
xor al, al
jmp 0x48738d
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x48737c
nop
cmp dword [esp + 0x28], ebp
je 0x487368
xor eax, eax
push 0x206
push eax
mov word [esp + 0x45c], ax
lea eax, [esp + 0x45e]
push eax
call fcn.004cb700
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x464]
push 0x104
push eax
call fcn.004c7330
xor eax, eax
push 0x206
push eax
mov word [esp + 0x26c], ax
lea eax, [esp + 0x26e]
push eax
call fcn.004cb700
push esi
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.004c7330
lea eax, [esp + 0x27c]
push eax
call fcn.004e4808
mov esi, eax
lea eax, [esp + 0x488]
push eax
call fcn.004e4808
add esp, 0x38
lea ecx, [ecx]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4872e6
test cx, cx
je 0x4872e2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4872e6
add eax, 4
add esi, 4
test cx, cx
jne 0x4872c0
xor eax, eax
jmp 0x4872eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x487364
mov eax, dword [edi + 4]
lea ecx, [esp + 0x28]
cmp ecx, eax
jae 0x487346
mov ecx, dword [edi]
lea edx, [esp + 0x28]
cmp ecx, edx
ja 0x487346
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [edi + 8]
jne 0x487318
push ecx
mov ecx, edi
call fcn.00487710
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x668], 0
test ecx, ecx
je 0x487339
mov eax, dword [eax + esi*4]
mov dword [ecx], eax
mov dword [esp + 0x668], 0xffffffff
jmp 0x487360
cmp eax, dword [edi + 8]
jne 0x487353
push ecx
mov ecx, edi
call fcn.00487710
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x487360
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
add dword [edi + 4], 4
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x487230
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi]
xor eax, eax
cmp ecx, dword [edi + 4]
setne al
mov ecx, dword [esp + 0x660]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x658
ret
Function at 0x4873c0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4e7bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x2c], 1
lea ecx, [esp + 0x34]
cmp dword [esp + 0x48], 8
lea edx, [esp + 0x14]
cmovae ecx, dword [esp + 0x34]
call fcn.004871b0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp ebp, eax
jne 0x48744f
xor bl, bl
jmp 0x48748b
mov ebx, eax
xor ecx, ecx
sub ebx, ebp
xor edi, edi
add ebx, 3
mov esi, ebp
shr ebx, 2
cmp ebp, eax
cmova ebx, ecx
test ebx, ebx
je 0x487489
push dword [esi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x487481
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
inc edi
add esi, 4
cmp edi, ebx
jne 0x487468
mov bl, 1
mov byte [esp + 0x2c], 0
test ebp, ebp
je 0x4874b5
push ebp
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x4874d0
push dword [esp + 0x34]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov word [esp + 0x34], ax
mov al, bl
mov dword [esp + 0x44], 0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x1c
ret
Function at 0x487510
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e7c10
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x40], 0
xor esi, esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x487560
push 9
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x20]
push str.Software_
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call fcn.00403120
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x1c]
push 0x24
push str.MicrosoftWindowsCurrentVersionRun
call fcn.004794f0
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x20]
mov edi, esi
cmovae eax, dword [esp + 0x20]
neg edi
push 0x20006
push 0
sbb edi, edi
push eax
add edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call ebp
test eax, eax
je 0x487624
push 0x15
push str.SoftwareWow6432Node_
lea ecx, [esp + 0x24]
call fcn.00403120
push 0x24
push str.MicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 0x24]
call fcn.004794f0
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x18]
push ecx
push 0x20006
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push 0
push eax
push edi
call ebp
test eax, eax
jne 0x487642
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x48764d
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48764d
push eax
call ebx
mov byte [esp + 0x40], 0
cmp dword [esp + 0x30], 8
jb 0x487665
push dword [esp + 0x1c]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
inc esi
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp esi, 2
jl 0x487560
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x4876a1
push dword [esp + 0x48]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x30
ret