joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.0040ed70
push dword [ebp + 8]
mov ebx, eax
call fcn.0040ee20
mov edi, eax
test ebx, ebx
je 0x40f36e
test edi, edi
je 0x40f36e
cmp ebx, edi
je 0x40f36e
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx]
call esi
push 5
push dword [edi]
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0xfffffffffffffff4
push dword [ebx]
call esi
push 0xe900
push 0xfffffffffffffff4
push dword [edi]
call esi
mov ecx, dword [ebp - 4]
push 1
call fcn.0040f4f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40f3b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
test esi, esi
je 0x40f3df
push 1
push 0xf060
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
call fcn.0043f820
mov ecx, ebx
call fcn.0040ed70
mov esi, eax
push 4
mov dword [ebp - 4], esi
call fcn.0040ee20
mov edi, eax
test esi, esi
je 0x40f43c
test edi, edi
je 0x40f43c
cmp esi, edi
je 0x40f43c
push 0
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 5
push dword [edi]
call esi
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0xfffffffffffffff4
push dword [eax]
call esi
push 0xe900
push 0xfffffffffffffff4
push dword [edi]
call esi
push 1
mov ecx, ebx
call fcn.0040f4f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4107b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x410809
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x410809
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4107f8
cmp esi, edx
jae 0x410809
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4107e6
cmp esi, edx
jae 0x410809
cmp word [esi], 0
je 0x410809
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x421a90
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bec8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4cb06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xorps xmm0, xmm0
mov dword [esi], 0
xor bl, bl
mov dword [esi + 4], 0
cmp dword [ecx + 0x14], 8
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
jb 0x421ae5
mov ecx, dword [ecx]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x421b0e
mov eax, dword [ebp - 0x18]
mov bl, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
jmp 0x421bc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0044e680
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x421b30
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4cf1e0
call fcn.0040bda0
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040ab10
mov edx, str.:.
mov ecx, eax
call fcn.0040ab10
push 0x2b4
mov ecx, eax
call fcn.00407be0
mov edx, str.:_Error
mov ecx, eax
call fcn.0040ab10
push esi
mov ecx, eax
call fcn.004167c0
mov edx, str._calling_GetDiskFreeSpaceEx
mov ecx, eax
call fcn.0040ab10
push eax
call fcn.0040ae80
mov edx, dword [ebp - 0x2c]
add esp, 4
cmp edx, 8
jb 0x421bc3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421bb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421be0
push edx
push ecx
call fcn.0045d989
add esp, 8
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.0045d468
mov esp, ebp
pop ebp
ret
call fcn.004786bc
int3
Function at 0x42bc90
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x2001f
push 0
push str.SOFTWAREMalwarebytes
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bcdd
push str.IrisFirstRun
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x2001f
push 0
push str.SOFTWAREWOW6432NodeMalwarebytes
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bd1a
push str.IrisFirstRun
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret
Function at 0x432430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x432465
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x4324a3
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x4324a3
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x432581
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x4324cd
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x432506
push dword [esi + 0x4c]
push edi
call fcn.004824d3
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x432586
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret 4
movzx eax, di
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x432581
cmp eax, 1
jle 0x432554
cmp eax, 3
jne 0x432581
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.00437470
add esp, 8
test al, al
movzx eax, di
jne 0x432586
jmp 0x432581
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x432571
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.004797ae
add esp, 0x10
cmp ebx, eax
jne 0x432581
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x43248d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0045d468
mov esp, ebp
pop ebp
ret 4
Function at 0x433e90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x433f3f
cmp byte [esi + 0x3e], 0
je 0x433f3f
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x433ef5
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x433f07
sub eax, 1
je 0x433f0b
sub eax, 2
je 0x433f3f
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x433f28
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004797ae
add esp, 0x10
cmp edi, eax
jne 0x433ef5
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0045d468
mov esp, ebp
pop ebp
ret

