joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e6e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x43e712
jl 0x43e705
test ecx, ecx
jne 0x43e712
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x43e7d2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.004402c0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x43e77e
jg 0x43e73d
test esi, esi
je 0x43e77e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x43e755
mov eax, dword [esp + 0x10]
jl 0x43e74f
cmp eax, esi
jae 0x43e755
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00492c90
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x43e79f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x43e7bb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x43e724
jl 0x43e7bb
test ecx, ecx
jne 0x43e724
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x43e810
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x43e810
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.00492c90
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x43e879
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x43e836
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x43e864
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0049e886
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x43e879
cmp edi, eax
ja 0x43e842
test edi, edi
je 0x43e879
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0049e886
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x440760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf00d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x50c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00442ec0
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.00411c40
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx ebx, ax
test ecx, ecx
je 0x440819
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x440819
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x440833
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.00413b00
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 0xc

Function at 0x440b20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf060
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x50c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00491196
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0048e52a
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00440a40
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
Function at 0x441180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf060
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x50c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00491196
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0048e52a
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00440a40
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
Function at 0x4472a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x50c080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x4ee25c
mov ebx, ecx
xor esi, esi
push edx
push ebx
mov dword [ebp - 0x10], ebx
xor edi, edi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x447378
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x447378
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x447378
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push 0x42
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x447378
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x447378
push ebx
push dword [ebp - 0x10]
push eax
call fcn.00492c90
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x447378
push 0x10
xor edi, edi
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x447376
xorps xmm0, xmm0
mov dword [ebp - 0xc], edi
lea ecx, [ebp - 0xc]
movups xmmword [esi], xmm0
mov eax, dword [ebp - 8]
push ecx
push eax
mov dword [esi], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
jmp 0x447378
xor esi, esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x44738c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], 0
test edi, edi
je 0x447397
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490c46
mov esp, ebp
pop ebp
ret
Function at 0x448ca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfba5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x50c080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREMalwarebytesmbam
push 0x80000001
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x448dac
cmp byte [0x50cb52], al
push 4
setne al
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 4
push esi
push str.dtopicon
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x448d39
push dword [ebp - 0x1c]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x448e10
mov dword [ebp - 4], 0
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x448e2d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push str.Error_calling_RegSetValueExW__0x_08X_
push eax
call fcn.00411010
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov edx, 0x33c
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBUtils.cpp
push esi
call fcn.004471b0
add esp, 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x448da1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x448e10
mov dword [ebp - 4], 2
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x448e37
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 3
push str.Error_calling_RegCreateKeyExW__0x_08X_
push eax
call fcn.00411010
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov edx, 0x345
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBUtils.cpp
push esi
call fcn.004471b0
add esp, 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x448e10
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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.00490c46
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404ea0
push 0x80004005
call fcn.00404ea0
int3
Function at 0x449660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfcdd
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x50c080]
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
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
push 0
push eax
call fcn.00493220
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x4496e4
xor al, al
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.00490c46
mov esp, ebp
pop ebp
ret
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x449821
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x449726
movzx eax, ax
lea ecx, [ebp - 0x220]
push eax
call fcn.004129d0
jmp 0x449752
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449730
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.0040e140
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x220]
mov eax, dword [esi - 0xc]
lea ecx, [eax - 1]
test ecx, ecx
js 0x449817
cmp ecx, eax
jg 0x449817
cmp word [esi + ecx*2], 0x5c
jne 0x449790
push 1
push ecx
lea ecx, [ebp - 0x220]
call fcn.00450550
mov esi, dword [ebp - 0x220]
mov eax, dword [ebx]
lea edi, [esi - 0x10]
mov edx, dword [edi + 4]
cmp dword [eax - 0xc], edx
jl 0x4497d3
push edx
push 0
lea eax, [ebp - 0x228]
mov ecx, ebx
push eax
call fcn.0043ee20
mov byte [ebp - 4], 2
mov dword [ebp - 0x224], 1
test esi, esi
je 0x44982b
push esi
push dword [eax]
call fcn.0049adec
add esp, 8
test eax, eax
jne 0x4497d3
mov bl, 1
jmp 0x4497d5
xor bl, bl
or esi, 0xffffffff
test byte [ebp - 0x224], 1
je 0x4497fe
mov edx, dword [ebp - 0x228]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4497fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x449810
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x4496c8
push 0x80070057
call fcn.00404ea0
push 0x80004005
call fcn.00404ea0
push 0x80004005
call fcn.00404ea0
int3
Function at 0x449840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfd36
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x50c080]
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 - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x4499cf
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0x4c65bc
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
or edi, 0xffffffff
test eax, eax
jne 0x449990
mov edx, dword [ebp - 0x18]
test edx, edx
jne 0x4498cc
xor ecx, ecx
jmp 0x4498e0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4498d1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0040e140
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
mov eax, dword [esi - 0xc]
lea ecx, [eax - 1]
test ecx, ecx
js 0x4499c5
cmp ecx, eax
jg 0x4499c5
cmp word [esi + ecx*2], 0x5c
jne 0x449928
push 1
push ecx
lea ecx, [ebp - 0x14]
call fcn.00450550
mov esi, dword [ebp - 0x14]
mov eax, dword [ebx]
mov edx, dword [esi - 0xc]
cmp dword [eax - 0xc], edx
jl 0x449966
push edx
push 0
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0043ee20
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 1
test esi, esi
je 0x4499d9
push esi
push dword [eax]
call fcn.0049adec
add esp, 8
test eax, eax
jne 0x449966
mov bl, 1
jmp 0x449968
xor bl, bl
test byte [ebp - 0x1c], 1
je 0x449988
mov edx, dword [ebp - 0x20]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449988
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x449990
mov bl, 1
jmp 0x449992
xor bl, bl
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4499a7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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.00490c46
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404ea0
push 0x80004005
call fcn.00404ea0
push 0x80004005
call fcn.00404ea0
int3
Function at 0x450f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c040c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x50c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0x48
call fcn.00491196
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
movq qword [edi], xmm0
lea ecx, [esi + 4]
mov dword [edi + 8], 0
xor eax, eax
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_MBAMService_.0
mov dword [esi], vtable.MBAMService.0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
push 0xb
mov byte [ebp - 4], 0x10
push str.MBAMService
mov byte [esi + 0x34], 1
call fcn.0040db20
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 4], 0
mov dword [eax], esi
mov dword [eax + 4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x454d50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x50c080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x454e08
push 0x228
lea eax, [ebp - 0x234]
push ebx
push eax
call fcn.00493220
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x454def
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [ebp - 0x230], edi
je 0x454de7
lea eax, [ebp - 0x238]
push eax
push esi
call ebx
test eax, eax
jne 0x454db5
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00490c46
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x220]
jmp 0x454dcd
push str.Process32First___failed
mov edx, 0x76
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupSetupUtils.cpp
call fcn.004471b0
add esp, 4
jmp 0x454dcd
push str.CreateToolhelp32Snapshot___failed
mov edx, 0x7d
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupSetupUtils.cpp
call fcn.004471b0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00490c46
mov esp, ebp
pop ebp
ret
Function at 0x45aa00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0fa5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x50c080]
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
cmp dword [0x50cec4], 7
mov eax, 0x50ceb0
cmova eax, dword [0x50ceb0]
push eax
call fcn.0049ecab
dec eax
add esp, 4
cmp eax, 0x3e6
ja 0x45aba9
mov dword [ebp - 4], 0
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x45abc5
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
sub esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
push 0x20106
sub esp, 8
push str.SOFTWAREMalwarebytes
push 0x80000002
call fcn.004076c0
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x45ab5c
cmp dword [0x50cec4], 7
mov edx, 0x50ceb0
jbe 0x45ab12
mov edx, dword [0x50ceb0]
test edx, edx
jne 0x45ab12
mov eax, 0xd
push eax
lea eax, [ebp - 0x14]
push str.failed_to_save_C_parameter__status__0x_08X
push eax
call fcn.00411010
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov edx, 0x391
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupSetupUtils.cpp
push esi
call fcn.004471b0
add esp, 4
jmp 0x45ab86
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ab17
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x4f5a00
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x45aae8
push 0x4f5a04
mov edx, 0x38c
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupSetupUtils.cpp
call fcn.004471b0
add esp, 4
jmp 0x45ab86
push eax
push str.SOFTWAREMalwarebytes
lea eax, [ebp - 0x14]
push str.failed_to_open__s__status__0x_08X
push eax
call fcn.00411010
mov esi, dword [ebp - 0x14]
mov edx, 0x397
push esi
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupSetupUtils.cpp
call fcn.004471b0
add esp, 0x14
test edi, edi
je 0x45ab91
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45aba9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 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.00490c46
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404ea0
int3
Function at 0x4680d0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50c080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 7
jbe 0x468102
mov ecx, dword [ecx]
push 0
push 0
push 0
push 1
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
jne 0x4681c8
lea ecx, [ebp - 0x30]
call fcn.00467cf0
mov dword [ebp - 4], edi
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x468131
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonSetupUtilities.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x234
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_on_WinHttpOpen:
mov ecx, eax
call fcn.00411050
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0041b590
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 7
jbe 0x4681c4
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4681ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46824a
push ecx
push edx
call fcn.00490f7d
add esp, 8
xor eax, eax
jmp 0x46822f
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea eax, [ebp - 0x14]
push 4
push eax
push 0x54
push edi
mov dword [ebp - 0x18], 0x2a0
mov dword [ebp - 0x14], 0xaa0
call esi
test eax, eax
jne 0x46822d
push 4
lea eax, [ebp - 0x18]
push eax
push 0x54
push edi
call esi
test eax, eax
jne 0x46822d
mov edx, str.Error_on_WinHttpSetOption_SECURE_PROTOCOLS_:
mov ecx, 0x50f6d0
call fcn.00411050
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0041b590
push eax
call fcn.004113d0
add esp, 4
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x46822f
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.00490c46
mov esp, ebp
pop ebp
ret
call fcn.004961af
int3