joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4975b0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x4ec00c]
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 0x497608
xor al, al
jmp 0x4976ee
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.00433ca0
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 0x497659
mov byte [ebp - 0x806], 1
jmp 0x497660
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 0x4976cc
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 0x4976b9
mov byte [ebp - 0x807], 1
jmp 0x4976c0
mov byte [ebp - 0x807], 0
mov cl, byte [ebp - 0x807]
mov byte [ebp - 0x805], cl
movzx edx, byte [ebp - 0x805]
test edx, edx
je 0x4976e8
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.0042f10e
mov esp, ebp
pop ebp
ret 8
Function at 0x497700
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4ec00c]
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 0x497747
mov eax, dword [ebp - 0x238]
jmp 0x49780f
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00433ca0
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 0x4977fc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4977c0
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 0x49780f
push 0x22c
push 0
lea ecx, [ebp - 0x230]
push ecx
call fcn.00433ca0
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 0x497781
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.0042f10e
mov esp, ebp
pop ebp
ret 4

Function at 0x497870
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4ec00c]
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 0x4978a9
xor al, al
jmp 0x497944
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00433ca0
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 0x497935
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
jne 0x497919
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 0x497944
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 0x4978e3
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.0042f10e
mov esp, ebp
pop ebp
ret 8
Function at 0x497960
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x497988
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 0x4979b6
mov eax, dword [ebp - 0x238]
jmp 0x497a74
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00433ca0
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 0x4979fb
jmp 0x4979f0
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
jne 0x497a27
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 0x497a74
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00433ca0
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.0042f10e
mov esp, ebp
pop ebp
ret 4
Function at 0x497c40
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 [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x90], ecx
push 1
push 0x4cf4ac
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 0x497c89
xor al, al
jmp 0x497dd2
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 0x497cbd
xor al, al
jmp 0x497dd2
push 0
mov eax, dword [ebp - 0x84]
push eax
push 0x498020
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 0x497ce9
xor al, al
jmp 0x497dd2
push 0x6c
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.00433ca0
add esp, 0xc
push 0x4cf4d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x88], eax
push 0x4cf4ec
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x70], eax
push 0x4cf4fc
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.0043f360
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x36]
push eax
call fcn.0043f360
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 0x497d76
xor al, al
jmp 0x497dd2
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 0x497d99
xor al, al
jmp 0x497dd2
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 0x497dc6
xor al, al
jmp 0x497dd2
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.0042f10e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x497e30
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 0x497f40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp + 8]
call fcn.00416a50
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.00433ca0
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 0x497fff
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.004225c0
push 0x22c
push 0
lea ecx, [ebp - 0x230]
push ecx
call fcn.00433ca0
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 0x497fab
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.0042f10e
mov esp, ebp
pop ebp
ret 4
Function at 0x499f40
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x614
mov eax, dword [0x4ec00c]
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.00433ca0
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 0x49a056
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.004096a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x614]
call fcn.0040dba0
push 0x4cf714
lea ecx, [ebp - 0x614]
call fcn.00419c50
test eax, eax
je 0x49a020
push 0x4cf720
lea ecx, [ebp - 0x614]
call fcn.00419c50
test eax, eax
jne 0x49a044
mov dword [ebp - 0x61c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x614]
call fcn.00409680
mov eax, dword [ebp - 0x61c]
jmp 0x49a058
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x614]
call fcn.00409680
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.0042f10e
mov esp, ebp
pop ebp
ret 4

Function at 0x49a080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ec00c]
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.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call sym.Install_adv.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
push 0x4cf6f8
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4cf70c
lea eax, [ebp - 0x20c]
push eax
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x49a110
mov ecx, dword [ebp - 0x210]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x214]
push edx
call fcn.0043f624
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret
Function at 0x49bed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x210]
add eax, 0x10
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.update.cfg
mov edx, dword [ebp - 0x210]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4cffc8
mov eax, dword [ebp - 0x210]
add eax, 0x10
push eax
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x49bf3d
jmp 0x49bfb1
mov dword [ebp - 0x214], 0
jmp 0x49bf58
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x210]
add ecx, 0x26c
call fcn.004204b0
cmp dword [ebp - 0x214], eax
jae 0x49bfa2
mov edx, dword [ebp - 0x218]
push edx
push 1
push 0x410
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x26c
call fcn.004238b0
push eax
call fcn.0043ccbf
add esp, 0x10
jmp 0x49bf49
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.0043cf8f
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret

Function at 0x49c690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0x3f4
call fcn.0042f65b
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 0x3f4
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00433ca0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x3e8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x3ec], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x3f0], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push sym.Install_adv.exe_private:_static_unsigned_int___stdcall_CNsUpdate::UpdateThread_void__
push 0
push 0
call fcn.0043c9f4
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49c720
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49d110
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x614
mov eax, dword [0x4ec00c]
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.00433ca0
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 0x49d226
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.004096a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x614]
call fcn.0040dba0
push str.gzip
lea ecx, [ebp - 0x614]
call fcn.00419c50
test eax, eax
je 0x49d1f0
push 0x4d0194
lea ecx, [ebp - 0x614]
call fcn.00419c50
test eax, eax
jne 0x49d214
mov dword [ebp - 0x61c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x614]
call fcn.00409680
mov eax, dword [ebp - 0x61c]
jmp 0x49d228
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x614]
call fcn.00409680
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.0042f10e
mov esp, ebp
pop ebp
ret 4
Function at 0x49d870
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ec00c]
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.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call sym.Install_adv.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
push str.proxy.dat
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4d00f0
lea eax, [ebp - 0x20c]
push eax
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x49d900
mov ecx, dword [ebp - 0x210]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x214]
push edx
call fcn.0043f624
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret
Function at 0x49f0b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x28]
cmp ecx, 9
je 0x49f0d5
movzx edx, word [ebp - 0x28]
cmp edx, 6
jne 0x49f0de
mov eax, 1
jmp 0x49f0e0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x49f0f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b209b
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x448], ecx
mov eax, dword [ebp + 0xc]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0xffffffff
jne 0x49f143
xor al, al
jmp 0x49f24e
push 0x428
push 0
lea ecx, [ebp - 0x438]
push ecx
call fcn.00433ca0
add esp, 0xc
mov dword [ebp - 0x438], 0x428
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x49f18f
mov ecx, dword [ebp - 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x49f24e
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x444]
call fcn.004096a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x444]
call fcn.00419c50
test eax, eax
je 0x49f1d1
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x444]
call fcn.00419c50
test eax, eax
jne 0x49f20a
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x424]
mov dword [edx], eax
mov ecx, dword [ebp - 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x439], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.00409680
mov al, byte [ebp - 0x439]
jmp 0x49f24e
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x49f1a5
mov ecx, dword [ebp - 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x43a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.00409680
mov al, byte [ebp - 0x43a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49f270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x3c
push 0
lea ecx, [ebp - 0x24c]
push ecx
call fcn.00433ca0
add esp, 0xc
mov dword [ebp - 0x24c], 0x3c
mov dword [ebp - 0x248], 0x440
mov edx, dword [ebp + 8]
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x240], str.runas
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x24c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret 8

Function at 0x49f310
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
ja 0x49f35b
cmp dword [ebp - 0x11c], 6
jne 0x49f35f
cmp dword [ebp - 0x118], 2
jb 0x49f35f
mov al, 1
jmp 0x49f361
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret

Function at 0x49f370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b20ce
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x49f3cb
xor eax, eax
jmp 0x49f4b0
push 0x22c
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00433ca0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x49f49d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.004096a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x244]
call fcn.00419c50
test eax, eax
jne 0x49f46c
mov edx, dword [ebp - 0x234]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00409680
jmp 0x49f49d
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00409680
jmp 0x49f405
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret 4