joyce8/EMBER2024-capa huggingface dataset:
Function at 0x504850
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ba47
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
je 0x5049c6
cmp byte [esi + 0xf8], 0
jne 0x504a13
lea eax, [ebp - 0x2c]
push eax
call fcn.004cf540
xorps xmm0, xmm0
movsd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.004c2a00
lea eax, [esi + 0xfc]
push eax
lea ecx, [ebp - 0x24]
call fcn.00507460
test al, al
je 0x504a13
cmp byte [ebp + 0xc], 0
je 0x50498b
cmp byte [esi + 0x108], 0
jne 0x50498b
mov dword [ebp - 0x18], 0
push str.Disconnecting_OPC_Client___evaluation_period_has_expired
lea ecx, [esi + 0x128]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
lea eax, [ebp - 0x18]
push eax
push 0
push esi
push 0x54b630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10c], eax
test eax, eax
jne 0x504949
push 0x695
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbusFeatureHandler.cpp
push 0x587798
mov eax, dword [0x641a88]
add eax, 0x32c
push eax
call fcn.004ec040
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.004ee9a0
mov byte [ebp - 4], 1
push dword [eax]
push str.Access_to_OPC_functionality_timed_out_for_client___s____client_forcefully_disconnected
push 0x3eb
mov eax, dword [0x641a88]
add eax, 0x32c
push eax
call fcn.004ec2c0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor al, al
jmp 0x504a15
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.004ee9a0
mov byte [ebp - 4], 2
push dword [eax]
push str.Access_to_OPC_functionality_timed_out_for_client___s_
push 0x3eb
mov eax, dword [0x641a88]
add eax, 0x32c
push eax
call fcn.004ec2c0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor al, al
jmp 0x504a15
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret 8
Function at 0x5062e0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bf48
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x640040]
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]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x801a
mov dword [ebp - 0x220], ebx
push 0
mov dword [ebp - 0x21c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x5063fb
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x506350
sub ecx, edx
sar ecx, 1
je 0x5063fb
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x218]
push 0x5f06d8
push 0x104
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0
push eax
call esi
push 0x5f06f0
lea eax, [ebp - 0x218]
push 0x104
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push eax
call esi
push str.cache
lea eax, [ebp - 0x218]
push 0x104
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push eax
call esi
push 0x5dd26c
lea eax, [ebp - 0x218]
push 0x104
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
jmp 0x506408
push 0x5ef9bc
mov ecx, ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret 4
Function at 0x50da10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ce47
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x640040]
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 edi, edx
mov esi, ecx
mov dword [ebp - 4], 1
mov bl, 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], 0
cmp dword [eax - 0xc], 0
jne 0x50da66
mov dword [ebp - 0x11c], esi
jmp 0x50dacd
lea ecx, [ebp - 0x11c]
push ecx
push 0x20019
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x50dac7
mov dword [ebp - 0x11c], 0
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov al, bl
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.0055c86d
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x11c]
test esi, esi
je 0x50da8a
push 0x100
lea eax, [ebp - 0x110]
mov dword [ebp - 0x118], 0x100
push 0
push eax
mov dword [ebp - 0x114], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x50db3a
mov eax, dword [ebp - 0x114]
cmp eax, 4
je 0x50db30
cmp eax, 0xb
jne 0x50db3a
mov eax, dword [ebp - 0x110]
mov dword [edi], eax
jmp 0x50db3c
xor bl, bl
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x50da8c
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x50da8c
Function at 0x50db60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ce97
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x640040]
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 edi, edx
mov esi, ecx
mov dword [ebp - 4], 1
mov bl, 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], 0
cmp dword [eax - 0xc], 0
jne 0x50dbb6
mov dword [ebp - 0x11c], esi
jmp 0x50dc1d
lea ecx, [ebp - 0x11c]
push ecx
push 0x20019
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x50dc17
mov dword [ebp - 0x11c], 0
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov al, bl
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.0055c86d
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x11c]
test esi, esi
je 0x50dbda
push 0x100
lea eax, [ebp - 0x110]
mov dword [ebp - 0x118], 0x100
push 0
push eax
mov dword [ebp - 0x114], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x50dca4
mov eax, dword [ebp - 0x114]
cmp eax, 4
je 0x50dc93
cmp eax, 0xb
jne 0x50dca4
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x10c]
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x50dca6
mov eax, dword [ebp - 0x110]
mov dword [edi], eax
mov dword [edi + 4], 0
jmp 0x50dca6
xor bl, bl
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x50dbdc
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x50dbdc
Function at 0x50dcd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ce97
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x640040]
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 edi, edx
mov esi, ecx
mov dword [ebp - 4], 1
mov bl, 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], 0
cmp dword [eax - 0xc], 0
jne 0x50dd26
mov dword [ebp - 0x11c], esi
jmp 0x50dd8d
lea ecx, [ebp - 0x11c]
push ecx
push 0x20019
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x50dd87
mov dword [ebp - 0x11c], 0
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov al, bl
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.0055c86d
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x11c]
test esi, esi
je 0x50dd4a
push 0x100
lea eax, [ebp - 0x110]
mov dword [ebp - 0x118], 0x100
push 0
push eax
mov dword [ebp - 0x114], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x50ddfc
mov eax, dword [ebp - 0x114]
cmp eax, 4
je 0x50ddf0
cmp eax, 0xb
jne 0x50ddfc
mov ax, word [ebp - 0x110]
mov word [edi], ax
jmp 0x50ddfe
xor bl, bl
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x50dd4c
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x50dd4c
Function at 0x50de20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cef3
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x640040]
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 edi, edx
mov dword [ebp - 0x420], edi
mov esi, ecx
mov dword [ebp - 4], 1
mov bl, 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x41c], 0
cmp dword [eax - 0xc], 0
jne 0x50de7c
mov dword [ebp - 0x41c], esi
jmp 0x50dee3
lea ecx, [ebp - 0x41c]
push ecx
push 0x20019
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x50dedd
mov dword [ebp - 0x41c], 0
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov al, bl
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.0055c86d
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x41c]
test esi, esi
je 0x50dea0
push 0x100
lea eax, [ebp - 0x110]
mov dword [ebp - 0x418], 0x100
push 0
push eax
mov dword [ebp - 0x414], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x50e010
mov eax, dword [ebp - 0x414]
sub eax, 1
jne 0x50e010
push 0x200
push eax
lea eax, [ebp - 0x410]
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0x418]
add esp, 0xc
shr esi, 1
mov edx, 0
je 0x50dfa9
mov edi, 0x100
nop dword [eax]
nop word [eax + eax]
movzx ecx, byte [ebp + edx*2 - 0x10f]
movzx eax, byte [ebp + edx*2 - 0x110]
imul ecx, edi
add cx, ax
mov word [ebp + edx*2 - 0x410], cx
inc edx
cmp edx, esi
jb 0x50df80
mov edi, dword [ebp - 0x420]
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x410]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x420]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__20]
mov byte [ebp - 4], 2
mov ecx, edi
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x420]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x50e012
xor bl, bl
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x50dea2
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x50dea2
Function at 0x50e0d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cf87
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x19], 1
cmp dword [eax - 0xc], 0
jne 0x50e11c
mov dword [ebp - 0x18], ecx
jmp 0x50e141
lea edx, [ebp - 0x18]
push edx
push 0x20006
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x50e13e
xor ecx, ecx
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x18], ecx
jmp 0x50e141
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x50e178
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ecx, byte [ebp - 0x19]
xor ebx, ebx
test eax, eax
mov eax, dword [ebp + 8]
cmove ebx, ecx
cmp dword [eax - 0xc], 0
je 0x50e17a
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x50e17a
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
Function at 0x50e1c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cfd0
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x640040]
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 edi, ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], 0
mov byte [ebp - 0x215], 1
cmp dword [eax - 0xc], 0
jne 0x50e219
mov dword [ebp - 0x214], edi
jmp 0x50e24c
lea eax, [ebp - 0x214]
push eax
push 0x20006
push 0
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x50e246
xor edi, edi
mov byte [ebp - 0x215], 0
mov dword [ebp - 0x214], edi
jmp 0x50e24c
mov edi, dword [ebp - 0x214]
test edi, edi
je 0x50e312
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push 0x200
push 0
push eax
mov ebx, dword [esi - 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi - 0xc], 0x100
jge 0x50e2fe
xor esi, esi
test ebx, ebx
jle 0x50e2a3
push esi
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1653]
movzx eax, al
mov word [ebp + esi*2 - 0x210], ax
inc esi
cmp esi, ebx
jl 0x50e283
mov edi, dword [ebp - 0x214]
add ebx, ebx
cmp ebx, 0x200
jae 0x50e35c
xor eax, eax
mov word [ebp + ebx - 0x210], ax
lea eax, [ebx + 2]
cmp eax, 0x200
jae 0x50e35c
xor ecx, ecx
push ebx
mov word [ebp + eax - 0x210], cx
lea eax, [ebp - 0x210]
push eax
push 1
push ecx
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ecx, byte [ebp - 0x215]
xor ebx, ebx
mov edi, dword [ebp - 0x214]
test eax, eax
cmove ebx, ecx
jmp 0x50e300
xor bl, bl
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x50e314
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x50e314
xor bl, bl
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov al, bl
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.0055c86d
mov esp, ebp
pop ebp
ret
call fcn.0055c99e
int3
Function at 0x50e370
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d017
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push 0x20006
push 0
push dword [ebp + 8]
mov dword [ebp - 0x14], 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x50e3c5
xor bl, bl
jmp 0x50e3e1
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
Function at 0x50e420
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d089
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x640040]
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 dword [ebp - 0x234], ebx
xor edi, edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x218]
push 0x208
push edi
push eax
mov dword [ebp - 0x220], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x220]
xor esi, esi
mov dword [ebp - 0x22c], esi
push eax
push 0xf003f
push esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x50e4b0
xor bl, bl
jmp 0x50e5bb
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x50e5a0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
or edi, 1
mov dword [ebp - 0x228], edi
mov eax, dword [ebp + 8]
push 1
push 0x5dd26c
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x10
lea edx, [ebp - 0x224]
mov ecx, esp
mov dword [ebp - 0x238], esp
push esi
call fcn.004c2960
add esp, 4
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.0050e420
and edi, 0xfffffffe
add esp, 4
mov bl, al
mov dword [ebp - 0x228], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, dword [ebp - 0x22c]
inc esi
test bl, bl
mov ebx, dword [ebp - 0x234]
mov dword [ebp - 0x22c], esi
jne 0x50e4b0
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov al, bl
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.0055c86d
mov esp, ebp
pop ebp
ret
Function at 0x50fd30
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d308
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x640040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov word [esi], 0
lea eax, [esi + 0x68]
mov byte [esi + 2], 0
mov dword [esi + 4], 0
mov word [esi + 8], 0
mov byte [esi + 0xa], 0
mov dword [esi + 0xc], 0
mov word [esi + 0x10], 0
mov byte [esi + 0x12], 0
mov dword [esi + 0x14], 0
mov word [esi + 0x18], 0
mov byte [esi + 0x1a], 0
mov dword [esi + 0x1c], 0
mov word [esi + 0x20], 0
mov byte [esi + 0x22], 0
mov dword [esi + 0x24], 0
mov word [esi + 0x28], 0
mov byte [esi + 0x2a], 0
mov dword [esi + 0x2c], 0
mov word [esi + 0x30], 0
mov byte [esi + 0x32], 0
mov dword [esi + 0x34], 0
mov word [esi + 0x38], 0
mov byte [esi + 0x3a], 0
mov dword [esi + 0x3c], 0
mov word [esi + 0x40], 0
mov byte [esi + 0x42], 0
mov dword [esi + 0x44], 0
mov word [esi + 0x48], 0
mov byte [esi + 0x4a], 0
mov dword [esi + 0x4c], 0
mov word [esi + 0x50], 0
mov byte [esi + 0x52], 0
mov dword [esi + 0x54], 0
mov word [esi + 0x58], 0
mov byte [esi + 0x5a], 0
mov dword [esi + 0x5c], 0
push eax
mov word [esi + 0x60], 0
mov byte [esi + 0x62], 0
mov dword [esi + 0x64], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x78]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x7c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x88], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x9a], eax
mov word [esi + 0x98], ax
mov word [esi + 0x9e], ax
mov dword [esi + 0x80], eax
mov dword [esi + 0x90], 1
mov dword [esi + 0xa0], eax
mov byte [esi + 0xa4], al
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret