joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464c40
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 [0x49c00c]
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.0042b9d0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x489ea8
lea edx, [ebp - 0x414]
push edx
call fcn.004346e6
add esp, 8
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
jne 0x464cad
xor al, al
jmp 0x464e14
lea eax, [ebp - 0x62c]
push eax
push 0x489eb0
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 0x464d30
push 0xb00
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042b9d0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x61c]
push edx
call fcn.0042b9d0
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, 0xbe4
call fcn.004094f0
xor al, al
jmp 0x464e14
push 0
mov edx, dword [ebp - 0x62c]
push edx
mov eax, dword [ebp - 0x624]
push eax
call fcn.004370ea
add esp, 0xc
push 0xb00
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042b9d0
add esp, 0xc
mov edx, dword [ebp - 0x624]
push edx
push 1
push 0xb00
mov eax, dword [ebp + 8]
push eax
call fcn.00436cd4
add esp, 0x10
mov ecx, dword [ebp - 0x624]
push ecx
call fcn.004347ba
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, 0xb70
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 0x464e12
mov edx, dword [ebp - 0x620]
cmp dword [edx + 0xb78], 0
je 0x464e12
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0042b9d0
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 0x464e12
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x620]
add ecx, 0xbe4
call fcn.004094f0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret 4
Function at 0x464e30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4753e8
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebp - 0x228]
call sym.Install_adv.exe_private:_void___thiscall_CNsInstaller::PlayMusic_void_
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x224]
push eax
push 0x48aa58
push 0x1f56
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x464eb3
cmp dword [ebp - 0x224], 0
je 0x464eb3
mov byte [sym.Install_adv.exe_bool_CNsInstaller::m_bUpdated], 1
jmp 0x464f7b
mov byte [sym.Install_adv.exe_bool_CNsInstaller::m_bUpdated], 0
push str.http:__jssetup.com_update_install_data.zip
lea ecx, [ebp - 0x220]
call fcn.004095e0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x464ee6
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004094f0
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x21c]
push ecx
call sym.Install_adv.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_void___thiscall_CNsUpdate::SetPath_wchar_t_const__
movzx edx, byte [ebp + 8]
test edx, edx
je 0x464f4a
push 0
push sym.Install_adv.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea ecx, [ebp - 0x220]
call fcn.00409710
push eax
call sym.Install_adv.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_void___thiscall_CNsUpdate::StartUpdate_wchar_t_const___void____stdcall___int__int__int___void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double__
jmp 0x464f69
push 0
push sym.Install_adv.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea ecx, [ebp - 0x220]
call fcn.00409710
push eax
call sym.Install_adv.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsUpdate::CheckUpdate_wchar_t_const___void____stdcall___int__int__int___void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double__
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret 8
Function at 0x464fa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475418
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x49c00c]
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 + 0xae4], 0
je 0x465041
lea ecx, [ebp - 0x10]
call fcn.004096c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x4fc
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xbe4]
push eax
push 0x48a598
lea ecx, [ebp - 0x10]
push ecx
call fcn.00409d20
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00409710
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465032
push 5
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00409710
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.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4655e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x465601
cmp dword [ebp + 0xc], 0
je 0x465601
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jl 0x465606
jmp 0x4656a4
push 0x294
call fcn.0042a26d
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.0042b9d0
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 0x465678
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x64
jge 0x465678
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 0x465400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4656a4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x468c40
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 0x4691d0
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 [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x90], ecx
push 1
push 0x48c9a4
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 0x469219
xor al, al
jmp 0x469362
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 0x46924d
xor al, al
jmp 0x469362
push 0
mov eax, dword [ebp - 0x84]
push eax
push 0x469580
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 0x469279
xor al, al
jmp 0x469362
push 0x6c
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.0042b9d0
add esp, 0xc
push 0x48c9c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x88], eax
push 0x48c9e4
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x70], eax
push 0x48c9f4
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.00436a10
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x36]
push eax
call fcn.00436a10
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 0x469306
xor al, al
jmp 0x469362
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 0x469329
xor al, al
jmp 0x469362
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 0x469356
xor al, al
jmp 0x469362
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.00429d20
mov esp, ebp
pop ebp
ret 0xc

Function at 0x469380
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 0x469490
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebp + 8]
call fcn.004168c0
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.0042b9d0
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]
test eax, eax
jne 0x4694fd
xor al, al
jmp 0x46956f
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.00428310
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x469528
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x46956f
push 0x22c
push 0
lea edx, [ebp - 0x230]
push edx
call fcn.0042b9d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4694fd
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret 4
Function at 0x46afd0
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47585a
mov eax, dword fs:[0]
push eax
sub esp, 0x614
mov eax, dword [0x49c00c]
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.0042b9d0
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 0x46b0e6
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.004095e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x614]
call fcn.0040d800
push 0x48cb04
lea ecx, [ebp - 0x614]
call fcn.00428cf0
test eax, eax
je 0x46b0b0
push 0x48cb10
lea ecx, [ebp - 0x614]
call fcn.00428cf0
test eax, eax
jne 0x46b0d4
mov dword [ebp - 0x61c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x614]
call fcn.004095a0
mov eax, dword [ebp - 0x61c]
jmp 0x46b0e8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x614]
call fcn.004095a0
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.00429d20
mov esp, ebp
pop ebp
ret 4

Function at 0x46b110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x49c00c]
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.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call sym.Install_adv.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
push 0x48cae8
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x48cafc
lea eax, [ebp - 0x20c]
push eax
call fcn.004346e6
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x46b1a0
mov ecx, dword [ebp - 0x210]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x214]
push edx
call fcn.00436cd4
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret
Function at 0x46cdc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x49c00c]
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 0x48d15c
mov eax, dword [ebp - 0x210]
add eax, 0x10
push eax
call fcn.004346e6
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x46ce2d
jmp 0x46cea1
mov dword [ebp - 0x214], 0
jmp 0x46ce48
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x210]
add ecx, 0x26c
call fcn.0041e210
cmp dword [ebp - 0x214], eax
jae 0x46ce92
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.00428e10
push eax
call fcn.004345cd
add esp, 0x10
jmp 0x46ce39
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.004347ba
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret

Function at 0x46d130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0x3f4
call fcn.0042a26d
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.0042b9d0
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.00434302
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46d1c0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46d9f0
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x614
mov eax, dword [0x49c00c]
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.0042b9d0
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 0x46db06
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.004095e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x614]
call fcn.0040d800
push str.gzip
lea ecx, [ebp - 0x614]
call fcn.00428cf0
test eax, eax
je 0x46dad0
push 0x48d310
lea ecx, [ebp - 0x614]
call fcn.00428cf0
test eax, eax
jne 0x46daf4
mov dword [ebp - 0x61c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x614]
call fcn.004095a0
mov eax, dword [ebp - 0x61c]
jmp 0x46db08
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x614]
call fcn.004095a0
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.00429d20
mov esp, ebp
pop ebp
ret 4
Function at 0x46e000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x49c00c]
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.0042b9d0
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 0x48d284
lea eax, [ebp - 0x20c]
push eax
call fcn.004346e6
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x46e090
mov ecx, dword [ebp - 0x210]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x214]
push edx
call fcn.00436cd4
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret
Function at 0x46f190
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 0x46f1b5
movzx edx, word [ebp - 0x28]
cmp edx, 6
jne 0x46f1be
mov eax, 1
jmp 0x46f1c0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x46f1d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475beb
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x49c00c]
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 0x46f223
xor al, al
jmp 0x46f321
push 0x428
push 0
lea ecx, [ebp - 0x438]
push ecx
call fcn.0042b9d0
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 0x46f26f
mov ecx, dword [ebp - 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x46f321
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x444]
call fcn.004095e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x444]
call fcn.00428cf0
test eax, eax
je 0x46f2b1
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x444]
call fcn.00428cf0
test eax, eax
jne 0x46f2dd
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x424]
mov dword [edx], eax
mov byte [ebp - 0x439], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.004095a0
mov al, byte [ebp - 0x439]
jmp 0x46f321
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 0x440]
push edx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x46f285
mov eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x43a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.004095a0
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.00429d20
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46f340
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x49c00c]
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.0042b9d0
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.00429d20
mov esp, ebp
pop ebp
ret 8