joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab938
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e006c]
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 esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x34], 0
cmp dword [esi + 0x14], 8
jb 0x411c46
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [ebp - 0x38]
push eax
push 0x101
push ecx
push str.HardwareDescriptionSystem
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411df4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push str.SystemBiosVersion
push dword [ebp - 0x38]
call ebx
test eax, eax
jne 0x411cda
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x411cda
push eax
call fcn.0046a850
mov edi, eax
add esp, 4
test edi, edi
je 0x411cda
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push str.SystemBiosVersion
push dword [ebp - 0x38]
call ebx
test eax, eax
jne 0x411cd1
mov eax, dword [ebp - 0x34]
mov ecx, esi
shr eax, 1
push eax
push edi
call fcn.00407d50
push edi
call fcn.0046a647
add esp, 4
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x411ce4
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea edi, [ecx + eax*2]
mov eax, esi
jb 0x411cf0
mov eax, dword [esi]
mov edx, edi
xor ecx, ecx
sub edx, eax
inc edx
shr edx, 1
cmp eax, edi
cmova edx, ecx
test edx, edx
je 0x411d16
lea edi, [ecx + 0x3a]
cmp word [eax], 0
jne 0x411d0e
mov word [eax], di
inc ecx
add eax, 2
cmp ecx, edx
jne 0x411d05
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push str.SystemBiosDate
push dword [ebp - 0x38]
call ebx
test eax, eax
jne 0x411deb
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x411deb
push eax
call fcn.0046a850
mov edi, eax
add esp, 4
test edi, edi
je 0x411deb
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push str.SystemBiosDate
push dword [ebp - 0x38]
call ebx
test eax, eax
jne 0x411de2
mov eax, dword [ebp - 0x34]
xor ecx, ecx
shr eax, 1
dec eax
mov word [ebp - 0x30], cx
push eax
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
call fcn.00407d50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov ecx, esi
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00415840
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x411de2
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411dd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e12
push edx
push ecx
call fcn.0046a609
add esp, 8
push edi
call fcn.0046a647
add esp, 4
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.0046a0e8
mov esp, ebp
pop ebp
ret 4
call fcn.0048552c
int3
Function at 0x4149e0
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4e006c]
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.00482710
add esp, 0xc
test ebx, ebx
je 0x414bd7
push 0x204
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x414bd1
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.0048e792
add esp, 0x24
test eax, eax
jne 0x414bd1
lea eax, [ebp - 0xc]
push eax
push 0x4c41f8
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00415b80
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 0x414bd1
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 0x414bd1
mov edi, dword [ebp - 0x454]
test edi, edi
je 0x414bd7
push edi
call fcn.0046a850
mov esi, eax
add esp, 4
test esi, esi
je 0x414b55
push edi
push 0
push esi
call fcn.00482710
add esp, 0xc
jmp 0x414b57
xor esi, esi
push 0
lea eax, [ebp - 0x424]
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 0x414ba5
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
test esi, esi
je 0x414b90
push esi
call fcn.0046a647
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a0e8
mov esp, ebp
pop ebp
ret 8
test esi, esi
je 0x414b81
mov eax, dword [esi + 0x18]
test eax, eax
je 0x414b81
add eax, esi
je 0x414b81
mov ecx, dword [ebp - 0x45c]
push eax
call fcn.00414900
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
jmp 0x414b83
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.0046a0e8
mov esp, ebp
pop ebp
ret 8
Function at 0x4158f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4e006c]
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 0x41597b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x41593d
cmp eax, 2
jne 0x415959
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x415975
test ecx, ecx
je 0x415970
test cl, 1
jne 0x415959
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x415975
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a0e8
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.0046a0e8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416d60
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.004167c0
push dword [ebp + 8]
mov ebx, eax
call fcn.00416870
mov edi, eax
test ebx, ebx
je 0x416dbe
test edi, edi
je 0x416dbe
cmp ebx, edi
je 0x416dbe
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.00416fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416e00
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 0x416e2f
push 1
push 0xf060
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
call fcn.00447890
mov ecx, ebx
call fcn.004167c0
mov esi, eax
push 4
mov dword [ebp - 4], esi
call fcn.00416870
mov edi, eax
test esi, esi
je 0x416e8c
test edi, edi
je 0x416e8c
cmp esi, edi
je 0x416e8c
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.00416fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4180d0
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 0x418129
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x418129
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x418118
cmp esi, edx
jae 0x418129
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x418106
cmp esi, edx
jae 0x418129
cmp word [esi], 0
je 0x418129
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 0x42a720
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4acec8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4e006c]
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 0x42a775
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 0x42a79e
mov eax, dword [ebp - 0x18]
mov bl, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
jmp 0x42a853
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0045b1b0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42a7c0
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x2d4
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error
mov ecx, eax
call fcn.0040be10
push esi
mov ecx, eax
call fcn.0041e4e0
mov edx, str._calling_GetDiskFreeSpaceEx
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov edx, dword [ebp - 0x2c]
add esp, 4
cmp edx, 8
jb 0x42a853
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a849
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a870
push edx
push ecx
call fcn.0046a609
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.0046a0e8
mov esp, ebp
pop ebp
ret
call fcn.0048552c
int3
Function at 0x435cf0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4e006c]
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 0x435d3d
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 0x435d7a
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.0046a0e8
mov esp, ebp
pop ebp
ret
Function at 0x43b070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4e006c]
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 0x43b0a5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a0e8
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x43b0e3
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x43b0e3
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.0046a0e8
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x43b1c1
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x43b10d
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 0x43b146
push dword [esi + 0x4c]
push edi
call fcn.0048f937
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x43b1c6
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a0e8
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 0x43b1c1
cmp eax, 1
jle 0x43b194
cmp eax, 3
jne 0x43b1c1
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0043fe40
add esp, 8
test al, al
movzx eax, di
jne 0x43b1c6
jmp 0x43b1c1
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x43b1b1
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.0048661e
add esp, 0x10
cmp ebx, eax
jne 0x43b1c1
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x43b0cd
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0046a0e8
mov esp, ebp
pop ebp
ret 4
Function at 0x43cad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e006c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x43cb7f
cmp byte [esi + 0x3e], 0
je 0x43cb7f
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x43cb35
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 0x43cb47
sub eax, 1
je 0x43cb4b
sub eax, 2
je 0x43cb7f
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a0e8
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x43cb68
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0048661e
add esp, 0x10
cmp edi, eax
jne 0x43cb35
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a0e8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0046a0e8
mov esp, ebp
pop ebp
ret

Function at 0x43d6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab170
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e006c]
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.0046a617
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00466f02
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 0x4434a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4e006c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x4c5ec0
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 0x443578
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x443578
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x443578
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 0x443578
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x443578
push ebx
push dword [ebp - 0x10]
push eax
call fcn.00481c10
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x443578
push 0x10
xor edi, edi
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x443576
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 0x443578
xor esi, esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x44358c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], 0
test edi, edi
je 0x443597
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.0046a0e8
mov esp, ebp
pop ebp
ret
Function at 0x444fb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aef50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4e006c]
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 0x4450c3
cmp byte [0x4e0ab4], 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 0x445049
push dword [ebp - 0x1c]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x445132
mov dword [ebp - 4], 0
call fcn.00403b50
mov ecx, eax
test ecx, ecx
je 0x44514f
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.00417100
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov edx, 0x3a1
mov ecx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbutils.cpp
push esi
call fcn.004433b0
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 0x4450b8
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 0x445132
mov dword [ebp - 4], 3
call fcn.00403b50
mov ecx, eax
test ecx, ecx
je 0x445159
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.00417100
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov edx, 0x3aa
mov ecx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbutils.cpp
push esi
call fcn.004433b0
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 0x445132
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.0046a0e8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403cc0
push 0x80004005
call fcn.00403cc0
int3
Function at 0x445910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af068
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4e006c]
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.00482710
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x445994
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.0046a0e8
mov esp, ebp
pop ebp
ret
call fcn.00403b50
mov ecx, eax
test ecx, ecx
je 0x445ae3
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 0x4459d6
movzx eax, ax
lea ecx, [ebp - 0x220]
push eax
call fcn.00418130
jmp 0x445a02
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4459e0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00415a50
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x220]
mov eax, dword [esi - 0xc]
lea ecx, [eax - 1]
test ecx, ecx
js 0x445ad9
cmp ecx, eax
jg 0x445ad9
cmp word [esi + ecx*2], 0x5c
jne 0x445a40
push 1
push ecx
lea ecx, [ebp - 0x220]
call fcn.0044af50
mov esi, dword [ebp - 0x220]
mov eax, dword [ebx]
lea edi, [esi - 0x10]
mov edx, dword [edi + 4]
cmp dword [eax - 0xc], edx
jl 0x445a83
push edx
push 0
lea eax, [ebp - 0x228]
mov ecx, ebx
push eax
call fcn.0043a6f0
mov byte [ebp - 4], 2
mov dword [ebp - 0x224], 1
test esi, esi
je 0x445aed
push esi
push dword [eax]
call fcn.0048e3fb
add esp, 8
test eax, eax
jne 0x445a83
mov bl, 1
jmp 0x445a85
xor bl, bl
mov dword [ebp - 4], 1
or esi, 0xffffffff
test byte [ebp - 0x224], 1
je 0x445ab9
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 0x445ab9
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 0x445ad2
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x445978
push 0x80070057
call fcn.00403cc0
push 0x80004005
call fcn.00403cc0
push 0x80004005
call fcn.00403cc0
int3