joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ac2f
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x44ac4f
xor eax, eax
jmp 0x44adf1
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [str.d.360safe.com]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x514408]
mov dword [ebp - 0x10], edx
mov eax, dword [0x51440c]
mov dword [ebp - 0xc], eax
mov cx, word [0x514410]
mov word [ebp - 8], cx
mov edx, dword [ebp - 0x24]
push edx
call sub.ntdll.dll_strlen
add esp, 4
shl eax, 2
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
push eax
mov edx, dword [ebp - 0x24]
push edx
call fcn.0044a83b
add esp, 0x10
mov eax, dword [ebp - 4]
add eax, 0x1000
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x44add6
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x44adbd
push 0
push 0
push 3
push 0
push 0
push 0x50
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x44adb3
push str.3.0.2.3
call fcn.004357ad
push eax
mov edx, dword [ebp - 0x20]
push edx
push str.__fixtool_sm_sver_s
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0040a2c0
add esp, 0x18
push 0
push 0x4000000
push 0
push 0
push 0x514438
mov edx, dword [ebp - 0x18]
push edx
push 0x514444
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x44ada9
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x44ad9f
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004a4518
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.004a4518
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 4
Function at 0x44af50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x20], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x1f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, dword [ebp - 0x24]
call fcn.0044b146
cmp dword [0x5591c4], 0
jne 0x44af96
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
mov dword [0x5591c4], 1
call dword [sym.imp.MSVCRT.dll_rand]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._d_d
push 0x1e
lea eax, [ebp - 0x20]
push eax
call fcn.0040a2c0
add esp, 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
push 3
lea ecx, [ebp - 0x20]
push ecx
push 0x514450
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b26e
test eax, eax
jne 0x44afec
mov eax, 1
jmp 0x44afee
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x44b146
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x528
mov dword [ebp - 0x528], ecx
mov dword [ebp - 0x514], 0x400
mov dword [ebp - 0x510], 0x104
mov dword [ebp - 0x51c], 0
lea eax, [ebp - 0x518]
push eax
push 0xf003f
push 0
push 0x5144a4
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
jne 0x44b2f9
mov dword [ebp - 0x520], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x520]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x518]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
jne 0x44b2e6
cmp dword [ebp - 0x520], 0x64
jbe 0x44b2e6
mov eax, dword [ebp - 0x520]
sub eax, 0x64
mov dword [ebp - 0x520], eax
mov dword [ebp - 0x524], 0
jmp 0x44b226
mov ecx, dword [ebp - 0x524]
add ecx, 1
mov dword [ebp - 0x524], ecx
mov edx, dword [ebp - 0x524]
cmp edx, dword [ebp - 0x520]
jae 0x44b2e6
mov dword [ebp - 0x514], 0x400
mov dword [ebp - 0x510], 0x104
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0x400]
push ecx
lea edx, [ebp - 0x404]
push edx
push 0
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x508]
push ecx
mov edx, dword [ebp - 0x524]
push edx
mov eax, dword [ebp - 0x518]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b590
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
jne 0x44b2d3
cmp dword [ebp - 0x404], 3
jne 0x44b2d3
cmp dword [ebp - 0x514], 0
jbe 0x44b2d3
lea ecx, [ebp - 0x508]
push ecx
push str.Software360Safe_akupdata
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b3de
mov dword [ebp - 0x51c], 1
cmp dword [ebp - 0x50c], 0x103
jne 0x44b2e1
jmp 0x44b2e6
jmp 0x44b217
mov edx, dword [ebp - 0x518]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
mov eax, dword [ebp - 0x51c]
mov esp, ebp
pop ebp
ret
Function at 0x44b303
Capabilities:
Create thread
Print debug messages
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x44b391
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44b384
push 0x3e8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44b36d
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x44b361
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44b384
push 0x5144dc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
cmp dword [ebp - 0xc], 0
setne al
mov esp, ebp
pop ebp
ret

Function at 0x44ba36
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [0x5591f8], 0
jne 0x44bb23
push 0x514e00
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
push 0x514e1c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5591e0], eax
push 0x514e38
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5591e4], eax
push 0x514e54
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5591e8], eax
push 0x514e78
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5591ec], eax
push 0x514e9c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5591f0], eax
push 0x514ec0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5591f4], eax
cmp dword [0x5591e0], 0
je 0x44bb19
cmp dword [0x5591e4], 0
je 0x44bb19
cmp dword [0x5591e8], 0
je 0x44bb19
cmp dword [0x5591ec], 0
je 0x44bb19
cmp dword [0x5591f0], 0
je 0x44bb19
cmp dword [0x5591f4], 0
je 0x44bb19
mov dword [0x5591f8], 1
mov eax, 1
jmp 0x44bb2f
mov dword [0x5591f8], 2
xor eax, eax
cmp dword [0x5591f8], 1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x45d16e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x45cd50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4617bc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4617cc
xor eax, eax
jmp 0x461995
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x46194d
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4ae440]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4ae440]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4ae440]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4ae440]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4ae440]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4ae440]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4ae440]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4ae440]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x4617d5
cmp dword [ebp + 0x10], 0
je 0x46198f
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x4ae440]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x461953
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x461997
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
xor edx, eax
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
shr ecx, 8
mov edx, dword [edx*4 + 0x4ae440]
xor edx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
add ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x8088405
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x18
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
xor eax, ecx
and eax, 0xff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
shr edx, 8
mov eax, dword [eax*4 + 0x4ae440]
xor eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x462143
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dl, byte [ecx + 0x2d]
test edx, edx
je 0x462225
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
je 0x462195
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp + 0xc]
jae 0x462195
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004a4518
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x3c], 0
jne 0x4621c1
mov edx, dword [ebp + 0xc]
shl edx, 1
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x4621ea
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x46221c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
mov cl, byte [edx + eax]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x30
push edx
call fcn.00461a4d
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
jmp 0x4621e1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x20], 0
je 0x46227e
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 0x28]
jb 0x46224d
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x30000
xor eax, eax
jmp 0x4622b3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x24]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x4622b3
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x4622a7
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xc]
jmp 0x4622b3
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x46290e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x84], 0
je 0x4629ce
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x8c]
cmp eax, dword [edx + 0x88]
jb 0x462942
xor eax, eax
jmp 0x462a3c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x88]
sub eax, dword [edx + 0x8c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jbe 0x462965
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x84]
mov eax, dword [ebp - 0x10]
add edx, dword [eax + 0x8c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x8c]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
push edx
call fcn.004617bc
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 4]
jmp 0x462a3c
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x7c], 0
je 0x462a30
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4629ff
xor eax, eax
jmp 0x462a3c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
push edx
call fcn.004617bc
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 8]
jmp 0x462a3c
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x464c19
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1370
call sub.ntdll.dll__chkstk
push edi
mov dword [ebp - 0x1370], ecx
mov dword [ebp - 0x1364], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x1360]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov cl, byte [0x559ac8]
mov byte [ebp - 0x1014], cl
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1013]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str._Ip_Config
mov ecx, dword [ebp + 8]
call fcn.004094d0
lea edx, [ebp - 0x1118]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea eax, [ebp - 0x1320]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.cmd.exe__c_ipconfig.exe__all__
lea ecx, [ebp - 0x1320]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
push str.360xxipconfig.txt
lea edx, [ebp - 0x1118]
push edx
call sub.ntdll.dll_strcat
add esp, 8
lea eax, [ebp - 0x1118]
push eax
lea ecx, [ebp - 0x1320]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
lea edx, [ebp - 0x1118]
push edx
call dword [0x542978]
lea eax, [ebp - 0x1364]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov word [ebp - 0x1334], 0
mov dword [ebp - 0x1364], 0x44
mov ecx, dword [ebp - 0x1338]
or ecx, 1
mov dword [ebp - 0x1338], ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1364]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1320]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x136c], eax
cmp dword [ebp - 0x136c], 0
jne 0x464d66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x464e32
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea ecx, [ebp - 0x1118]
push ecx
call dword [0x54299c]
mov dword [ebp - 0x1368], eax
cmp dword [ebp - 0x1368], 0xffffffff
jne 0x464db1
xor eax, eax
jmp 0x464e32
push 0
lea edx, [ebp - 4]
push edx
push 0x1000
lea eax, [ebp - 0x1014]
push eax
mov ecx, dword [ebp - 0x1368]
push ecx
call dword [0x542984]
test eax, eax
je 0x464e06
lea edx, [ebp - 0x1014]
push edx
mov ecx, dword [ebp + 8]
call fcn.00409500
cmp dword [ebp - 4], 0x1000
jae 0x464dee
jmp 0x464e06
push 0x1000
push 0
lea eax, [ebp - 0x1014]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x464db1
mov ecx, dword [ebp - 0x1368]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x1118]
push edx
call dword [0x542978]
push 0x51bb7c
mov ecx, dword [ebp + 8]
call fcn.00409500
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x465117
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0x214], ecx
push str._Hosts
mov ecx, dword [ebp + 8]
call fcn.004094d0
push 0x104
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.driversetchosts
lea ecx, [ebp - 0x204]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
push 0x51bc44
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jne 0x465184
xor eax, eax
jmp 0x465271
mov eax, dword [ebp - 0x208]
push eax
push 0x100
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x46525f
mov dword [ebp - 0x20c], 0
lea edx, [ebp - 0x100]
mov dword [ebp - 0x210], edx
cmp dword [ebp - 0x210], 0
je 0x46521f
mov eax, dword [ebp - 0x210]
movsx ecx, byte [eax]
cmp ecx, 0x23
je 0x4651f0
mov edx, dword [ebp - 0x210]
movsx eax, byte [edx]
cmp eax, 0xd
je 0x4651f0
mov ecx, dword [ebp - 0x210]
movsx edx, byte [ecx]
test edx, edx
jne 0x4651fc
mov dword [ebp - 0x20c], 1
jmp 0x46521f
mov eax, dword [ebp - 0x210]
movsx ecx, byte [eax]
cmp ecx, 0x20
jne 0x46521b
mov edx, dword [ebp - 0x210]
add edx, 1
mov dword [ebp - 0x210], edx
jmp 0x46521d
jmp 0x46521f
jmp 0x4651be
cmp dword [ebp - 0x20c], 0
jne 0x465244
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [ebp + 8]
call fcn.00409500
push 0x51bc48
mov ecx, dword [ebp + 8]
call fcn.00409500
push 0x100
push 0
lea ecx, [ebp - 0x100]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x465184
push 0x51bc50
mov ecx, dword [ebp + 8]
call fcn.00409500
mov eax, 1
mov esp, ebp
pop ebp
ret 4