Function at 0x434af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49aa60
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4cb06c]
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
call fcn.0045d997
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0045a2b0
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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 0x43ad60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x4b3578
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 0x43ae38
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x43ae38
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43ae38
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 0x43ae38
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43ae38
push ebx
push dword [ebp - 0x10]
push eax
call fcn.00474c00
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x43ae38
push 0x10
xor edi, edi
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x43ae36
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 0x43ae38
xor esi, esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x43ae4c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], 0
test edi, edi
je 0x43ae57
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.0045d468
mov esp, ebp
pop ebp
ret
Function at 0x43d170
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49df90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4cb06c]
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 0x43d283
cmp byte [0x4cbaa4], 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 0x43d209
push dword [ebp - 0x1c]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43d2f2
mov dword [ebp - 4], 0
call fcn.00403580
mov ecx, eax
test ecx, ecx
je 0x43d30f
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.00410540
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov edx, 0x399
mov ecx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbutils.cpp
push esi
call fcn.0043ac70
add esp, 4
add esi, 0xfffffff0
mov dword [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43d278
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 0x43d2f2
mov dword [ebp - 4], 3
call fcn.00403580
mov ecx, eax
test ecx, ecx
je 0x43d319
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], 4
push str.Error_calling_RegCreateKeyExW__0x_08X_
push eax
call fcn.00410540
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov edx, 0x3a2
mov ecx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbutils.cpp
push esi
call fcn.0043ac70
add esp, 4
add esi, 0xfffffff0
mov dword [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43d2f2
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.0045d468
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004036f0
push 0x80004005
call fcn.004036f0
int3
Function at 0x43dad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4cb06c]
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.00475700
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x43db54
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.0045d468
mov esp, ebp
pop ebp
ret
call fcn.00403580
mov ecx, eax
test ecx, ecx
je 0x43dca3
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 0x43db96
movzx eax, ax
lea ecx, [ebp - 0x220]
push eax
call fcn.00410810
jmp 0x43dbc2
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43dba0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.0041a420
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x220]
mov eax, dword [esi - 0xc]
lea ecx, [eax - 1]
test ecx, ecx
js 0x43dc99
cmp ecx, eax
jg 0x43dc99
cmp word [esi + ecx*2], 0x5c
jne 0x43dc00
push 1
push ecx
lea ecx, [ebp - 0x220]
call fcn.00442a80
mov esi, dword [ebp - 0x220]
mov eax, dword [ebx]
lea edi, [esi - 0x10]
mov edx, dword [edi + 4]
cmp dword [eax - 0xc], edx
jl 0x43dc43
push edx
push 0
lea eax, [ebp - 0x228]
mov ecx, ebx
push eax
call fcn.00431950
mov byte [ebp - 4], 2
mov dword [ebp - 0x224], 1
test esi, esi
je 0x43dcad
push esi
push dword [eax]
call fcn.004816eb
add esp, 8
test eax, eax
jne 0x43dc43
mov bl, 1
jmp 0x43dc45
xor bl, bl
mov dword [ebp - 4], 1
or esi, 0xffffffff
test byte [ebp - 0x224], 1
je 0x43dc79
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43dc79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 5
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x43dc92
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x43db38
push 0x80070057
call fcn.004036f0
push 0x80004005
call fcn.004036f0
push 0x80004005
call fcn.004036f0
int3
Function at 0x43dcc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e0f1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4cb06c]
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.00403580
mov ecx, eax
test ecx, ecx
je 0x43de61
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 0x4a24dc
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
or edi, 0xffffffff
test eax, eax
jne 0x43de1b
mov edx, dword [ebp - 0x18]
test edx, edx
jne 0x43dd4c
xor ecx, ecx
jmp 0x43dd60
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43dd51
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0041a420
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 0x43de57
cmp ecx, eax
jg 0x43de57
cmp word [esi + ecx*2], 0x5c
jne 0x43dda8
push 1
push ecx
lea ecx, [ebp - 0x14]
call fcn.00442a80
mov esi, dword [ebp - 0x14]
mov eax, dword [ebx]
mov edx, dword [esi - 0xc]
cmp dword [eax - 0xc], edx
jl 0x43dde6
push edx
push 0
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00431950
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], 1
test esi, esi
je 0x43de6b
push esi
push dword [eax]
call fcn.004816eb
add esp, 8
test eax, eax
jne 0x43dde6
mov bl, 1
jmp 0x43dde8
xor bl, bl
mov dword [ebp - 4], 1
test byte [ebp - 0x1c], 1
je 0x43de13
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43de13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x43de1b
mov bl, 1
jmp 0x43de1d
xor bl, bl
add esi, 0xfffffff0
mov dword [ebp - 4], 6
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x43de39
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.0045d468
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004036f0
push 0x80004005
call fcn.004036f0
push 0x80004005
call fcn.004036f0
int3
Function at 0x4433c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e5b7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cb06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 0x48
call fcn.0045d997
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0xc]
mov dword [edi + 4], 1
lea ecx, [esi + 4]
mov dword [edi + 8], 1
xor eax, eax
mov dword [edi], vtable.std::_Ref_count_obj_class_MBAMService_.0
mov dword [esi], vtable.MBAMService.0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov dword [ebp - 0x14], esi
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], 8
push str.MBAMService
mov byte [esi + 0x34], 1
call fcn.00407780
xorps xmm0, xmm0
mov eax, ebx
movq qword [ebx], xmm0
mov dword [ebx], esi
mov dword [ebx + 4], 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
Function at 0x446800
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x116c
call fcn.0045e770
mov eax, dword [0x4cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, ecx
push esi
mov ecx, dword [eax + 8]
cmp ecx, 0xfffffffe
je 0x44682e
cmp ecx, 0xfffffffc
jne 0x446a3a
mov ecx, dword [eax]
cmp ecx, dword [edx + 0x24]
jne 0x4469e9
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xorps xmm0, xmm0
movq qword [ebp - 0xa8], xmm0
mov dword [ebp - 0xa0], 0
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], 0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xb0], 0x4b977c
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x8c], vtable.CMBImageCtrl.0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x58], vtable.CMBImageCtrl.0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
mov eax, dword [ebp - 0x9c]
test eax, eax
jne 0x446964
call fcn.0045d2c8
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x446964
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0xb0]
call fcn.00446a50
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push eax
call fcn.0045d3ca
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x4cc36c
mov dword [ebp - 0xa4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4cc384]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa8]
push 0x4cc36c
mov dword [0x4cc384], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x40f610
push esi
push 0x82
push dword [0x4cf788]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [ebp - 0xb0]
call fcn.00446a50
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret 0x10
cmp ecx, dword [edx + 0x130]
jne 0x446a3a
add eax, 0xc
push 0x10b8
push eax
lea eax, [ebp - 0x1168]
push eax
call fcn.00474c00
mov eax, dword [ebp - 0x1164]
add esp, 0xc
test eax, eax
jne 0x446a1e
push 1
push eax
push eax
push str.https:__www.malwarebytes.com_eula_
jmp 0x446a2d
cmp eax, 1
jne 0x446a3a
push eax
push 0
push 0
push str.https:__www.malwarebytes.com_legal_privacy_policy
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0045d468
mov esp, ebp
pop ebp
ret 0x10