joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b430
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ca8b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x56c36c]
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 - 0x2b0], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2a8]
push ecx
push 0
push 0
push 2
push eax
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a8], 0
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42b590
mov eax, dword [ebp - 0x2a8]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x2b8], ebx
test eax, eax
mov byte [ebp - 0x2b4], bl
mov esi, eax
cmovle esi, ecx
test esi, esi
cmovle esi, ecx
test esi, esi
jg 0x42b4c4
xor edi, edi
jmp 0x42b4e4
push esi
call fcn.0047fc8b
push 0
mov ebx, eax
call fcn.0047f232
mov eax, dword [ebp - 0x2a8]
add esp, 8
mov dword [ebp - 0x2b8], ebx
mov edi, ebx
mov dword [ebp - 0x2bc], esi
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 4], 0
push ecx
push eax
push ebx
push 2
push dword [ebp - 0x2ac]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x42b5b7
xor esi, esi
cmp dword [ebx], esi
jbe 0x42b546
add edi, 4
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x42b53e
mov ecx, dword [ebp - 0x2b0]
mov ecx, dword [ecx]
test ecx, ecx
je 0x42b53e
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x42b57a
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x42b520
mov byte [ebp - 0x2a1], 0
push ebx
call fcn.0047f232
mov al, byte [ebp - 0x2a1]
add esp, 4
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.0047f941
mov esp, ebp
pop ebp
ret 8
cmp byte [ebp + 0xc], 0
je 0x42b587
test byte [ebx + esi*8 + 8], 4
je 0x42b546
mov byte [ebp - 0x2a1], 1
jmp 0x42b54d
call sub.KERNEL32.dll_GetLastError
push eax
push 0x52e494
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x558100
lea eax, [ebp - 0x158]
push eax
call fcn.00480e30
call sub.KERNEL32.dll_GetLastError
push eax
push 0x52e494
lea ecx, [ebp - 0x2a0]
call fcn.00402910
push 0x558100
lea eax, [ebp - 0x2a0]
push eax
call fcn.00480e30
int3
Function at 0x42d1e0
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cf01
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x56c36c]
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, dword [ebp + 8]
push ebx
call fcn.0040e220
add esp, 4
test al, al
jne 0x42d3a0
push str.API_MS_WIN_
push ebx
call fcn.00406e40
add esp, 8
test al, al
je 0x42d281
push 0x110
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0x114
push 0
push eax
call fcn.00481320
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42d281
cmp dword [ebp - 0x120], 6
ja 0x42d3a0
jne 0x42d281
cmp dword [ebp - 0x11c], 2
jae 0x42d3a0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
push 0x400
mov dword [ebp - 4], 2
call fcn.004075b0
xor ecx, ecx
mov dword [ebp - 0x128], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047fc8b
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x42d2fd
mov ecx, dword [ebp - 0x128]
dec ecx
push ecx
push eax
push edi
call fcn.0049ff41
mov eax, dword [ebp - 0x128]
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
push dword [ebp - 0x12c]
call fcn.0047f232
add esp, 0x10
jmp 0x42d302
xor eax, eax
mov word [edi], ax
mov dword [ebp - 0x12c], edi
mov esi, dword [ebp - 0x128]
push esi
push edi
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
jb 0x42d32e
push dword [ebp - 0x12c]
xor esi, esi
jmp 0x42d418
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov byte [ebp - 0x13c], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push ebx
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 4
call fcn.0042a7b0
push 0xffffffffffffffff
push dword [ebp - 0x140]
lea ecx, [ebp - 0x12c]
push 0xffffffffffffffff
push 0x52e808
call fcn.0042cf70
mov ecx, eax
call fcn.0042cf70
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x144]
mov esi, eax
call fcn.0040ec10
push dword [ebp - 0x12c]
jmp 0x42d418
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x130], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push ebx
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0
call fcn.0042a7b0
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp byte [ebp - 0x130], 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], 1
je 0x42d417
test ecx, ecx
je 0x42d417
mov eax, dword [ebp - 0x138]
add eax, eax
push eax
push ecx
call fcn.00408000
mov ecx, dword [ebp - 0x134]
add esp, 8
push ecx
call fcn.0047f232
mov eax, esi
add esp, 4
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.0047f941
mov esp, ebp
pop ebp
ret
Function at 0x42e890
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [0x5713c4]
mov edi, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [edi + 4]
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042e9d0
mov dword [esi], eax
push edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push dword [0x5713c4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42e8f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d070
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x56c36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0042eaf0
cmp eax, edi
je 0x42e946
push dword [0x5713c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, edi
jne 0x42e9a3
push dword [edi]
push dword [0x5713c4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [edi + 0xc]
call fcn.004029a0
mov esi, dword [edi + 4]
push dword [esi + 4]
lea ecx, [edi + 4]
mov dword [ebp - 4], 0
call fcn.004150c0
mov eax, dword [edi + 4]
push 0x1c
mov dword [eax + 4], esi
mov eax, dword [edi + 4]
mov dword [eax], esi
mov eax, dword [edi + 4]
mov dword [eax + 8], esi
mov dword [edi + 8], 0
push dword [edi + 4]
call fcn.0047f224
add esp, 8
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.0047f941
mov esp, ebp
pop ebp
ret
push 0x15
push str.C:ent_slave_rootworkspaceVNCConnectBuildsClientsVNC_7.13.xlabelcon_windows_64_rvcore_baselocTransMap.cxx
push str.thrInst__this
lea ecx, [ebp - 0x160]
call fcn.00428f10
push eax
call fcn.00428f90
int3

Function at 0x42eaf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d0fc
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x56c36c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x571b70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5713e0]
cmp eax, dword [ecx + 4]
jg 0x42eb43
mov eax, 0x5713c8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0x5713e0
call fcn.0047f835
add esp, 4
cmp dword [0x5713e0], 0xffffffff
jne 0x42eb2f
push dword [0x5713c4]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, 0x5713cc
mov dword [0x5713c8], eax
mov dword [0x5713cc], 0
mov dword [0x5713d0], 0
call fcn.0042e9d0
push 0x5713c8
push dword [0x5713c4]
mov dword [0x5713cc], eax
mov dword [0x5713d4], 0
mov dword [0x5713d8], 0
mov dword [0x5713dc], 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x5279d0
call fcn.0047f612
push 0x5713e0
call fcn.0047f7eb
add esp, 8
jmp 0x42eb2f
Function at 0x42ebe0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push dword [0x5713c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42ebfd
push dword [0x5713c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
jmp fcn.0042eaf0
Function at 0x43a8d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dd90
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x56c36c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x43a90b
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0x5307e0
push dword [ebp + 0xc]
call fcn.004a6819
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x43a956
test edi, edi
je 0x43a92e
mov dword [edi], 0xa
mov eax, dword [ebp + 8]
mov ecx, dword [0x571770]
mov dword [eax], ecx
test ecx, ecx
je 0x43aa5b
inc dword [ecx + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push 0
push esi
call fcn.0049f7a2
push esi
call fcn.0049ff36
mov ebx, eax
add esp, 0x10
mov dword [ebp + 0x14], ebx
test ebx, ebx
jne 0x43a987
test edi, edi
je 0x43a97c
mov dword [edi], 3
push esi
call fcn.004a1687
add esp, 4
jmp 0x43a92e
push 0
push 0
push esi
call fcn.0049f7a2
lea eax, [ebx + 4]
push eax
call fcn.0043b290
push esi
push dword [ebp + 0x14]
mov ebx, eax
push 1
push ebx
call fcn.0049f336
push dword [ebp - 0x10]
mov esi, eax
call fcn.004a1687
add esp, 0x24
mov dword [ebx + esi], 0
cmp byte [0x56c230], 0
je 0x43a9dd
cmp byte [ebx], 0xef
jne 0x43aa16
cmp byte [ebx + 1], 0xbb
jne 0x43aa16
cmp byte [ebx + 2], 0xbf
jne 0x43aa16
mov ecx, 3
jmp 0x43aa18
mov al, byte [ebx]
cmp al, 0xef
jne 0x43aa05
xor edx, edx
mov ecx, 2
cmp byte [ebx + 1], 0xff
cmovne ecx, edx
cmp byte [ebx + 1], 0xbb
jne 0x43aa18
cmp byte [ebx + 2], 0xbf
mov eax, 3
cmove ecx, eax
jmp 0x43aa18
cmp al, 0xff
jne 0x43aa16
cmp byte [ebx + 1], 0xfe
jne 0x43aa16
mov ecx, 2
jmp 0x43aa18
xor ecx, ecx
push edi
push dword [ebp + 0x10]
lea eax, [ebx + ecx]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.0043aa70
push ebx
call fcn.004a6877
mov esi, dword [ebp + 8]
add esp, 0x14
mov ecx, dword [ebp + 0x14]
mov dword [esi], ecx
test ecx, ecx
je 0x43aa41
inc dword [ecx + 0x30]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x43aa59
dec dword [ecx + 0x30]
lea ecx, [ebp + 0x14]
push 0
call fcn.004389a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d080
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e08b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x56c36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x56c2c1], 0
mov eax, dword [ebp + 8]
je 0x43d172
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2ac], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push eax
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], 0
call fcn.0042a7b0
push dword [ebp - 0x2b0]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
cmp byte [ebp - 0x2ac], 0
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 4], 1
je 0x43d137
test ecx, ecx
je 0x43d137
mov eax, dword [ebp - 0x2b4]
add eax, eax
push eax
push ecx
call fcn.00408000
mov ecx, dword [ebp - 0x2b0]
add esp, 8
push ecx
call fcn.0047f232
add esp, 4
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x43d169
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047f941
mov esp, ebp
pop ebp
ret 4
cmp esi, 2
jne 0x43d192
xor al, al
jmp 0x43d14d
push 0xfb
push str.C:ent_slave_rootworkspaceVNCConnectBuildsClientsVNC_7.13.xlabelcon_windows_64_rvcore_baseoswinRegistry.cxx
push str.writeAllowed
lea ecx, [ebp - 0x2a8]
call fcn.00428f10
push eax
call fcn.00428f90
push esi
push str.RegDeleteValue
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x558100
lea eax, [ebp - 0x158]
push eax
call fcn.00480e30
int3
Function at 0x43d6a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e1bb
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x56c36c]
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
mov cl, byte [ebp + 0xc]
lea eax, [ebp - 0x160]
push 0
xor edx, edx
mov byte [ebp - 0x159], cl
push 0
push 0
test cl, cl
cmovne eax, edx
test cl, cl
push eax
push edx
push edx
lea eax, [ebp - 0x160]
cmove eax, edx
push eax
push edx
push edx
push edx
push edx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x43d851
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x174]
inc eax
mov dword [ebp - 0x174], 0
push eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x170], 0
call fcn.0042d140
cmp byte [ebp - 0x159], 0
lea eax, [ebp - 0x160]
mov esi, dword [ebp - 0x174]
push 0
push 0
push 0
push 0
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 4], 0
push dword [ebx]
je 0x43d76f
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x43d775
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x43d783
xor edi, edi
jmp 0x43d828
test eax, eax
je 0x43d7a2
cmp byte [ebp - 0x159], 0
mov ecx, str.RegEnumValue
push eax
mov eax, str.RegEnumKeyEx
cmove eax, ecx
push eax
jmp 0x43d857
push 1
push 0xffffffffffffffff
push 0xfde9
push esi
lea ecx, [ebp - 0x16c]
call fcn.00411420
mov edi, dword [ebp - 0x168]
push dword [ebx + 8]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x16c], 0
call fcn.0047f232
add esp, 4
mov dword [ebx + 8], edi
cmp byte [ebp - 0x164], 0
mov eax, dword [ebp - 0x168]
mov byte [ebp - 4], 1
je 0x43d80b
test eax, eax
je 0x43d80b
push dword [ebp - 0x16c]
push eax
call fcn.00408000
mov eax, dword [ebp - 0x168]
add esp, 8
push eax
call fcn.0047f232
add esp, 4
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
push esi
call fcn.0047f232
add esp, 4
mov eax, edi
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.0047f941
mov esp, ebp
pop ebp
ret 8
push eax
push str.RegQueryInfoKey
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x558100
lea eax, [ebp - 0x158]
push eax
call fcn.00480e30
int3
Function at 0x43d8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e200
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x56c36c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.0042a7b0
mov dword [ebp - 4], 1
nop dword [eax]
lea eax, [ebp + 0xc]
push eax
push dword [edi + 4]
push dword [ebp + 0x10]
push 0
push dword [ebp - 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, 0xea
je 0x43d975
test esi, esi
jne 0x43d9b4
mov ebx, dword [edi + 4]
mov edx, dword [ebp + 0xc]
test ebx, ebx
jne 0x43d989
test edx, edx
mov eax, 0xea
cmovne esi, eax
cmp edx, dword [edi]
mov ecx, edx
push edx
cmovge ecx, dword [edi]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x14], ebx
cmovg eax, ecx
mov ecx, edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00417f40
mov ebx, dword [ebp - 0x10]
cmp esi, 0xea
je 0x43d950
cmp byte [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 2
je 0x43d9da
test ecx, ecx
je 0x43d9da
mov eax, dword [ebp - 0x24]
add eax, eax
push eax
push ecx
call fcn.00408000
mov ecx, dword [ebp - 0x20]
add esp, 8
push ecx
call fcn.0047f232
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43ea40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e44b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x56c36c]
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
cmp byte [0x56c2c1], 0
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
je 0x43eb57
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2ac], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push eax
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], 0
call fcn.0042a7b0
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push 0
push dword [ebp - 0x2b0]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp byte [ebp - 0x2ac], 0
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 4], 1
je 0x43eb04
test ecx, ecx
je 0x43eb04
mov eax, dword [ebp - 0x2b4]
add eax, eax
push eax
push ecx
call fcn.00408000
mov ecx, dword [ebp - 0x2b0]
add esp, 8
push ecx
call fcn.0047f232
add esp, 4
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x43eb35
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.0047f941
mov esp, ebp
pop ebp
ret 0x10
push esi
push str.RegSetValueEx
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x558100
lea eax, [ebp - 0x158]
push eax
call fcn.00480e30
push 0x114
push str.C:ent_slave_rootworkspaceVNCConnectBuildsClientsVNC_7.13.xlabelcon_windows_64_rvcore_baseoswinRegistry.cxx
push str.writeAllowed
lea ecx, [ebp - 0x2a8]
call fcn.00428f10
push eax
call fcn.00428f90
int3
Function at 0x43ebb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e48b
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x56c36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x15c], edi
lea edx, [ebp - 0x15c]
mov dword [ebp - 4], 0
push edx
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x15c], 0
push ecx
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x43ecdd
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x168]
call fcn.00411420
mov esi, dword [ebp - 0x164]
push 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x168], 0
mov dword [edi], 0
call fcn.0047f232
add esp, 4
mov dword [edi], esi
cmp byte [ebp - 0x160], 0
mov eax, dword [ebp - 0x164]
mov byte [ebp - 4], 1
je 0x43ec88
test eax, eax
je 0x43ec88
push dword [ebp - 0x168]
push eax
call fcn.00408000
mov eax, dword [ebp - 0x164]
add esp, 8
push eax
call fcn.0047f232
mov ecx, dword [ebp - 0x15c]
add esp, 4
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x15c], 0
test ecx, ecx
je 0x43ecc0
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
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.0047f941
mov esp, ebp
pop ebp
ret
push eax
push 0x530d10
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x558100
lea eax, [ebp - 0x158]
push eax
call fcn.00480e30
int3

Function at 0x441ec0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ebd7
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x56c36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], edi
mov dword [edi], vtable.plat::EventManager.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
push dword [0x571820]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0
push 1
lea esi, [edi + 0x20]
mov dword [edi + 0x1c], eax
push 0
mov dword [ebp - 0x15c], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x441f93
push edi
mov dword [edi + 0x24], 0
push dword [0x571820]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, edi
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.0047f941
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateEvent
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x558100
lea eax, [ebp - 0x158]
push eax
call fcn.00480e30
int3
Function at 0x442080
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ec00
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56c36c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.plat::EventManager.0
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x4420e0
add dword [esi + 8], 0xfffffffc
mov edx, dword [esi + 0x14]
mov edi, dword [edx - 4]
lea eax, [edx - 4]
push 0
push edx
push eax
call fcn.00481be0
add dword [esi + 0x14], 0xfffffffc
add esp, 0xc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
jne 0x4420b4
push dword [esi + 0x1c]
push dword [0x571820]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x20], 0
test eax, eax
je 0x442104
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44214c
mov ecx, dword [esi + 0x18]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x44212d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4421a5
mov eax, edx
push ecx
push eax
call fcn.0047f224
mov dword [esi + 0x10], 0
add esp, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x442194
mov ecx, dword [esi + 0xc]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x442175
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4421a5
mov eax, edx
push ecx
push eax
call fcn.0047f224
mov dword [esi + 4], 0
add esp, 8
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0048aa1d
int3