joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460d10
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0x4c11db7
push 0x400
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.0057ccd0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x460d45
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xff
jg 0x460dde
push 8
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 8]
call fcn.00460e50
shl eax, 0x18
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
mov dword [ebp - 0xc], 0
jmp 0x460d7e
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x460dbc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
and eax, 0x80000000
je 0x460d9c
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
jmp 0x460da3
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4]
shl ecx, 1
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [eax + edx*4], ecx
jmp 0x460d75
push 0x20
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 8]
call fcn.00460e50
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x460d3c
mov esp, ebp
pop ebp
ret

Function at 0x4638e0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a786d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x14], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x5b96b4
call fcn.00415e60
lea eax, [ebp - 0x10]
push eax
call fcn.00462850
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00414330
lea eax, [ebp - 0x24]
push eax
call fcn.00462060
add esp, 8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0041afc0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x80], eax
lea ecx, [ebp - 0x24]
call fcn.004185c0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x80], 0
jne 0x46399f
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004185c0
mov eax, dword [ebp - 0x28]
jmp 0x4639fb
push 0x2710
push 0x2710
push 0x2710
push 0x2710
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x80]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x4639e2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004185c0
mov eax, dword [ebp - 0x2c]
jmp 0x4639fb
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004185c0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4700a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov dword [ebp - 0x24], 0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00413e40
push eax
mov ecx, esi
call fcn.004654d0
lea ecx, [ebp - 0x58]
call fcn.00417170
mov dword [ebp - 0x30], eax
cmp dword [ebp - 4], 0
je 0x47018d
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x14]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x47018d
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47018d
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x18], eax
push 0x40cc0020
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x58]
call fcn.00419b90
mov eax, dword [ebp - 0x1c]
jmp 0x47019f
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x58]
call fcn.00419b90
mov eax, dword [ebp - 0x20]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x470230
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a786d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push 0x44
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.0057ccd0
add esp, 0xc
mov dword [ebp - 0x64], 0x44
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00414330
mov dword [ebp - 4], 0
push 0x20
lea ecx, [ebp - 0x10]
call fcn.00420320
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x10]
call fcn.00420190
lea ecx, [ebp - 0x10]
call fcn.0041afc0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
call fcn.0041afc0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push 0x200
push 0
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4702e5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004185c0
mov eax, dword [ebp - 0x1c]
jmp 0x4702fe
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004185c0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x476af0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041afc0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x476b1d
or eax, 0xffffffff
jmp 0x476b44
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x476b42
mov edx, dword [ebp - 4]
and edx, 0x10
jne 0x476b42
mov eax, 1
jmp 0x476b44
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x47ec50
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0xc]
call fcn.0041afc0
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47ecda
lea ecx, [ebp + 8]
call fcn.0041afc0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x47ecb7
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 1], 1
lea ecx, [ebp + 8]
call fcn.004185c0
lea ecx, [ebp + 0xc]
call fcn.004185c0
mov al, byte [ebp - 1]
jmp 0x47ecf1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.004185c0
lea ecx, [ebp + 0xc]
call fcn.004185c0
mov al, byte [ebp - 2]
jmp 0x47ecf1
mov byte [ebp - 3], 0
lea ecx, [ebp + 8]
call fcn.004185c0
lea ecx, [ebp + 0xc]
call fcn.004185c0
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret

