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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b80a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0x6f
mov dword [ebx + 0xc], vtable.Control.0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.ChangePasswordDialog.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], vtable.TextBox.0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], vtable.TextBox.0
lea eax, [ebx + 0x3c]
mov dword [ebp - 0x14], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00403cc0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
lea edi, [ebx + 0x4c]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.0044ca00
add ebx, 0x70
mov byte [ebp - 4], 5
mov ecx, ebx
call fcn.0044ca00
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x94]
call fcn.0044ca00
mov al, byte [ebp + 0xc]
mov ecx, 0x9c57
mov byte [ebp - 4], 7
mov byte [esi + 0xb8], al
mov eax, dword [ebp + 8]
mov byte [esi + 0xb9], 0
mov dword [esi + 0x18], eax
mov esi, dword [edi]
call fcn.0044e1d0
push eax
mov ecx, edi
call dword [esi + 8]
mov esi, dword [edi]
mov ecx, 0x9c55
call fcn.0044e1d0
push eax
mov ecx, edi
call dword [esi + 0xc]
mov esi, dword [ebx]
mov ecx, 0x9c58
call fcn.0044e1d0
push eax
mov ecx, ebx
call dword [esi + 8]
mov esi, dword [ebx]
mov ecx, 0x9c55
call fcn.0044e1d0
push eax
mov ecx, ebx
call dword [esi + 0xc]
mov edi, dword [ebp - 0x10]
mov ecx, 0x9ca7
mov esi, dword [edi + 0x94]
call fcn.0044e1d0
push eax
lea ecx, [edi + 0x94]
call dword [esi + 8]
mov esi, dword [edi + 0x94]
mov ecx, 0x9ca8
call fcn.0044e1d0
push eax
lea ecx, [edi + 0x94]
call dword [esi + 0xc]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b240
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8288
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.0042b070
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.0042b120
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [edi + 4]
call fcn.0041ecb0
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
mov ecx, dword [edi + 4]
call fcn.0041edb0
mov ecx, dword [ebp - 0x44]
mov bl, al
test ecx, ecx
jne 0x42b34c
xor dl, dl
jmp 0x42b35e
push dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x44]
test eax, eax
sete dl
test bl, bl
jne 0x42b366
test dl, dl
je 0x42b368
mov bl, 1
mov dword [ebp - 0x48], vtable.RegistryKey.0
test ecx, ecx
je 0x42b386
cmp ecx, dword [ebp - 0x40]
je 0x42b37f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42b540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b82d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push edi
mov byte [ebp - 4], 3
call fcn.0042b070
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0042b120
push ecx
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0041ecb0
mov ebx, dword [ebp - 0x44]
test ebx, ebx
jne 0x42b642
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x42b69a
mov edx, dword [ebp + 0xc]
mov eax, edx
lea esi, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b650
sub eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x42b69a
cmp eax, dword [ebp - 0x40]
je 0x42b693
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b6e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8310
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.0042b070
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.0042b120
push ecx
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push dword [edi + 4]
call fcn.0041ecb0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x42b7e2
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x42b82d
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], 0xb
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], 8
push ecx
push 0
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [ebp - 0x4c], vtable.RegistryKey.0
mov eax, dword [ebp - 0x48]
sete bl
test eax, eax
je 0x42b82d
cmp eax, dword [ebp - 0x44]
je 0x42b826
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b82d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.0042b070
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0042b120
push ecx
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0041ecb0
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x42b978
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x42b9b0
push 4
lea ecx, [ebp + 8]
push ecx
push 0xb
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x42b9b0
cmp eax, dword [ebp - 0x40]
je 0x42b9a9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42ba80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8310
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.0042b070
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.0042b120
push ecx
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push dword [edi + 4]
call fcn.0041ecb0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x42bb82
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x42bbcd
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], 4
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], 4
push ecx
push 0
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [ebp - 0x4c], vtable.RegistryKey.0
mov eax, dword [ebp - 0x48]
sete bl
test eax, eax
je 0x42bbcd
cmp eax, dword [ebp - 0x44]
je 0x42bbc6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42bc10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b82d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.0042b070
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0042b120
push ecx
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0041ecb0
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x42bd18
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x42bd50
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x42bd50
cmp eax, dword [ebp - 0x40]
je 0x42bd49
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42be00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8350
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.0042b070
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.0042b120
push ecx
push 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
push dword [esi + 4]
call fcn.0041ecb0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x42bf02
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x42bf56
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], 3
mov eax, dword [esi]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42bf2e
xor bl, bl
jmp 0x42bf35
mov eax, dword [ebp + 8]
mov bl, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], vtable.RegistryKey.0
test eax, eax
je 0x42bf56
cmp eax, dword [ebp - 0x44]
je 0x42bf4f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
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 0x42bfa0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b82d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push edi
mov byte [ebp - 4], 3
call fcn.0042b070
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0042b120
push ecx
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0041ecb0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x42c0a2
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x42c0da
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 3
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x42c0da
cmp eax, dword [ebp - 0x40]
je 0x42c0d3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
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 0x42dbe0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8628
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi], vtable.Thread.0
push eax
push 4
push edi
push 0x46e440
push 0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x400001cf
push 1
push 0
mov dword [edi + 4], eax
mov dword [edi], vtable.GuiThread.0
mov dword [edi + 0x10], 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 8]
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [edi], vtable.DesktopSrvDispatcher.0
mov dword [edi + 0x14], eax
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042dfd0
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x24], eax
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 0xc
Function at 0x4307d0
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8a7e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea eax, [edi + 0x28]
mov dword [edi], vtable.WindowsUserInput.0
mov dword [edi + 8], vtable.WindowsDisplays.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
push eax
mov dword [edi + 0x24], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov esi, dword [ebp + 0x10]
lea ecx, [edi + 0x4c]
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0046ef70
mov byte [ebp - 4], 2
push 0x34
mov byte [edi + 0x58], 0
mov dword [edi + 0x5c], esi
call fcn.004970d4
mov edi, dword [edi + 0x5c]
mov ebx, eax
mov ecx, dword [0x4fee98]
push str.Tvnserver.Clipboard.MessageWindow
mov dword [ebp + 0x10], ebx
mov dword [ebx], vtable.MessageWindow.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], 0
call fcn.004ac5b2
add esp, 8
mov dword [ebx + 0x10], eax
lea esi, [ebx + 0x14]
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
mov byte [esi + 0xc], 0
push eax
push 4
push esi
push 0x46e440
push 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x400001cf
push 1
push 0
mov dword [esi + 4], eax
mov dword [esi], vtable.GuiThread.0
mov dword [esi + 0x10], 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebx], vtable.WindowsClipboard.0
mov dword [esi], vtable.WindowsClipboard.1.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], ebx
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