joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4073f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af823
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4e706c]
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.00487250
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 0x4074a9
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x4074a9
call fcn.00405850
mov edi, eax
jmp 0x4075c5
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4074cc
call fcn.00405850
jmp 0x4075b8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x4074ea
call fcn.00405850
jmp 0x4075b8
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 0x40750b
mov edi, 0x8007000e
jmp 0x4075ba
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x407600
jb 0x407529
cmp eax, 0xffffffff
ja 0x407600
cmp eax, 0x400
jbe 0x40753e
push eax
lea ecx, [ebp - 0x424]
call fcn.00405820
jmp 0x407564
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x407564
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x40757b
mov edi, 0x8007000e
jmp 0x4075ba
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 0x40759b
call fcn.00405850
jmp 0x4075b8
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.00407290
mov edi, eax
test esi, esi
je 0x4075c5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4075e0
lea ecx, [ebp - 0x424]
call fcn.00405800
nop
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.0046ebaf
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00403c20
int3
Function at 0x408310
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 0x4af968
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4e706c]
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], 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
jb 0x40835d
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 0x408499
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 0x4083ae
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x408499
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae 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 0x408487
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 0x408485
mov edi, dword [ebp - 0x84]
cmp edi, 0x14
ja 0x408485
push 0x52
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00487250
add esp, 0xc
xor edx, edx
test edi, edi
je 0x40844c
nop dword [eax]
movzx ecx, byte [ebp + edx - 0x24]
mov eax, ecx
and ecx, 0xf
shr eax, 4
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebp + edx*4 - 0x78], ax
movzx eax, word [ecx*2 + str.0123456789abcdef]
mov word [ebp + edx*4 - 0x76], ax
inc edx
cmp edx, edi
jb 0x408420
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 0x408466
sub edx, ecx
lea eax, [ebp - 0x78]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.00407990
mov bl, 1
jmp 0x40849b
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 edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4084d1
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4084c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084f1
push edx
push ecx
call fcn.0046f0d0
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.0046ebaf
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0048a05c
int3
Function at 0x408500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4e706c]
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], 8
jb 0x40852c
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 0x4085ca
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 0x4085c1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4085c1
push edi
push eax
call fcn.0046f317
mov edi, eax
add esp, 4
test edi, edi
je 0x4085c0
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 0x4085b7
mov eax, dword [ebp - 0xc]
mov ecx, esi
shr eax, 1
dec eax
push eax
push edi
call fcn.00407990
push edi
call fcn.0046f10e
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.0046ebaf
mov esp, ebp
pop ebp
ret 4
Function at 0x4085e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af998
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e706c]
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 0x408626
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 0x4087d4
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 0x4086ba
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4086ba
push eax
call fcn.0046f317
mov edi, eax
add esp, 4
test edi, edi
je 0x4086ba
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 0x4086b1
mov eax, dword [ebp - 0x34]
mov ecx, esi
shr eax, 1
push eax
push edi
call fcn.00407990
push edi
call fcn.0046f10e
add esp, 4
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4086c4
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea edi, [ecx + eax*2]
mov eax, esi
jb 0x4086d0
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 0x4086f6
lea edi, [ecx + 0x3a]
cmp word [eax], 0
jne 0x4086ee
mov word [eax], di
inc ecx
add eax, 2
cmp ecx, edx
jne 0x4086e5
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 0x4087cb
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4087cb
push eax
call fcn.0046f317
mov edi, eax
add esp, 4
test edi, edi
je 0x4087cb
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 0x4087c2
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.00407990
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.0040c2d0
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4087c2
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4087b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087f2
push edx
push ecx
call fcn.0046f0d0
add esp, 8
push edi
call fcn.0046f10e
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.0046ebaf
mov esp, ebp
pop ebp
ret 4
call fcn.0048a05c
int3
Function at 0x40b3c0
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4e706c]
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.00487250
add esp, 0xc
test ebx, ebx
je 0x40b5b7
push 0x204
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00487250
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40b5b1
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.0048d63e
add esp, 0x24
test eax, eax
jne 0x40b5b1
lea eax, [ebp - 0xc]
push eax
push 0x4c8fa0
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0040c800
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 0x40b5b1
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 0x40b5b1
mov edi, dword [ebp - 0x454]
test edi, edi
je 0x40b5b7
push edi
call fcn.0046f317
mov esi, eax
add esp, 4
test esi, esi
je 0x40b535
push edi
push 0
push esi
call fcn.00487250
add esp, 0xc
jmp 0x40b537
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 0x40b585
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
test esi, esi
je 0x40b570
push esi
call fcn.0046f10e
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebaf
mov esp, ebp
pop ebp
ret 8
test esi, esi
je 0x40b561
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40b561
add eax, esi
je 0x40b561
mov ecx, dword [ebp - 0x45c]
push eax
call fcn.0040b2e0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
jmp 0x40b563
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.0046ebaf
mov esp, ebp
pop ebp
ret 8
Function at 0x40c380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4e706c]
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 0x40c40b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x40c3cd
cmp eax, 2
jne 0x40c3e9
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x40c405
test ecx, ecx
je 0x40c400
test cl, 1
jne 0x40c3e9
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x40c405
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebaf
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.0046ebaf
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40da00
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.0040d460
push dword [ebp + 8]
mov ebx, eax
call fcn.0040d510
mov edi, eax
test ebx, ebx
je 0x40da5e
test edi, edi
je 0x40da5e
cmp ebx, edi
je 0x40da5e
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.0040dc80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40daa0
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 0x40dacf
push 1
push 0xf060
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
call fcn.00445d70
mov ecx, ebx
call fcn.0040d460
mov esi, eax
push 4
mov dword [ebp - 4], esi
call fcn.0040d510
mov edi, eax
test esi, esi
je 0x40db2c
test edi, edi
je 0x40db2c
cmp esi, edi
je 0x40db2c
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.0040dc80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c0d0
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 0x41c129
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41c129
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41c118
cmp esi, edx
jae 0x41c129
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41c106
cmp esi, edx
jae 0x41c129
cmp word [esi], 0
je 0x41c129
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 0x4252d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1578
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4e706c]
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 0x425325
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 0x42534e
mov eax, dword [ebp - 0x18]
mov bl, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
jmp 0x425403
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0045f3e0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x425370
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x317
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error
mov ecx, eax
call fcn.0040f7a0
push esi
mov ecx, eax
call fcn.00418700
mov edx, str._calling_GetDiskFreeSpaceEx
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x2c]
add esp, 4
cmp edx, 8
jb 0x425403
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4253f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425420
push edx
push ecx
call fcn.0046f0d0
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.0046ebaf
mov esp, ebp
pop ebp
ret
call fcn.0048a05c
int3
Function at 0x4306f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4e706c]
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 0x43073d
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 0x43077a
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.0046ebaf
mov esp, ebp
pop ebp
ret
Function at 0x437590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4e706c]
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 0x4375c5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebaf
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x437603
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x437603
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.0046ebaf
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4376e1
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x43762d
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 0x437666
push dword [esi + 0x4c]
push edi
call fcn.0049061c
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x4376e6
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebaf
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 0x4376e1
cmp eax, 1
jle 0x4376b4
cmp eax, 3
jne 0x4376e1
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0043e230
add esp, 8
test al, al
movzx eax, di
jne 0x4376e6
jmp 0x4376e1
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x4376d1
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.004908a9
add esp, 0x10
cmp ebx, eax
jne 0x4376e1
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x4375ed
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0046ebaf
mov esp, ebp
pop ebp
ret 4
Function at 0x438ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x438bc8
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x438bb7
jg 0x438b20
test edx, edx
je 0x438bb7
nop dword [eax]
call fcn.0040f6d0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x438b74
jg 0x438b37
test esi, esi
je 0x438b74
cmp ebx, eax
jg 0x438b47
jl 0x438b41
cmp edi, esi
jae 0x438b47
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.00486740
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x438b9b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x438bb1
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x438b20
jl 0x438bb1
test edi, edi
jne 0x438b20
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x438bea
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x438bec
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x438c6a
jg 0x438bff
test esi, esi
je 0x438c6a
test eax, eax
jl 0x438c44
jg 0x438c09
test ebx, ebx
je 0x438c44
cmp edi, eax
jg 0x438c19
jl 0x438c13
cmp esi, ebx
jae 0x438c19
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.00486740
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x438c47
mov edx, dword [ebp + 8]
test edi, edi
jl 0x438c6a
jg 0x438c51
test esi, esi
je 0x438c6a
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x438c6a
push eax
push esi
push 1
push edx
call fcn.004908a9
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc