joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460f90
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.00413e50
push eax
mov ecx, esi
call fcn.0044ff60
lea ecx, [ebp - 0x58]
call fcn.00417150
mov dword [ebp - 0x30], eax
cmp dword [ebp - 4], 0
je 0x46107d
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 0x46107d
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 0x46107d
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.00419b70
mov eax, dword [ebp - 0x1c]
jmp 0x46108f
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x58]
call fcn.00419b70
mov eax, dword [ebp - 0x20]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x461120
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a149d
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.005768e0
add esp, 0xc
mov dword [ebp - 0x64], 0x44
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00414340
mov dword [ebp - 4], 0
push 0x20
lea ecx, [ebp - 0x10]
call fcn.00420240
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x10]
call fcn.004200b0
lea ecx, [ebp - 0x10]
call fcn.0041afa0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
call fcn.0041afa0
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 0x4611d5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004185a0
mov eax, dword [ebp - 0x1c]
jmp 0x4611ee
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004185a0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x461540
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5845
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.00414590
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00422590
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x20], eax
push 0
push 0x55
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
jne 0x46160a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x5b3018
call fcn.00415e70
lea eax, [ebp - 0x18]
push eax
call fcn.0044d000
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00414340
mov eax, dword [ebp + 8]
push eax
call fcn.0044c810
add esp, 8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004185a0
mov eax, dword [ebp + 8]
jmp 0x461631
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.00414340
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004185a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x468d00
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.0041afa0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x468d2d
or eax, 0xffffffff
jmp 0x468d54
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x468d52
mov edx, dword [ebp - 4]
and edx, 0x10
jne 0x468d52
mov eax, 1
jmp 0x468d54
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4728c0
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.0041afa0
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47294a
lea ecx, [ebp + 8]
call fcn.0041afa0
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 0x472927
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.004185a0
lea ecx, [ebp + 0xc]
call fcn.004185a0
mov al, byte [ebp - 1]
jmp 0x472961
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.004185a0
lea ecx, [ebp + 0xc]
call fcn.004185a0
mov al, byte [ebp - 2]
jmp 0x472961
mov byte [ebp - 3], 0
lea ecx, [ebp + 8]
call fcn.004185a0
lea ecx, [ebp + 0xc]
call fcn.004185a0
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret

Function at 0x472970
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.0041afa0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x472a0d
lea ecx, [ebp + 8]
call fcn.0041afa0
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 0x4729ea
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.004185a0
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov al, byte [ebp - 1]
jmp 0x472a24
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.004185a0
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov al, byte [ebp - 2]
jmp 0x472a24
mov byte [ebp - 3], 1
lea ecx, [ebp + 8]
call fcn.004185a0
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret
Function at 0x472a30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a678d
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.00414590
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0x1000
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x10]
call fcn.0041afa0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x472b1c
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.00422570
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 0xc]
call fcn.0041afa0
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.00461ba0
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.00414340
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004185a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov eax, dword [ebp + 8]
jmp 0x472b5c
push 0x5b31f8
mov ecx, dword [ebp + 8]
call fcn.00414480
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004185a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x472b70
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.0041afa0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x472c06
lea ecx, [ebp + 8]
call fcn.0041afa0
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 0x472be3
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.004185a0
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov al, byte [ebp - 1]
jmp 0x472c1d
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.004185a0
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov al, byte [ebp - 2]
jmp 0x472c1d
mov byte [ebp - 3], 0
lea ecx, [ebp + 8]
call fcn.004185a0
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret
Function at 0x472c30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a67bd
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.0041afa0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x472d33
lea ecx, [ebp + 0xc]
call fcn.00422740
shl eax, 1
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 0xc]
call fcn.00422590
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 8]
call fcn.0041afa0
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 0x472cf9
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.004185a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov al, byte [ebp - 0xd]
jmp 0x472d61
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.004185a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov al, byte [ebp - 0xe]
jmp 0x472d61
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004185a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004185a0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x477570
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a691b
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.00422840
movzx eax, al
test eax, eax
jne 0x4775c2
mov ecx, dword [ebp + 0xc]
call fcn.00422840
movzx ecx, al
test ecx, ecx
je 0x477649
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.invalid_parameters
call fcn.00415e70
lea edx, [ebp - 0x14]
push edx
call fcn.0044d000
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.00414340
lea ecx, [ebp - 0x30]
push ecx
call fcn.0044c810
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.0044f630
push 0x5d0bf8
lea ecx, [ebp - 0xb4]
push ecx
call fcn.00576d1e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004185a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004185a0
push 0x5c
lea ecx, [ebp + 8]
call fcn.00420240
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp + 8]
call fcn.004200b0
push 0
lea ecx, [ebp + 8]
call fcn.0041afa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x477717
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xb7
je 0x477717
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.CreateDirectory_failed
call fcn.00415e70
lea eax, [ebp - 0x1c]
push eax
call fcn.0044d000
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.00414340
lea eax, [ebp - 0x3c]
push eax
call fcn.0044c810
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.0044f630
push 0x5d0bf8
lea eax, [ebp - 0xc0]
push eax
call fcn.00576d1e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004185a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004185a0
jmp 0x477851
mov dword [ebp - 4], 0
jmp 0x47786e
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004185a0
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 0x4788a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6a3b
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.00415e70
lea eax, [ebp - 0x24]
push eax
call fcn.0044d000
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.0041afa0
push eax
lea ecx, [ebp - 0xa4]
call fcn.00415e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004185a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x5b4a40
call fcn.00415e70
lea edx, [ebp - 0x30]
push edx
call fcn.0044d000
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.0041afa0
push eax
lea ecx, [ebp - 0x8c]
call fcn.00415e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004185a0
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.00415d10
lea eax, [ebp - 0x40]
push eax
call fcn.0044cae0
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.0041afa0
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.004185a0
cmp dword [ebp - 0x44], 0
jne 0x478a40
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x8c]
push eax
call fcn.00415d10
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0044cae0
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.0041afa0
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.004185a0
cmp dword [ebp - 0x60], 0
jne 0x478a36
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.00419200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00419200
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x482500
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 0x5f4268
call fcn.00414340
lea eax, [ebp - 0x10]
push eax
call fcn.0044c810
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.0041afa0
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.004185a0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x484990
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 0x4849b4
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 0x484a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x24], ecx
push 0x5b5e90
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.00576360
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.00483cb0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x484b07
push 0x26200a
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00483720
mov dword [ebp - 0x20], eax
jmp 0x484b0e
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 0x486740
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 0x486773
xor eax, eax
jmp 0x486791
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