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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4523ba
xor eax, eax
jmp 0x452514
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [str.stat.360safe.com]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x514bc4]
mov dword [ebp - 0x14], edx
mov eax, dword [0x514bc8]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x514bcc]
mov dword [ebp - 0xc], ecx
mov dl, byte [0x514bd0]
mov byte [ebp - 8], dl
mov eax, dword [ebp - 0x24]
push eax
call sub.ntdll.dll_strlen
add esp, 4
lea ecx, [eax*4 + 0x1000]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45250b
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 0x4524f2
push 0
push 0
push 3
push 0
push 0
push 0x50
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4524e8
push 0x514bd4
call fcn.00434a8d
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0x514bdc
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040a150
add esp, 0x18
push 0
push 0x4000000
push 0
push 0
push 0x514bf8
mov eax, dword [ebp - 0x1c]
push eax
push 0x514c04
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4524de
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4524d4
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004a90a8
add esp, 4
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 4
Function at 0x45260f
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 0x45262f
xor eax, eax
jmp 0x4527d1
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [str.d.360safe.com]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x514c0c]
mov dword [ebp - 0x10], edx
mov eax, dword [0x514c10]
mov dword [ebp - 0xc], eax
mov cx, word [0x514c14]
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.0045221b
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 0x4527b6
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 0x45279d
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 0x452793
push str.3.0.1.6
call fcn.00434a8d
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.0040a150
add esp, 0x18
push 0
push 0x4000000
push 0
push 0
push 0x514c3c
mov edx, dword [ebp - 0x18]
push edx
push 0x514c48
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 0x452789
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 0x45277f
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.004a90a8
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.004a90a8
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 4
Function at 0x452930
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.00452b26
cmp dword [0x55452c], 0
jne 0x452976
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
mov dword [0x55452c], 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.0040a150
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 0x514c54
push closesocket
call fcn.00442b70
mov ecx, eax
call fcn.00442f8d
test eax, eax
jne 0x4529cc
mov eax, 1
jmp 0x4529ce
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x452b26
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 0x514ca8
push closesocket
call fcn.00442b70
mov ecx, eax
call fcn.004431ff
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
jne 0x452cd9
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 0x452cc6
cmp dword [ebp - 0x520], 0x64
jbe 0x452cc6
mov eax, dword [ebp - 0x520]
sub eax, 0x64
mov dword [ebp - 0x520], eax
mov dword [ebp - 0x524], 0
jmp 0x452c06
mov ecx, dword [ebp - 0x524]
add ecx, 1
mov dword [ebp - 0x524], ecx
mov edx, dword [ebp - 0x524]
cmp edx, dword [ebp - 0x520]
jae 0x452cc6
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.00442b70
mov ecx, eax
call fcn.004432af
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
jne 0x452cb3
cmp dword [ebp - 0x404], 3
jne 0x452cb3
cmp dword [ebp - 0x514], 0
jbe 0x452cb3
lea ecx, [ebp - 0x508]
push ecx
push str.Software360Safe_akupdata
push closesocket
call fcn.00442b70
mov ecx, eax
call fcn.004430fd
mov dword [ebp - 0x51c], 1
cmp dword [ebp - 0x50c], 0x103
jne 0x452cc1
jmp 0x452cc6
jmp 0x452bf7
mov edx, dword [ebp - 0x518]
push edx
call fcn.00442b70
mov ecx, eax
call fcn.00443318
mov eax, dword [ebp - 0x51c]
mov esp, ebp
pop ebp
ret
Function at 0x452ce3
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 0x452d71
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x452d64
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 0x452d4d
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x452d41
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x452d64
push 0x514ce0
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 0x453416
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [0x554560], 0
jne 0x453503
push 0x514d0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
push 0x514d28
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x554548], eax
push 0x514d44
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55454c], eax
push 0x514d60
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x554550], eax
push 0x514d84
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x554554], eax
push 0x514da8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x554558], eax
push 0x514dcc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55455c], eax
cmp dword [0x554548], 0
je 0x4534f9
cmp dword [0x55454c], 0
je 0x4534f9
cmp dword [0x554550], 0
je 0x4534f9
cmp dword [0x554554], 0
je 0x4534f9
cmp dword [0x554558], 0
je 0x4534f9
cmp dword [0x55455c], 0
je 0x4534f9
mov dword [0x554560], 1
mov eax, 1
jmp 0x45350f
mov dword [0x554560], 2
xor eax, eax
cmp dword [0x554560], 1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x4647de
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x4643c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4647fa
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
lea eax, [ebp - 0x20c]
push eax
call fcn.00464734
add esp, 4
push str.update_
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00407f00
lea edx, [ebp - 0x20c]
push edx
call sub.ntdll.dll_strlen
add esp, 4
lea eax, [ebp + eax - 0x20c]
mov dword [ebp - 4], eax
push 0x51b00c
push 0x104
mov ecx, dword [ebp - 4]
push ecx
call fcn.00409000
lea edx, [ebp - 0x350]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
je 0x4648be
lea ecx, [ebp - 0x324]
push ecx
push 0x104
mov edx, dword [ebp - 4]
push edx
call fcn.00409000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x350]
push ecx
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x464877
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esp, ebp
pop ebp
ret
Function at 0x468e2c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x468e3c
xor eax, eax
jmp 0x469005
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x468fbd
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 + 0x4b22e0]
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 + 0x4b22e0]
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 + 0x4b22e0]
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 + 0x4b22e0]
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 + 0x4b22e0]
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 + 0x4b22e0]
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 + 0x4b22e0]
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 + 0x4b22e0]
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 0x468e45
cmp dword [ebp + 0x10], 0
je 0x468fff
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 + 0x4b22e0]
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 0x468fc3
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x469007
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 + 0x4b22e0]
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 + 0x4b22e0]
xor eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x4697b3
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 0x469895
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
je 0x469805
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp + 0xc]
jae 0x469805
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004a90a8
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x3c], 0
jne 0x469831
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 0x46985a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x46988c
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.004690bd
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
jmp 0x469851
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 0x4698ee
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 0x4698bd
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x30000
xor eax, eax
jmp 0x469923
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 0x469923
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x469917
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 0x469923
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x469f7e
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 0x46a03e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x8c]
cmp eax, dword [edx + 0x88]
jb 0x469fb2
xor eax, eax
jmp 0x46a0ac
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 0x469fd5
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.00468e2c
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 4]
jmp 0x46a0ac
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x7c], 0
je 0x46a0a0
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 0x46a06f
xor eax, eax
jmp 0x46a0ac
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.00468e2c
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 8]
jmp 0x46a0ac
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x46c289
Capabilities:
Create process on windows
Delete file
Get common file path
Read file on windows

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 [0x554c28]
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.00409360
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 [sym.imp.KERNEL32.dll_DeleteFileA]
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 0x46c3d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x46c4a2
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 [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1368], eax
cmp dword [ebp - 0x1368], 0xffffffff
jne 0x46c421
xor eax, eax
jmp 0x46c4a2
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 [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46c476
lea edx, [ebp - 0x1014]
push edx
mov ecx, dword [ebp + 8]
call fcn.00409390
cmp dword [ebp - 4], 0x1000
jae 0x46c45e
jmp 0x46c476
push 0x1000
push 0
lea eax, [ebp - 0x1014]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x46c421
mov ecx, dword [ebp - 0x1368]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x1118]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x51b8e8
mov ecx, dword [ebp + 8]
call fcn.00409390
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 4