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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000cab0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10014018]
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 eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], edi
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x1b
mov eax, str.SOFTWAREIntelIntelAMTUNS_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.10001ce0
mov eax, esi
mov byte [ebp - 4], 1
lea edx, [eax + 2]
jmp 0x10006580
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10006580
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x2c]
call fcn.100067d0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x100065a6
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x34]
push ecx
push 0x20119
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x1000661c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x30]
push ecx
push edi
push edx
push esi
mov ebx, esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x1000661c
cmp dword [ebp - 0x30], 3
jne 0x1000661c
cmp dword [ebp - 0x18], 8
jb 0x100065fd
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp esi, edi
je 0x10006618
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1000664c
cmp dword [ebp - 0x18], 8
jb 0x1000662f
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp ebx, edi
je 0x1000664a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.1000b730
mov esp, ebp
pop ebp
ret
Function at 0x10006670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ca78
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10014018]
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 + 8]
mov ebx, dword [ebp + 0x28]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x1b
mov eax, str.SOFTWAREIntelIntelAMTUNS_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.10001ce0
mov ecx, dword [ebp + 0x2c]
mov eax, esi
mov byte [ebp - 4], 2
mov dword [ebx], ecx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100066e0
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x2c]
call fcn.100067d0
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x1000670a
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x20119
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10006768
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
cmp dword [ebp + 0x20], esi
jae 0x10006738
lea eax, [ebp + 0xc]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x38]
push edx
push edi
push eax
mov esi, 4
push ecx
mov dword [ebp - 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x10006763
cmp dword [ebp - 0x38], esi
jne 0x10006763
mov eax, dword [ebp - 0x34]
mov dword [ebx], eax
mov esi, 8
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], esi
jb 0x1000677c
mov ecx, dword [ebp - 0x2c]
push ecx
call ebx
add esp, 4
mov eax, dword [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp eax, edi
je 0x1000679a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x20], esi
jb 0x100067a8
mov eax, dword [ebp + 0xc]
push eax
call ebx
add esp, 4
mov al, 1
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.1000b730
mov esp, ebp
pop ebp
ret
Function at 0x10006ee0
Capabilities:
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000c9f0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10014018]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x10014018]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov word [esp + 0x20], cx
mov ecx, eax
mov esi, edx
lea edx, [ecx + 2]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], edx
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10006f46
sub ecx, dword [esp + 0x14]
sar ecx, 1
push ecx
lea ecx, [esp + 0x24]
call fcn.10001ce0
push 1
mov eax, 0x1000e708
lea ecx, [esp + 0x24]
mov dword [esp + 0x8c], ebx
call fcn.100067d0
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10006f80
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [esp + 0x24]
call fcn.100067d0
cmp edi, ebx
jne 0x10006fb4
cmp dword [esp + 0x34], 8
jb 0x100070bd
mov eax, dword [esp + 0x20]
push eax
jmp 0x100070b4
mov esi, dword [esp + 0x18]
mov eax, edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.10005630
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
push ecx
or ecx, 0xffffffff
xor ebx, ebx
lea edi, [esp + 0x40]
mov dword [esp + 0x54], 0xf
call fcn.10005590
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x58], edx
mov byte [esp + 0x88], 2
mov ecx, 0x100147e4
mov dword [esp + 0x18], 0x100147e4
mov dword [esp + 0x1c], ebx
call fcn.1000b710
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 3
call fcn.10009e60
mov edi, eax
lea eax, [esp + 0x3c]
push eax
or ecx, 0xffffffff
call fcn.10005590
mov ecx, dword [esp + 0x58]
mov dword [edi + 0x1c], ecx
mov ecx, 0x100147e4
mov byte [esp + 0x88], 2
call fcn.1000b720
mov esi, 0x10
cmp dword [esp + 0x50], esi
jb 0x10007075
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x70], esi
jb 0x1000709c
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esp + 0x34], 8
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
jb 0x100070bd
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1000b730
mov esp, ebp
pop ebp
ret
Function at 0x10007440
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000c450
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x10014018]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x220], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x228], 0xf003f
mov dword [ebp - 0x224], ebx
call fcn.100010f0
test al, al
je 0x100074ee
mov ebx, str.Advapi32.dll
mov dword [ebp - 0x228], 0xf013f
call section..text
mov dword [ebp - 0x220], eax
test eax, eax
je 0x100074e8
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x224], eax
test eax, eax
je 0x100074e8
push 0
push 0xf013f
push edi
push esi
call eax
mov ebx, dword [ebp - 0x220]
jmp 0x100074f6
mov ebx, dword [ebp - 0x220]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1000750f
test ebx, ebx
je 0x10007505
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x1000766a
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x22c]
push eax
push ecx
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x10007545
test ebx, ebx
je 0x10007538
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
cmp esi, 2
sete al
jmp 0x1000766a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [edi + eax*2 - 2], 0x5c
lea esi, [edi + eax*2]
je 0x10007567
mov edx, 0x5c
mov word [esi], dx
add esi, 2
xor eax, eax
mov word [esi], ax
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x22c]
push 0
push 0
push 0
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x21c]
push eax
push 0
push ecx
mov dword [ebp - 0x230], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100075fb
nop
lea edx, [ebp - 0x21c]
mov ecx, esi
call fcn.10007250
mov ebx, dword [ebp - 0x234]
push edi
push ebx
call fcn.10007440
add esp, 8
test eax, eax
je 0x10007601
lea edx, [ebp - 0x23c]
push edx
mov edx, dword [ebp - 0x22c]
push 0
push 0
push 0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0
push edx
mov dword [ebp - 0x230], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x100075a0
jmp 0x10007601
mov ebx, dword [ebp - 0x234]
xor eax, eax
mov word [esi - 2], ax
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1000762d
mov edx, dword [ebp - 0x228]
push 0
push edx
push edi
push ebx
call eax
jmp 0x10007635
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x10007648
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x10007668
lea eax, [esi + 1]
jmp 0x1000766a
xor eax, eax
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.1000b730
mov esp, ebp
pop ebp
ret
Function at 0x10007910
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000cd28
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10014018]
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 edi, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
mov eax, 0x1000e442
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10005630
lea esi, [edi + 0x1c]
mov eax, 8
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], eax
jb 0x10007970
mov ecx, dword [esi]
jmp 0x10007972
mov ecx, esi
cmp dword [edi + 0x14], eax
jb 0x1000797b
mov eax, dword [edi]
jmp 0x1000797d
mov eax, edi
push eax
call fcn.100070e0
add esp, 4
mov byte [ebp - 0x2d], 1
mov ebx, 0xf003f
call fcn.100010f0
test al, al
je 0x1000799d
mov ebx, 0xf013f
cmp dword [edi + 0x14], 8
jb 0x100079a5
mov edi, dword [edi]
lea eax, [ebp - 0x34]
push eax
push ebx
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100079f5
cmp dword [esi + 0x14], 8
jb 0x100079c4
mov esi, dword [esi]
mov ecx, dword [ebp - 0x34]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100079e6
cmp eax, 2
je 0x100079e6
mov edx, dword [ebp - 0x34]
push edx
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100079f8
mov edx, dword [ebp - 0x34]
mov bl, byte [ebp - 0x2d]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100079f8
mov bl, byte [ebp - 0x2d]
cmp dword [ebp - 0x18], 0x10
jb 0x10007a0b
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 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.1000b730
mov esp, ebp
pop ebp
ret 4
Function at 0x100092b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000cbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10014018]
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 edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], 1
mov word [ebp - 0x2c], ax
push eax
mov eax, 0x1000e3a0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.10001ce0
mov byte [ebp - 4], 2
mov esi, 0xf003f
call fcn.100010f0
test al, al
je 0x1000931e
mov esi, 0xf013f
cmp dword [ebp + 0x28], 8
mov eax, dword [ebp + 0x14]
jae 0x1000932a
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
push esi
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
test eax, eax
jne 0x1000939c
cmp dword [ebp + 0x44], 8
mov eax, dword [ebp + 0x30]
jae 0x1000935d
lea eax, [ebp + 0x30]
push ebx
push edi
push esi
push 0
push eax
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10009381
mov edx, dword [ebp - 0x34]
push edx
mov byte [ebp - 0x2d], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100093a0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.10009c90
mov edx, dword [ebp - 0x34]
add esp, 4
push edx
mov byte [ebp - 0x2d], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100093a0
mov byte [ebp - 0x2d], 0
cmp byte [ebp + 0x4c], 0
je 0x100093d4
cmp byte [ebp - 0x2d], 1
jne 0x100093d4
mov edx, dword [ebp + 0x30]
mov eax, 8
cmp dword [ebp + 0x44], eax
jae 0x100093bc
lea edx, [ebp + 0x30]
cmp dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x14]
jae 0x100093c7
lea eax, [ebp + 0x14]
push eax
push esi
push ebx
mov ecx, edi
call fcn.10006ee0
add esp, 0xc
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x100093eb
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp + 0x28], esi
jb 0x10009410
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x24], edi
mov word [ebp + 0x14], ax
cmp dword [ebp + 0x44], esi
jb 0x1000942e
mov ecx, dword [ebp + 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, byte [ebp - 0x2d]
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.1000b730
mov esp, ebp
pop ebp
ret 0x48
Function at 0x1000b010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000cb98
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10014018]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x10014018]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
mov dword [esp + 0x78], ebx
mov edi, dword [eax]
mov dword [esp + 0x14], edi
cmp edi, dword [eax + 4]
jae 0x1000b1bb
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x28]
call sym.Common.dll_private:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_WindowsStringLoader::loadString_unsigned_int_
mov esi, eax
lea edx, [esp + 0x2c]
cmp edx, esi
je 0x1000b108
cmp dword [esp + 0x40], 8
jb 0x1000b0b1
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
cmp dword [esi + 0x14], 8
jae 0x1000b0e3
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x30]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x1000b0eb
mov ecx, dword [esi]
mov dword [esp + 0x2c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x3c], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x40], eax
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x5c], 8
jb 0x1000b121
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esp + 0x3c], ebx
je 0x1000b192
mov eax, dword [edi]
push ebx
lea edx, [esp + 0x30]
mov dword [esp + 0x4c], eax
xor ecx, ecx
push edx
or eax, 0xffffffff
lea edi, [esp + 0x54]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], cx
call fcn.10001b10
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x48]
mov edx, esi
mov byte [esp + 0x78], 2
call fcn.1000b590
push esi
mov ebx, eax
lea esi, [esp + 0x28]
call fcn.1000b210
mov byte [esp + 0x78], 0
cmp dword [esp + 0x60], 8
jb 0x1000b18c
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [esp + 0x18]
add edi, 4
mov dword [esp + 0x14], edi
cmp edi, dword [ecx + 4]
jb 0x1000b081
cmp dword [esp + 0x40], 8
jb 0x1000b1bb
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1000b730
mov esp, ebp
pop ebp
ret 8
Function at 0x1000b730
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10014018]
jne 0x1000b73a
repz ret
jmp fcn.1000bcc8
Function at 0xc8f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc8f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc8f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc8f06a
add dl, dl
jne 0xc8f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc8f0dc
xor eax, eax
add dl, dl
jne 0xc8f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc8f17d
add dl, dl
jne 0xc8f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc8f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc8f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc8f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc8f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc8f075
mov eax, 1
add dl, dl
jne 0xc8f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc8f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc8f0e1
sub eax, ebx
mov ebx, 1
jne 0xc8f128
mov ecx, 1
add dl, dl
jne 0xc8f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc8f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc8f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc8f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc8f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc8f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc8f136
cmp eax, 0x7d00
jae 0xc8f16d
cmp eax, 0x500
jb 0xc8f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc8f075
cmp eax, 0x7f
ja 0xc8f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc8f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc8f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc8f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x401036
mov edx, 0x403200
jmp 0x401109
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x430]
push str._scmd.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x46c], 0x3c
lea eax, [ebp - 0x430]
mov dword [ebp - 0x468], 0x40
xorps xmm0, xmm0
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x46c]
movlpd qword [ebp - 0x448], xmm0
push eax
movlpd qword [ebp - 0x440], xmm0
movlpd qword [ebp - 0x438], xmm0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], str.open
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x401104
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x401104
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402086
mov esp, ebp
pop ebp
ret
mov edx, str.ShellExecuteEx_failed.
push 0x401be0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.004019b0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00402086
mov esp, ebp
pop ebp
ret
Function at 0x4028be
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4028fd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4028fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4028fd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4028fd
cmp dword [ecx + 0x74], 0xe
jbe 0x4028fd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret