joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fe40
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x4fa008]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 4]
push ecx
push 0x24
lea ecx, [esp + 0x38]
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x41fe85
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x34]
xor ecx, esp
call fcn.00496cab
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 8]
call fcn.0041bef0
push 0x4f78bc
lea eax, [esp + 0xc]
push eax
call fcn.00498928
int3

Function at 0x4208f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x4fa008]
xor eax, esp
mov dword [esp + 0x1a8], eax
push esi
mov esi, ecx
lea eax, [esp + 0x18]
push eax
push 0x102
mov dword [esi], vtable.WsaStartup.0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42093e
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00496cab
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 4]
push 0x4d1018
push eax
call fcn.00404e00
add esp, 8
lea eax, [esp + 4]
push 0x4f7790
push eax
call fcn.00498928
int3

Function at 0x420af0
Capabilities:
Simulate ctrl alt del

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4178
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
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 9
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
and eax, 0xfffffffe
push eax
push 0x4d10dc
push ecx
call fcn.0049a3f0
add esp, 0xc
push 0x400001cf
push 1
push 0
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_CloseDesktop]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.00403b90
test edi, edi
je 0x420bc5
push str.SAS_window
push str.SAS_window_class
call dword [sym.imp.USER32.dll_FindWindowW]
push 0x2e0003
test eax, eax
mov ecx, 0xffff
push 0
cmove eax, ecx
push 0x312
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4215e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7768
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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 eax, dword [edi + 0x30]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x48]
movups xmmword [ebp - 0x48], xmm0
test eax, eax
je 0x42162f
cmp esi, eax
cmova esi, eax
mov dword [ebp + 0xc], esi
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov dword [ebp - 0x18], vtable.AutoLock.0
mov dword [ebp - 0x14], ecx
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x421773
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 1
mov edx, dword [ecx]
call dword [edx + 8]
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x4216f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x421709
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4216a1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
mov dword [ebp - 0x18], vtable.AutoLock.0
mov dword [ebp - 0x14], esi
call dword [eax + 4]
push 0
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x4216e0
test eax, eax
jne 0x42178e
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 4
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x421759
push str.Unknown_pipe_error
jmp 0x4217b0
lea ecx, [ebp - 0x30]
call fcn.00403170
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 5
push dword [ebp + 0xc]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push eax
lea eax, [ebp - 0x30]
push 0x4d11f8
push eax
call fcn.00403a90
add esp, 0x18
lea ecx, [ebp - 0x20]
call fcn.00403170
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00403320
lea edx, [ebp - 0x20]
mov ecx, eax
call fcn.0041ca20
lea ecx, [ebp - 0x20]
jmp 0x4217aa
add dword [edi + 0x38], eax
adc dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push str.Invalid_pipe_handle
lea ecx, [ebp - 0x34]
call fcn.004503b0
push 0x4f7930
lea eax, [ebp - 0x34]
push eax
call fcn.00498928
lea ecx, [ebp - 0x30]
call fcn.00403170
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 3
mov ecx, str.The_Pipes_write_function_failed_after_GetOverlappedResult_calling
call fcn.0041ca20
lea ecx, [ebp - 0x30]
call fcn.00403320
push eax
lea ecx, [ebp - 0x5c]
call fcn.004503b0
push 0x4f7930
lea eax, [ebp - 0x5c]
push eax
call fcn.00498928
int3
Function at 0x421b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x3eb
push esi
mov esi, ecx
jne 0x421c04
mov eax, dword [ebp + 0xc]
push edi
mov eax, dword [eax + 8]
cmp eax, 0xfffffdd8
je 0x421bbd
cmp eax, 0xfffffdd9
jne 0x421c03
push 0
push 0
push 0x130b
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
test ecx, ecx
js 0x421b9f
mov edx, dword [esi + 0x40]
mov edi, dword [esi + 0x3c]
sub edx, edi
sar edx, 2
lea eax, [edx - 1]
cmp ecx, eax
ja 0x421b9f
cmp edx, ecx
jbe 0x421c0e
mov eax, dword [edi + ecx*4]
jmp 0x421ba1
xor eax, eax
mov eax, dword [eax]
test eax, eax
je 0x421c03
push 5
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
push 0
push 0
push 0x130b
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
test ecx, ecx
js 0x421bf0
mov edx, dword [esi + 0x40]
mov edi, dword [esi + 0x3c]
sub edx, edi
sar edx, 2
lea eax, [edx - 1]
cmp ecx, eax
ja 0x421bf0
cmp edx, ecx
jbe 0x421c0e
mov eax, dword [edi + ecx*4]
jmp 0x421bf2
xor eax, eax
mov eax, dword [eax]
test eax, eax
je 0x421c03
push 0
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
call fcn.004271f0
int3
Function at 0x42a580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8188
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.0049a3f0
add esp, 0xc
lea edi, [ebx + 0x4c]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.0044cae0
add ebx, 0x70
mov byte [ebp - 4], 5
mov ecx, ebx
call fcn.0044cae0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x94]
call fcn.0044cae0
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.0044e2b0
push eax
mov ecx, edi
call dword [esi + 8]
mov esi, dword [edi]
mov ecx, 0x9c55
call fcn.0044e2b0
push eax
mov ecx, edi
call dword [esi + 0xc]
mov esi, dword [ebx]
mov ecx, 0x9c58
call fcn.0044e2b0
push eax
mov ecx, ebx
call dword [esi + 8]
mov esi, dword [ebx]
mov ecx, 0x9c55
call fcn.0044e2b0
push eax
mov ecx, ebx
call dword [esi + 0xc]
mov edi, dword [ebp - 0x10]
mov ecx, 0x9ca7
mov esi, dword [edi + 0x94]
call fcn.0044e2b0
push eax
lea ecx, [edi + 0x94]
call dword [esi + 8]
mov esi, dword [edi + 0x94]
mov ecx, 0x9ca8
call fcn.0044e2b0
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 0x42b320
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8368
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.0049a3f0
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.0049a3f0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.0042b150
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.0042b200
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [edi + 4]
call fcn.0041ed90
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
mov ecx, dword [edi + 4]
call fcn.0041ee90
mov ecx, dword [ebp - 0x44]
mov bl, al
test ecx, ecx
jne 0x42b42c
xor dl, dl
jmp 0x42b43e
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 0x42b446
test dl, dl
je 0x42b448
mov bl, 1
mov dword [ebp - 0x48], vtable.RegistryKey.0
test ecx, ecx
je 0x42b466
cmp ecx, dword [ebp - 0x40]
je 0x42b45f
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 0x42b620
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b83b0
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.0049a3f0
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.0049a3f0
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push edi
mov byte [ebp - 4], 3
call fcn.0042b150
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0042b200
push ecx
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0041ed90
mov ebx, dword [ebp - 0x44]
test ebx, ebx
jne 0x42b722
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x42b77a
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 0x42b730
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 0x42b77a
cmp eax, dword [ebp - 0x40]
je 0x42b773
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 0x42b7c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b83f0
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.0049a3f0
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.0049a3f0
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.0042b150
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.0042b200
push ecx
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push dword [edi + 4]
call fcn.0041ed90
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x42b8c2
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x42b90d
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 0x42b90d
cmp eax, dword [ebp - 0x44]
je 0x42b906
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 0x42b950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b83b0
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.0049a3f0
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.0049a3f0
add esp, 0xc
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.0042b150
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0042b200
push ecx
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0041ed90
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x42ba58
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x42ba90
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 0x42ba90
cmp eax, dword [ebp - 0x40]
je 0x42ba89
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 0x42bb60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b83f0
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.0049a3f0
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.0049a3f0
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.0042b150
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.0042b200
push ecx
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push dword [edi + 4]
call fcn.0041ed90
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x42bc62
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x42bcad
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 0x42bcad
cmp eax, dword [ebp - 0x44]
je 0x42bca6
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 0x42bcf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b83b0
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.0049a3f0
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.0049a3f0
add esp, 0xc
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.0042b150
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0042b200
push ecx
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0041ed90
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x42bdf8
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x42be30
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 0x42be30
cmp eax, dword [ebp - 0x40]
je 0x42be29
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