Function at 0x47ed00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x10]
call fcn.0041afc0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47ed9d
lea ecx, [ebp + 8]
call fcn.0041afc0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47ed7a
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 1], 1
lea ecx, [ebp + 8]
call fcn.004185c0
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov al, byte [ebp - 1]
jmp 0x47edb4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.004185c0
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov al, byte [ebp - 2]
jmp 0x47edb4
mov byte [ebp - 3], 1
lea ecx, [ebp + 8]
call fcn.004185c0
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret
Function at 0x47edc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad35d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00414580
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0x1000
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x10]
call fcn.0041afc0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47eeac
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.00422650
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 0xc]
call fcn.0041afc0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00470bb0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00414330
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004185c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004185c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov eax, dword [ebp + 8]
jmp 0x47eeec
push 0x5ba358
mov ecx, dword [ebp + 8]
call fcn.00414470
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004185c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004185c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x47ef00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x10]
call fcn.0041afc0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47ef96
lea ecx, [ebp + 8]
call fcn.0041afc0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x47ef73
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 1], 1
lea ecx, [ebp + 8]
call fcn.004185c0
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov al, byte [ebp - 1]
jmp 0x47efad
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.004185c0
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov al, byte [ebp - 2]
jmp 0x47efad
mov byte [ebp - 3], 0
lea ecx, [ebp + 8]
call fcn.004185c0
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret
Function at 0x47efc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad38d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x1000
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x10]
call fcn.0041afc0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47f0c3
lea ecx, [ebp + 0xc]
call fcn.00422820
shl eax, 1
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 0xc]
call fcn.00422670
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 8]
call fcn.0041afc0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
mov edx, dword [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x47f089
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004185c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004185c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov al, byte [ebp - 0xd]
jmp 0x47f0f1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004185c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004185c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov al, byte [ebp - 0xe]
jmp 0x47f0f1
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004185c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004185c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004185c0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4826a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00422920
movzx eax, al
test eax, eax
jne 0x4826f2
mov ecx, dword [ebp + 0xc]
call fcn.00422920
movzx ecx, al
test ecx, ecx
je 0x482779
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.invalid_parameters
call fcn.00415e60
lea edx, [ebp - 0x14]
push edx
call fcn.00462850
add esp, 0x1c
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea eax, [ebp - 0x14]
push eax
call fcn.00414330
lea ecx, [ebp - 0x30]
push ecx
call fcn.00462060
add esp, 8
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00464e80
push 0x5d6e48
lea ecx, [ebp - 0xb4]
push ecx
call fcn.0057d10e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004185c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004185c0
push 0x5c
lea ecx, [ebp + 8]
call fcn.00420320
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp + 8]
call fcn.00420190
push 0
lea ecx, [ebp + 8]
call fcn.0041afc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x482847
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xb7
je 0x482847
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.CreateDirectory_failed
call fcn.00415e60
lea eax, [ebp - 0x1c]
push eax
call fcn.00462850
add esp, 0x1c
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00414330
lea eax, [ebp - 0x3c]
push eax
call fcn.00462060
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0xc0]
call fcn.00464e80
push 0x5d6e48
lea eax, [ebp - 0xc0]
push eax
call fcn.0057d10e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004185c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004185c0
jmp 0x482981
mov dword [ebp - 4], 0
jmp 0x48299e
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004185c0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4839d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad59b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.SoftwarePCAppStore
call fcn.00415e60
lea eax, [ebp - 0x24]
push eax
call fcn.00462850
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.0041afc0
push eax
lea ecx, [ebp - 0xa4]
call fcn.00415e60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004185c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x5bac10
call fcn.00415e60
lea edx, [ebp - 0x30]
push edx
call fcn.00462850
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
call fcn.0041afc0
push eax
lea ecx, [ebp - 0x8c]
call fcn.00415e60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004185c0
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x50], 4
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0xa4]
push edx
call fcn.00415d00
lea eax, [ebp - 0x40]
push eax
call fcn.00462330
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
call fcn.0041afc0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 0x40]
call fcn.004185c0
cmp dword [ebp - 0x44], 0
jne 0x483b70
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x8c]
push eax
call fcn.00415d00
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00462330
add esp, 0x1c
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x4c]
call fcn.0041afc0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x5c]
call fcn.004185c0
cmp dword [ebp - 0x60], 0
jne 0x483b66
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00419220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00419220
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x48d320
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
push 0
push 0
push 0x400
push 0x400
push 0xff
push 6
push 0x40000003
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5fb2d8
call fcn.00414330
lea eax, [ebp - 0x10]
push eax
call fcn.00462060
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.0041afc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x10]
call fcn.004185c0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x48f7b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x48f7d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x48f840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x24], ecx
push 0x5bc040
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0057c750
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x34]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
push 0x10
call fcn.0048ead0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x48f927
push 0x26200a
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0048e540
mov dword [ebp - 0x20], eax
jmp 0x48f92e
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4914c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4914f3
xor eax, eax
jmp 0x491511
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret