joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467df5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x467f0d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x467f0d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00482bd7
mov esi, eax
test esi, esi
je 0x467f0d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x467f0d
mov ecx, esi
call fcn.00467d60
cmp edi, eax
jge 0x467f0d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x467e93
mov dword [esp + 0x34], 1
jmp 0x467eee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x467f0d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00467290
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46bff0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46c056
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46c056
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46c037
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46c3e0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x46c418
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x46d0a0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46d0e9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46d560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046d110
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046d190
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046d190
lea ecx, [esi + 0xc]
call fcn.00481162
lea ecx, [esi + 0x10]
call fcn.00481162
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046e720
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046e720
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046e720
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004811d7
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004811d7
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48357b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4835b3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00481632
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048160a
jmp 0x4835bf
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x484c70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x484cb2
call fcn.0048ab43
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x484cb2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x484ca9
xor eax, eax
jmp 0x484cba
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00484cc0
pop edi
pop esi
pop ebx
ret 4

Function at 0x48b073
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48b0a1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48b0bf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048afd9
jmp 0x48b0bf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48b0bf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048afd9
test edi, edi
mov eax, edi
jne 0x48b0a9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x42ca1a
Capabilities:
Encode data using xor

Disassembly:
xchg byte [edx + 0x3b27be53], cl
push 0xc1bc4ce8
mov esp, 0x306b24c1
and eax, 0x6e5ee836
cmp ebp, dword [eax - 0x18]
dec esp
mov esp, 0x306b24c1
and eax, 0x6e5ee836
jo 0x42ca11
jns 0x42ca16
sub bl, byte [esi]
sar byte [ecx - 0x3ba01dbc], cl
out 9, al
sub dh, byte [ebp + 0x11]
jecxz 0x42ca48
jns 0x42ca89
or al, 0x38
fld dword ds:[edx - 0x86cf8ab]
pop eax
inc esp
cld
sbb eax, 0x141debc5
loope 0x42ca8b
sbb eax, 0x153fe114
scasd eax, dword es:[edi]
jb 0x42ca28
adc eax, 0xc8d872af
push edi
mov ebx, dword [edx + ecx*2]
enter 0xffffffffffff8b57, 0x1c
dec edx
inc esi
leave
xchg ecx, eax
clc
loopne 0x42ca8f
mov ebx, 0x129ef964
popal
jne 0x42ca68
adc dword [ebx + 0x7e], edx
test al, 0xc
or al, 0x59
cmp al, 0x6a
call 0x7f243ce5
fld xword [esi]
mov ch, byte [ebp + 0x5c]
arpl word [ecx - 0x1f], dx
pandn mm3, qword [ebx]
dec ecx
shl byte [esi - 0x75], cl
dec edi
dec ebp
in eax, 0x40
push esp
cwde
mov ebp, 0xcf88fd1f
lodsd eax, dword [esi]
push ebp
push edi
cli
push cs
movsb byte es:[edi], byte [esi]
leave
pushal
or esi, dword [ebx + 0x7a667820]
cmpsb byte [esi], byte es:[edi]
insd dword es:[edi], dx
test dword [ebx], 0x32ba92a7
iretd
iretd
Function at 0x4049b5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x409248
cmp edx, dword [eax]
je 0x4049d7
add eax, 8
inc ecx
cmp eax, 0x4092d8
jl 0x4049c8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x409248]
jne 0x404b05
mov eax, dword [0x40ba3c]
cmp eax, 1
je 0x404adf
test eax, eax
jne 0x404a08
cmp dword [0x409190], 1
je 0x404adf
cmp edx, 0xfc
je 0x404b05
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404a3f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00406690
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405d90
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404a82
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405d90
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4084f4
push edi
call fcn.00406bf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00406690
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004066a0
lea eax, [ebp - 0xa0]
push 0x4084d4
push eax
call fcn.004066a0
push dword [esi + 0x40924c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004066a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00406b5f
add esp, 0x2c
pop edi
jmp 0x404b05
lea eax, [ebp + 8]
lea esi, [esi + 0x40924c]
push 0
push eax
push dword [esi]
call fcn.00405d90
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40f8a0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a39f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.VNL_DeleteNetLibDatabase:
call fcn.00434640
mov edi, dword [ebp + 8]
push edi
push str.VNL_DeleteNetLibDatabase:_f__d
push 0x80
call fcn.004343f0
add esp, 0x10
test edi, edi
je 0x40f91c
xor esi, esi
lea esp, [esp]
xor eax, eax
push esi
push 0x466d00
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
lea eax, [ebp - 0x18]
push 0x14
push eax
mov byte [ebp - 0x18], 0
call fcn.00435280
add esp, 0x10
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040f770
inc esi
cmp esi, 0xa
jl 0x40f8e0
push 1
push edi
push str.SOFTWAREVMware__Inc.VMnetLibVMnetBridge
call fcn.00416cd0
push 0
push 0
push 0
push 0
call fcn.0040f4f0
mov esi, dword [section..rdata]
add esp, 0x1c
push str.SOFTWAREVMware__Inc.VMnetLib
push 0x80000002
mov edi, eax
call esi
test eax, eax
je 0x40f95a
cmp eax, 2
je 0x40f95a
xor ebx, ebx
jmp 0x40f95f
mov ebx, 1
push 0x469c1c
push 0x80000002
call esi
test eax, eax
je 0x40f978
cmp eax, 2
je 0x40f978
xor eax, eax
jmp 0x40f97d
mov eax, 1
push eax
push ebx
push edi
push str.VNL_DeleteNetLibDatabase:_result_of_operations_is__d__d__d
push 0x20
call fcn.004343f0
add esp, 0x14
call fcn.00434690
test edi, edi
je 0x40f9b4
test ebx, ebx
je 0x40f9b4
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040506e
mov esp, ebp
pop ebp
ret 4
Function at 0x412f70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4a39f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00405300
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov word [ebp - 0x216], ax
xor edx, edx
mov eax, ecx
add esp, 0xc
sub eax, 0x5000
mov word [ebp - 0x218], dx
je 0x412fd9
sub eax, 6
je 0x413016
push ecx
push str.VNLAddFileToUninstallList:_Case_for_product__u_needs_to_be_implemented
push 1
call fcn.004343f0
add esp, 0xc
call fcn.004105b0
test eax, eax
je 0x413047
push str.VNLAddFileToUninstallList:_writing_uninstall_keys_for_VMware_Workstation
push 0x20
call fcn.004343f0
push 0x46a7b4
push 0x46a584
push str.SOFTWARE_S_SPrivateUninstallFiles
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.00457d45
add esp, 0x1c
jmp 0x4130ab
push str.VNLAddFileToUninstallList:_writing_uninstall_keys_for_USB
push 0x20
call fcn.004343f0
push 0x46a6b8
push 0x46a584
push str.SOFTWARE_S_SPrivateUninstallFiles
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.00457d45
add esp, 0x1c
jmp 0x4130ab
call fcn.00410660
test eax, eax
je 0x413081
push str.VNLAddFileToUninstallList:_writing_uninstall_keys_for_player
push 0x20
call fcn.004343f0
push str.VMware_Player
push 0x46a584
push str.SOFTWARE_S_SPrivateUninstallFiles
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.00457d45
add esp, 0x1c
jmp 0x4130ab
push str.VNLAddFileToUninstallList:_writing_uninstall_keys_for_product_branch
push 2
call fcn.004343f0
push str.SOFTWAREVMware__Inc.VMware_WorkstationPrivate
push str._SUninstallFiles
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.00457d45
add esp, 0x18
push 0
lea edx, [ebp - 0x214]
push edx
push 7
lea eax, [ebp - 0x210]
push eax
push 0x80000002
call fcn.00410720
mov esi, eax
add esp, 0x14
test esi, esi
je 0x413100
call dword [0x4651b0]
lea ecx, [ebp - 0x210]
push ecx
push eax
push esi
push str.VNLAddFileToUninstallList:_Could_not_create_uninstall_files_path:_0x_08x_0x_08x__S
push 1
call fcn.004343f0
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
push 2
lea edx, [ebp - 0x218]
push edx
push 1
push 0
push edi
push eax
call dword [0x465094]
mov esi, eax
test esi, esi
je 0x413158
call dword [0x4651b0]
push edi
push eax
push esi
push str.VNLAddFileToUninstallList:_Could_not_set_uninstall_key_for_file:_0x_08x_0x_08x__s
push 1
call fcn.004343f0
mov ecx, dword [ebp - 0x214]
add esp, 0x14
push ecx
call dword [0x4650d0]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
push edi
push str.VNLAddFileToUninstallList:_set_uninstall_key:__S
push 0x10
call fcn.004343f0
mov edx, dword [ebp - 0x214]
add esp, 0xc
push edx
call dword [0x4650d0]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0040506e
mov esp, ebp
pop ebp
ret
Function at 0x414960
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x4a39f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
lea ecx, [ebp - 0x27c]
push ecx
push esi
lea edx, [ebp - 0x288]
push edx
push esi
push esi
push 4
push 4
push edi
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x27c], esi
call dword [0x46506c]
cmp eax, esi
je 0x4149cf
push eax
push edi
push str.VNLSetKeyDaclInheritance:_couldnt_read_dacl_for__S___08x_
push 1
call fcn.004343f0
add esp, 0x10
jmp 0x414b72
mov eax, dword [ebp - 0x288]
push eax
call dword [0x4650b8]
test eax, eax
jne 0x4149f5
push edi
push str.VNLSetKeyDaclInheritance:_got_invalid_dacl_for__S
push 1
call fcn.004343f0
add esp, 0xc
jmp 0x414b72
mov ecx, dword [ebp - 0x27c]
push ecx
call dword [0x465070]
test eax, eax
jne 0x414a1b
push edi
push str.VNLSetKeyDaclInheritance:_got_invalid_sd_for__S
push 1
call fcn.004343f0
add esp, 0xc
jmp 0x414b72
mov edx, dword [ebp - 0x288]
push esi
push edx
push esi
push esi
mov esi, dword [ebp + 0x14]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x60000000
add eax, 0x20000000
or eax, 4
push eax
push 4
push edi
call dword [0x46508c]
test eax, eax
je 0x414a6e
mov ecx, 0x465a90
test esi, esi
jne 0x414a57
mov ecx, 0x46e308
push eax
push edi
push ecx
push str.VNLSetKeyDaclInheritance:_failed_to_set__sprotected_inheritance_on__S___08x_
push 1
call fcn.004343f0
add esp, 0x14
jmp 0x414b72
cmp dword [ebp + 0x18], 0
je 0x414b68
mov edx, dword [ebp - 0x278]
lea ecx, [ebp - 0x278]
push ecx
push 8
push 0
push edx
push ebx
call dword [0x4650cc]
test eax, eax
je 0x414aab
push eax
push edi
push str.VNLSetKeyDaclInheritance:_could_not_open__S___08x_
push 1
call fcn.004343f0
add esp, 0x10
jmp 0x414b72
mov edx, dword [ebp - 0x278]
mov ebx, dword [0x465090]
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x68]
push ecx
push esi
push edx
mov dword [ebp - 0x280], 0x32
call ebx
test eax, eax
jne 0x414b4d
lea ebx, [ebx]
lea eax, [ebp - 0x68]
push eax
push edi
push 0x46c138
lea ecx, [ebp - 0x274]
push 0x105
push ecx
call fcn.00457d45
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push edx
push eax
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x274]
push ecx
lea edx, [ebp - 0x68]
push edx
push eax
call fcn.00414960
add esp, 0x28
test eax, eax
je 0x414b72
mov eax, dword [ebp - 0x278]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0x68]
push edx
inc esi
push esi
push eax
mov dword [ebp - 0x280], 0x32
call ebx
test eax, eax
je 0x414ae0
cmp eax, 0x103
je 0x414b68
push eax
push edi
push esi
push str.VNLSetKeyDaclInheritance:_failed_to_enumerate_subkey__u_for__S___08x_
push 1
call fcn.004343f0
add esp, 0x14
jmp 0x414b72
mov dword [ebp - 0x284], 1
mov eax, dword [ebp - 0x27c]
pop edi
pop esi
pop ebx
test eax, eax
je 0x414b86
push eax
call dword [0x465254]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x284]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
Function at 0x415e00
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2820
call fcn.00408820
mov eax, dword [0x4a39f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x2810
lea eax, [ebp - 0x2814]
push ebx
push eax
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x2818], ebx
call fcn.00405300
add esp, 0xc
lea ecx, [ebp - 0x2820]
push ecx
push esi
push ebx
call dword [0x46509c]
test eax, eax
jne 0x415e77
call dword [0x4651b0]
push eax
push str.TokenHasPrivilege:_could_not_get_privilege_LUID:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x2818]
push edx
push 0x2810
lea eax, [ebp - 0x2814]
push eax
push 3
push edi
call dword [0x46504c]
test eax, eax
jne 0x415eb9
push str.TokenHasPrivilege:_could_not_obtain_token_privilege_information
push 1
call fcn.004343f0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x2814]
xor ecx, ecx
test edx, edx
jbe 0x415ee8
mov esi, dword [ebp - 0x281c]
mov edi, dword [ebp - 0x2820]
lea eax, [ebp - 0x280c]
cmp dword [eax - 4], edi
jne 0x415ee0
cmp dword [eax], esi
je 0x415f10
inc ecx
add eax, 0xc
cmp ecx, edx
jb 0x415ed7
mov eax, 0x466824
push eax
push str.TokenHasPrivilege:_Done_scanning_for_privilege__result_is__s
push 2
call fcn.004343f0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040506e
mov esp, ebp
pop ebp
ret
mov ebx, 1
mov eax, 0x46682c
jmp 0x415eed
Function at 0x415f20
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2824
call fcn.00408820
mov eax, dword [0x4a39f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push 0x280c
lea eax, [ebp - 0x2810]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x281c], ebx
mov dword [ebp - 0x2824], ebx
mov dword [ebp - 0x2820], ebx
mov byte [ebp - 0x2818], bl
mov byte [ebp - 0x2817], bl
mov byte [ebp - 0x2816], bl
mov byte [ebp - 0x2815], bl
mov byte [ebp - 0x2814], bl
mov byte [ebp - 0x2813], 5
call fcn.00405300
add esp, 0xc
lea ecx, [ebp - 0x281c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea edx, [ebp - 0x2818]
push edx
call dword [0x4650ac]
test eax, eax
jne 0x415fd8
call dword [0x4651b0]
push eax
push str.TokenHasAdminGroup:_could_not_create_administrators_SUID:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2824]
push eax
push 0x280c
lea ecx, [ebp - 0x2810]
push ecx
push 2
push esi
call dword [0x46504c]
test eax, eax
jne 0x416026
push str.TokenHasAdminGroup:_could_not_obtain_token_privilege_information
push 1
call fcn.004343f0
mov edx, dword [ebp - 0x281c]
add esp, 8
push edx
call dword [0x4650b4]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
push edi
xor edi, edi
cmp dword [ebp - 0x2810], ebx
jbe 0x416085
mov ebx, dword [0x465048]
lea esi, [ebp - 0x2808]
lea ecx, [ecx]
mov eax, dword [ebp - 0x281c]
mov ecx, dword [esi - 4]
push eax
push ecx
call ebx
test eax, eax
je 0x416079
test byte [esi], 0x10
je 0x416065
push str.TokenHasAdminGroup:_group_present_for_deny_only
push 2
call fcn.004343f0
add esp, 8
test byte [esi], 4
jne 0x4160c0
push str.TokenHasAdminGroup:_group_is_not_enabled
push 2
call fcn.004343f0
add esp, 8
inc edi
add esi, 8
cmp edi, dword [ebp - 0x2810]
jb 0x416040
mov esi, dword [ebp - 0x2820]
mov eax, 0x466824
push eax
push str.TokenHasAdminGroup:_Done_scanning__result_is__s
push 2
call fcn.004343f0
mov edx, dword [ebp - 0x281c]
add esp, 0xc
push edx
call dword [0x4650b4]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040506e
mov esp, ebp
pop ebp
ret
mov esi, 1
mov eax, 0x46682c
jmp 0x416090
Function at 0x41a850
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4a39f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x21c], eax
test esi, esi
je 0x41aa15
test eax, eax
je 0x41aa15
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41aa18
cmp dword [ebp + 8], 0
jne 0x41a8b6
cmp ecx, 4
je 0x41a8b6
push ecx
push str.SetDHCPServiceParameter:_DWORD_selected__but_length_isnt_currect:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov dword [ebp - 0x218], 0
mov word [ebp - 0x210], ax
call fcn.00405300
add esp, 0xc
mov edi, str.SYSTEMCurrentControlSetServicesVMnetDHCPParameters
test ebx, ebx
je 0x41a909
push ebx
push edi
push 0x46c138
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.00457d45
add esp, 0x14
lea edi, [ebp - 0x210]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 7
push edi
push 0x80000002
call fcn.00410720
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x41a957
call dword [0x4651b0]
push edi
push eax
push ebx
push str.SetDHCPServiceParameter:_Could_not_create_open_DHCP_REG_PATH_key:_0x_08x_0x_08x__S
push 1
call fcn.004343f0
add esp, 0x14
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x218], 1
push edi
jne 0x41a96a
push str.SetDHCPServiceParameter:_created_new_key:__S
push 2
jmp 0x41a971
push str.SetDHCPServiceParameter:_opened_existing_key:__S
push 0x20
call fcn.004343f0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
add esp, 0xc
test ecx, ecx
je 0x41a985
add eax, eax
mov edx, dword [ebp - 0x21c]
push eax
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x214]
sete al
push edx
lea eax, [eax + eax + 2]
push eax
push 0
push esi
push ecx
call dword [0x465094]
test eax, eax
je 0x41a9e3
call dword [0x4651b0]
push eax
push esi
push str.SetDHCPServiceParameter:_Could_not_set_key_for_DHCP_parameter__S:_0x_08x
push 1
call fcn.004343f0
mov edx, dword [ebp - 0x214]
add esp, 0x10
push edx
call dword [0x4650d0]
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
push esi
push str.SetDHCPServiceParameter:_set_key_for_DHCP__S
push 0x10
call fcn.004343f0
mov eax, dword [ebp - 0x214]
add esp, 0xc
push eax
call dword [0x4650d0]
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push esi
push str.SetDHCPServiceParameter:_invalid_parameters:_0x_08x_0x_08x_0x_08x
push 1
call fcn.004343f0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040506e
mov esp, ebp
pop ebp
ret