joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465ed0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x43000]
push edi
or ebp, 0xffffffff
jmp 0x465ef2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x465ef9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x465ee8
mov eax, 1
add ebx, ebx
jne 0x465f0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x465f00
jne 0x465f1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465f00
xor ecx, ecx
sub eax, 3
jb 0x465f30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465fa2
mov ebp, eax
add ebx, ebx
jne 0x465f3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465f48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465f6c
inc ecx
add ebx, ebx
jne 0x465f58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465f4d
jne 0x465f69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465f4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465f8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465f7d
jmp 0x465eee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465f8c
add edi, ecx
jmp 0x465eee
pop esi
mov edi, esi
mov ecx, 0xf58
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465faa
cmp byte [edi], 0xe
jne 0x465faa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x465faf
lea edi, [esi + 0x62000]
mov eax, dword [edi]
or eax, eax
je 0x466027
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x871b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x872a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465fdc
mov ecx, edi
jns 0x46600b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x872ac]
or eax, eax
je 0x466021
mov dword [ebx], eax
add ebx, 4
jmp 0x465ff9
call dword [esi + 0x872bc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x466058
cmp al, 0xef
ja 0x46604b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x46602d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x46603a
mov ebp, dword [esi + 0x872b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x46608c
sub esp, 0xffffff80
jmp 0x41317f
Function at 0x404a90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x404b0c
mov esi, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x404ac5
push edi
mov ecx, esi
call fcn.00404a30
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x404aed
mov ecx, dword [esi]
test ecx, ecx
je 0x404af1
push dword [ecx - 8]
push ecx
call fcn.004889d3
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x404b0c
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x404b0c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.00404ea0
int3
Function at 0x407f50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4de080]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 4]
or eax, 0x2001f
mov dword [esp + 0xc], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.00407e60
mov esi, eax
test esi, esi
je 0x407fd1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x407fb8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00483226
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esp + 0x2c]
call edi
test eax, eax
jne 0x408039
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.00407f50
mov esi, eax
test esi, esi
jne 0x40808b
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
call edi
test eax, eax
je 0x408000
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x408052
push eax
call esi
mov dword [esp + 0x10], 0
push dword [esp + 0xc]
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.004080e0
mov ecx, dword [esp + 0x10]
mov edi, eax
test ecx, ecx
je 0x408072
push ecx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00483226
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x407fb8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00483226
mov esp, ebp
pop ebp
ret 4
Function at 0x408d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ada48
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4de080]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.00485800
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x408df9
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x408df9
call fcn.00407100
mov edi, eax
jmp 0x408f15
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x408e1c
call fcn.00407100
jmp 0x408f08
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x408e3a
call fcn.00407100
jmp 0x408f08
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x408e5b
mov edi, 0x8007000e
jmp 0x408f0a
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x408f4e
jb 0x408e79
cmp eax, 0xffffffff
ja 0x408f4e
cmp eax, 0x400
jbe 0x408e8e
push eax
lea ecx, [ebp - 0x424]
call fcn.004070d0
jmp 0x408eb4
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x408eb4
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x408ecb
mov edi, 0x8007000e
jmp 0x408f0a
push edi
push dword [ebp - 0x424]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x408eeb
call fcn.00407100
jmp 0x408f08
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.00408be0
mov edi, eax
test esi, esi
je 0x408f15
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x408f2e
lea ecx, [ebp - 0x424]
call fcn.004070b0
mov eax, edi
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.00483226
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00404ea0
int3
Function at 0x409bc0
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4adc5d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4de080]
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 esi, dword [ebp + 0x20]
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
jbe 0x409c0d
mov eax, dword [esi]
push 0xf0000000
xor ecx, ecx
mov dword [esi + 0x10], 0
push 1
push ecx
mov word [eax], cx
lea eax, [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x409d48
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
jne 0x409c5e
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x409d48
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
add eax, eax
push eax
push ecx
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
test eax, eax
je 0x409d36
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x14
push eax
lea eax, [ebp - 0x24]
push eax
push 2
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x409d34
mov edi, dword [ebp - 0x84]
cmp edi, 0x14
ja 0x409d34
push 0x52
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00485800
add esp, 0xc
xor edx, edx
test edi, edi
je 0x409cfb
lea ebx, [ebp - 0x78]
nop
movzx ecx, byte [ebp + edx - 0x24]
mov eax, ecx
and ecx, 0xf
shr eax, 4
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + edx*4], ax
movzx eax, word [ecx*2 + str.0123456789abcdef]
mov word [ebp + edx*4 - 0x76], ax
inc edx
cmp edx, edi
jb 0x409cd0
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea edx, [ebp - 0x78]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x409d15
sub edx, ecx
lea eax, [ebp - 0x78]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.0040db20
mov bl, 1
jmp 0x409d4a
push 0
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x409d80
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409d76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409da0
push ecx
push edx
call fcn.0048355d
add esp, 8
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.00483226
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0048878f
int3
Function at 0x409db0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4de080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
cmp dword [esi + 0x14], 7
jbe 0x409ddc
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [ebp - 0x10]
push eax
push 0x101
push ecx
push str.SoftwareMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409e76
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409e6d
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x409e6d
push edi
push eax
call fcn.004837a6
add esp, 4
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409e63
mov eax, dword [ebp - 0xc]
mov ecx, esi
shr eax, 1
dec eax
push eax
push edi
call fcn.0040db20
push edi
call fcn.0048356b
add esp, 4
pop edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00483226
mov esp, ebp
pop ebp
ret 4
Function at 0x40d1b0
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4de080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x420]
push esi
push edi
push 0x208
push 0
push eax
mov dword [ebp - 0x45c], ebx
call fcn.00485800
add esp, 0xc
test ebx, ebx
je 0x40d397
push 0x204
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00485800
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40d391
push 0
push 0
push 0
push 0
push 0
push 0
push 3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048d71b
add esp, 0x24
test eax, eax
jne 0x40d391
lea eax, [ebp - 0xc]
push eax
push 0x4c1378
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0040e2a0
add esp, 0x10
lea eax, [ebp - 0x420]
push 0
push 0x80
push 3
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d391
push 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x428], 0
push eax
push 8
lea eax, [ebp - 0x458]
mov dword [ebp - 0x430], 0
push eax
push 0xc
lea eax, [ebp - 0x430]
mov dword [ebp - 0x42c], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x424], 0
push 0x2d1400
push ebx
movups xmmword [ebp - 0x458], xmm0
movups xmmword [ebp - 0x448], xmm0
movq qword [ebp - 0x438], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40d391
mov edi, dword [ebp - 0x454]
test edi, edi
je 0x40d397
push edi
call fcn.004837a6
add esp, 4
mov esi, eax
push edi
push 0
push esi
call fcn.00485800
add esp, 0xc
lea eax, [ebp - 0x424]
push 0
push eax
push edi
push esi
push 0xc
lea eax, [ebp - 0x430]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x40d369
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call fcn.0048356b
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00483226
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40d349
add eax, esi
je 0x40d349
mov ecx, dword [ebp - 0x45c]
push eax
call fcn.0040d0d0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
jmp 0x40d34b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00483226
mov esp, ebp
pop ebp
ret 8
Function at 0x40dc30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4de080]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40dcbb
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x40dc7d
cmp eax, 2
jne 0x40dc99
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x40dcb5
test ecx, ecx
je 0x40dcb0
test cl, 1
jne 0x40dc99
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x40dcb5
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00483226
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00483226
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40f6a0
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 0x40f6cf
push 1
push 0xf060
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
call fcn.0044b740
mov ecx, ebx
call fcn.0040f110
mov esi, eax
push 4
mov dword [ebp - 4], esi
call fcn.0040f1c0
mov edi, eax
test esi, esi
je 0x40f72c
test edi, edi
je 0x40f72c
cmp esi, edi
je 0x40f72c
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.0040fa50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412920
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 0x41297b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41297b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x412968
cmp esi, edx
jae 0x41297b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x412956
cmp esi, edx
jae 0x41297b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x423a40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af731
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4de080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi], vtable.CMBMessageBox.0
mov dword [esi + 0x24], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x20], vtable.CMBImageCtrl.0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], eax
mov dword [esi + 0x54], vtable.CMBButtonCtrl.0
mov dword [esi + 0x78], 0xff
mov dword [esi + 0x7c], 0xff00
mov dword [esi + 0x80], 0xff0000
mov dword [esi + 0x84], 0xffff
mov dword [esi + 0x88], 0xffff00
mov dword [esi + 0x8c], 0xff00ff
mov dword [esi + 0x94], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], eax
mov dword [esi + 0x90], vtable.CMBButtonCtrl.0
mov dword [esi + 0xb4], 0xff
mov dword [esi + 0xb8], 0xff00
mov dword [esi + 0xbc], 0xff0000
mov dword [esi + 0xc0], 0xffff
mov dword [esi + 0xc4], 0xffff00
mov dword [esi + 0xc8], 0xff00ff
mov dword [esi + 0xd0], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], eax
mov dword [esi + 0xcc], vtable.CMBButtonCtrl.0
mov dword [esi + 0xf0], 0xff
mov dword [esi + 0xf4], 0xff00
mov dword [esi + 0xf8], 0xff0000
mov dword [esi + 0xfc], 0xffff
mov dword [esi + 0x100], 0xffff00
mov dword [esi + 0x104], 0xff00ff
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov byte [ebp - 4], 7
lea edi, [esi + 0x120]
mov eax, dword [ebp + 0xc]
mov byte [esi + 0x114], 1
mov dword [esi + 0x118], 0x80
mov dword [esi + 0x11c], eax
mov dword [ebp + 0xc], edi
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x423cf2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov edx, dword [ebp + 0x10]
mov byte [ebp - 4], 8
test edx, edx
je 0x423cb3
test edx, 0xffff0000
jne 0x423c9d
movzx eax, dx
mov ecx, edi
push eax
call fcn.00412990
jmp 0x423cbe
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423ca2
sub eax, ebx
sar eax, 1
jmp 0x423cb5
xor eax, eax
push eax
push edx
mov ecx, edi
call fcn.0040e140
mov dword [esi + 0x124], 0x6a6
mov eax, esi
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404ea0
int3
Function at 0x4295d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afaad
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4de080]
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], 7
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
jbe 0x429625
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 0x42964e
mov eax, dword [ebp - 0x18]
mov bl, 1
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x429703
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00467c30
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x429670
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0x317
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error
mov ecx, eax
call fcn.00411040
push esi
mov ecx, eax
call fcn.0041b4e0
mov edx, str._calling_GetDiskFreeSpaceEx
mov ecx, eax
call fcn.00411040
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 7
jbe 0x429703
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4296f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429720
push ecx
push edx
call fcn.0048355d
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.00483226
mov esp, ebp
pop ebp
ret
call fcn.0048878f
int3
Function at 0x435780
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4de080]
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 0x4357cd
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 0x43580a
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.00483226
mov esp, ebp
pop ebp
ret