joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2888
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
add ecx, 8
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp ecx, eax
je 0x423583
push 0xffffffffffffffff
push 0
push eax
call fcn.00424b00
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00431430
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftRPXUuid
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4235db
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push 1
push 0
push str.RpxJToken
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4235f9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00424d00
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
cmp eax, 0x10
jb 0x423622
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00424d60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret 0x18
Function at 0x42c400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a363a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.00495c8d
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x42c4c0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00556d4d
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x611158
push eax
call fcn.00557b83
push edi
push esi
call fcn.00495f81
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret 4
Function at 0x42e8b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3788
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x42e9ed
cmp byte [ebx + 0x3e], 0
je 0x42e9ed
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x42e914
xor al, al
jmp 0x42e9ef
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042e6e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
nop dword [eax]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42e97e
sub eax, 1
je 0x42e982
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x42e9d5
xor bl, bl
jmp 0x42e9d7
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x42e9b7
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0056cb90
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x42e97a
cmp byte [ebx + 0x3e], 0
je 0x42e9d5
test esi, esi
jne 0x42e940
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004293f0
jmp 0x42e939
mov bl, 1
cmp ecx, 0x10
jb 0x42e9e9
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00424d60
mov al, bl
jmp 0x42e9ef
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret
Function at 0x42eba0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3076
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x616dec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0055431a
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00495e7e
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4310b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3b5a
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xdc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x431122
mov eax, dword [esi]
jmp 0x431124
mov eax, esi
xor ecx, ecx
push 1
mov word [eax], cx
mov ecx, esi
push 0x5ff260
call fcn.00424710
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0x80
push 3
push 0
push 1
push closesocket
push eax
mov dword [ebp - 0xdc], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x4311c7
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 0x5fcca4
lea eax, [ebp - 0xd8]
push 0x64
push eax
call fcn.004306c0
add esp, 0x10
cmp word [ebp - 0xd8], 0
jne 0x431199
xor ecx, ecx
jmp 0x4311b1
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4311a2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
call fcn.00424710
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x4311dc
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00424d00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret
Function at 0x431550
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3c29
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x3c], esi
mov dword [esi + 0x10], 0
jb 0x4315b5
mov eax, dword [esi]
jmp 0x4315b7
mov eax, esi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, esi
push 0x5fd6c8
call fcn.00424710
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x30], ax
xorps xmm0, xmm0
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 1
push eax
movups xmmword [ebp - 0x2e], xmm0
mov dword [ebp - 0x34], 0x10
movq qword [ebp - 0x1e], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x431636
cmp word [ebp - 0x30], 0
jne 0x431619
xor ecx, ecx
lea eax, [ebp - 0x30]
push ecx
push eax
jmp 0x43163d
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431620
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
jmp 0x43163d
push 7
push 0x5ff2e8
mov ecx, esi
call fcn.00424710
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret
Function at 0x431660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x53c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431822
push ebx
lea eax, [ebp - 0x118]
push str._sConnection
push eax
call fcn.00433ec0
add esp, 0xc
mov dword [ebp - 0x51c], 0x400
lea ecx, [ebp - 0x534]
mov dword [ebp - 0x520], 0xf
mov dword [ebp - 0x524], 0
mov byte [ebp - 0x534], 0
push 0
push 0x5fcbc0
call fcn.00424a00
lea eax, [ebp - 0x538]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x53c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4317fc
lea eax, [ebp - 0x51c]
mov dword [ebp - 0x51c], 0x400
push eax
lea eax, [ebp - 0x518]
push eax
push 0
push 0
push str.PnpInstanceID
push dword [ebp - 0x538]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [ebp - 0x518], 0
jne 0x431771
xor ecx, ecx
jmp 0x431789
lea ecx, [ebp - 0x518]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431780
sub ecx, edx
push ecx
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x534]
call fcn.00424a00
cmp dword [ebp - 0x520], 0x10
lea eax, [ebp - 0x534]
push 3
cmovae eax, dword [ebp - 0x534]
push 0x5ff368
push eax
call fcn.0056e8b0
add esp, 0xc
test eax, eax
jne 0x4317fc
push dword [ebp - 0x53c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x538]
call esi
mov eax, dword [ebp - 0x520]
cmp eax, 0x10
jb 0x4317f8
inc eax
lea ecx, [ebp - 0x534]
push eax
push dword [ebp - 0x534]
call fcn.00424d60
mov al, 1
jmp 0x43182c
push dword [ebp - 0x538]
call esi
mov eax, dword [ebp - 0x520]
cmp eax, 0x10
jb 0x431822
inc eax
lea ecx, [ebp - 0x534]
push eax
push dword [ebp - 0x534]
call fcn.00424d60
push dword [ebp - 0x53c]
call esi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret
Function at 0x432180
Capabilities:
Get domain information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3d89
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x10], 0
jb 0x4321e6
mov eax, dword [esi]
jmp 0x4321e8
mov eax, esi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, esi
push 0x5fd6c8
call fcn.00424710
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 1
push 0
mov dword [ebp - 0x18], 1
call dword [sym.imp.NETAPI32.dll_DsRoleGetPrimaryDomainInformation]
test eax, eax
je 0x432223
push 7
push str.UnKnown
jmp 0x432271
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x43224d
mov edx, dword [eax + 8]
cmp word [edx], 0
je 0x432253
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432240
jmp 0x43226b
cmp word [edx], 0
jne 0x432257
xor ecx, ecx
jmp 0x43226f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432260
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00424710
push dword [ebp - 0x14]
call dword [sym.imp.NETAPI32.dll_DsRoleFreeMemory]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret

Function at 0x4322a0
Capabilities:
Get domain information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3d89
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x10], 0
jb 0x432306
mov eax, dword [esi]
jmp 0x432308
mov eax, esi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, esi
push 0x5fd6c8
call fcn.00424710
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 1
push 0
mov dword [ebp - 0x18], 1
call dword [sym.imp.NETAPI32.dll_DsRoleGetPrimaryDomainInformation]
test eax, eax
je 0x432343
push 7
push str.UnKnown
jmp 0x432376
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x432356
push 5
push str.Local
jmp 0x432376
cmp word [edx], 0
jne 0x432360
xor ecx, ecx
jmp 0x432374
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432365
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00424710
push dword [ebp - 0x14]
call dword [sym.imp.NETAPI32.dll_DsRoleFreeMemory]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret
Function at 0x4323b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3de2
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x814], esi
mov dword [ebp - 0x820], esi
mov dword [ebp - 0x81c], 0
mov dword [ebp - 4], 2
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x432421
mov eax, dword [esi]
jmp 0x432423
mov eax, esi
xor ecx, ecx
push 4
mov word [eax], cx
mov ecx, esi
push 0x5fd6bc
call fcn.00424710
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x818]
push ecx
push 0x20019
lea eax, [ebp + 8]
mov dword [ebp - 0x81c], 1
cmovae eax, dword [ebp + 8]
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4324e1
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 0x400
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4324d5
cmp word [ebp - 0x810], ax
jne 0x4324ae
xor ecx, ecx
jmp 0x4324c6
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4324b7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00424710
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x4324f6
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00424d00
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x43251f
inc ecx
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.00424d00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret
Function at 0x432b30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
push 0
mov dword [ebp - 4], 0
or ebx, 0xffffffff
push 2
mov dword [ebp - 0x25c], 0x22c
mov dword [ebp - 0x2c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x260], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x432cd7
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x432cd7
mov dword [ebp - 0x30], fcn.0056e51e
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x238], ax
je 0x432c05
lea eax, [ebp - 0x238]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432bf6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x28]
call fcn.00424710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x14]
lea ebx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edi, 8
mov eax, dword [ebp - 0x18]
cmovae ecx, esi
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
cmovae ecx, esi
push ebx
call fcn.00434130
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp + 8]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0056e531
add esp, 0x10
test eax, eax
jne 0x432c9f
push dword [ebp - 0x254]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [ebp - 0x254]
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x264]
cmp dword [ebp - 0x2c], eax
je 0x432d16
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x432cb8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00424d00
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x432bd0
or ebx, 0xffffffff
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x432cf8
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00424d00
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 8
jb 0x432cd7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00424d00
jmp 0x432cd7
Function at 0x433010
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x616dec]
xor eax, esp
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoft
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43306c
push str.RPXUuid
push dword [esp + 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x43305d
push str.deleteUUID_OK
jmp 0x433062
push str.deleteUUID_Error
push 0
call fcn.0043b3c0
add esp, 8
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005540cc
mov esp, ebp
pop ebp
ret

Function at 0x433080
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0xc]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 8]
push 4
push ecx
push 4
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x4330fc
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00424d00
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
cmp eax, 8
jb 0x433125
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.00424d00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret

Function at 0x435140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3076
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x616dec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0055431a
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00495e7e
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret