joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ee610
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402466c0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023ed38]
test eax, eax
je 0x1400ee65b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023ed38]
test eax, eax
jne 0x1400ee664
call fcn.1400083f4
test eax, eax
je 0x1400ee680
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140237390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400ee688
xor eax, eax
jmp 0x1400ee6e5
test rbx, rbx
jne 0x1400ee6a8
lea rcx, str.ChooseColorW
call fcn.14000e2d8
mov rbx, rax
test rax, rax
je 0x1400ee6b3
mov qword [0x1402466c0], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400ee6c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ee6ca
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ee6e3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400f5330
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402468b8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023ed38]
test eax, eax
je 0x1400f537b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023ed38]
test eax, eax
jne 0x1400f5384
call fcn.1400083f4
test eax, eax
je 0x1400f53a0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140237390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400f53a8
xor eax, eax
jmp 0x1400f5405
test rbx, rbx
jne 0x1400f53c8
lea rcx, str.PrintDlgW
call fcn.14000e2d8
mov rbx, rax
test rax, rax
je 0x1400f53d3
mov qword [0x1402468b8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400f53e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f53ea
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f5403
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400fbd00
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1400fbe3c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x1400fbe7e
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x1400fc28c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400fc35e
test rbx, rbx
je 0x1400fc364
test r9, r9
je 0x1400fc36a
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
and qword [rax - 0x18], 0
lea r9, [rax + 0x10]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400fc347
cmp dword [rsp + 0x48], 3
jne 0x1400fc347
test eax, eax
jne 0x1400fc347
cmp dword [rdi], eax
je 0x1400fc347
mov ecx, dword [rdi]
call fcn.1400067e8
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400fc33b
cmp dword [rsp + 0x48], 3
jne 0x1400fc33b
test eax, eax
jne 0x1400fc33b
mov eax, 1
jmp 0x1400fc349
mov rcx, qword [rbx]
call fcn.14000682c
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.1400079a0
int3
call fcn.1400079a0
int3
call fcn.1400079a0
int3

Function at 0x1400fc628
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400fc639
xor eax, eax
jmp 0x1400fc667
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400fc670
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400fc681
xor eax, eax
jmp 0x1400fc6a5
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14014ebf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x14014ec19
mov rdi, qword [rdx + 0x10]
jmp 0x14014ec6a
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14014ec3a
call fcn.140010cac
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14014ec54
call fcn.140010cac
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14014ec6a
call fcn.140010cac
call fcn.14000820c
cmp qword [rax + 0x68], 0
je 0x14014ec84
mov rdx, rdi
mov rcx, rbp
call fcn.14014e188
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14014eee8
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x14014ecab
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x14014ecba
mov rdi, rsi
mov qword [rbp + 0xe8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14014f058
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x1402478d8]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x14023ed38]
test eax, eax
je 0x14014f0a4
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023ed38]
test eax, eax
jne 0x14014f0ad
call fcn.1400083f4
test eax, eax
je 0x14014f0c9
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140237390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14014f0d4
xor eax, eax
jmp 0x14014f158
test r14, r14
jne 0x14014f0f1
lea rcx, str.CreatePropertySheetPageW
call fcn.14014f354
test rax, rax
je 0x14014f123
mov qword [0x1402478d8], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x14014f112
cmp dword [rdi], 0x60
jb 0x14014f112
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x140237390]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x1402478d8]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x14014f13a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14014f13c
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14014f155
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14014f170
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402478e0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023ed38]
test eax, eax
je 0x14014f1bb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023ed38]
test eax, eax
jne 0x14014f1c4
call fcn.1400083f4
test eax, eax
je 0x14014f1e0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140237390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14014f1e8
xor eax, eax
jmp 0x14014f245
test rbx, rbx
jne 0x14014f208
lea rcx, str.DestroyPropertySheetPage
call fcn.14014f354
mov rbx, rax
test rax, rax
je 0x14014f213
mov qword [0x1402478e0], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14014f228
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14014f22a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14014f243
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14014f25c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x1402478e8]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14023ed38]
test eax, eax
je 0x14014f2ab
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023ed38]
test eax, eax
jne 0x14014f2b4
call fcn.1400083f4
test eax, eax
je 0x14014f2d0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140237390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14014f2da
or rax, 0xffffffffffffffff
jmp 0x14014f33c
test rbx, rbx
jne 0x14014f2fa
lea rcx, str.PropertySheetW
call fcn.14014f354
mov rbx, rax
test rax, rax
je 0x14014f307
mov qword [0x1402478e8], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x14014f31e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14014f320
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14014f339
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401d4118
Capabilities:
Get hostname
Query environment variable

Disassembly:
jmp 0x14054a080
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rcx, str.CURL_GETHOSTNAME
call fcn.1401d7075
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14054a0cb
mov eax, dword [rsp + 0x58]
dec eax
cdqe
mov r8, rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.1401d6472
mov dword [rsp + 0x20], 0
jmp 0x14054a0f0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov byte [rcx + rax], 0
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_gethostname]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
dec eax
cdqe
mov rcx, qword [rsp + 0x50]
mov byte [rcx + rax], 0
cmp dword [rsp + 0x20], 0
je 0x14054a10e
mov eax, dword [rsp + 0x20]
jmp 0x14054a134
mov edx, 0x2e
mov rcx, qword [rsp + 0x50]
call fcn.1401d47bc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14054a132
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1401d480c
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x140474a30
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
lea rcx, str.send
call fcn.140474d50
movzx eax, al
test eax, eax
je 0x140474a6c
mov eax, 0xffffffff
jmp 0x140474aba
mov r9d, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x78], 0
je 0x140474ab6
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, str.SEND__s:_d_send__lu____ld_n
call fcn.1401ddbaf
nop
mov eax, dword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x1401d4d6b
Capabilities:
Write file on windows

Disassembly:
jmp 0x14025ec90
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14084ec8c]
call fcn.1401dd605
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14025ece8
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14025edfa
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14025ed93
cmp qword [rbp + 0x28], 0
jle 0x14025ed93
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14025ed31
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1401dcc64
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x14025ede9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14025ede9
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1401d531a
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1404b09e0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x34], 0x4020
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x74], 4
cmp dword [0x14081db6c], 0
jne 0x1404b0a61
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1401dbc65
movzx eax, al
test eax, eax
je 0x1404b0a57
mov dword [0x14081db6c], 2
jmp 0x1404b0a61
mov dword [0x14081db6c], 1
cmp dword [0x14081db6c], 2
jne 0x1404b0a6c
jmp 0x1404b0acb
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1404b0aa4
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x54], eax
jle 0x1404b0aa4
jmp 0x1404b0acb
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1401dbb48
add rsp, 0x90
pop rdi
ret

Function at 0x1401d551d
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1405644a0
cmp byte [rcx + 0x47], 0
mov r8, rcx
je 0x14056452b
mov r9, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r9, rcx
nop dword [rax + rax]
lea edx, [r9 + rax]
lea ecx, [rdx - 0x2a]
xor byte [rax - 2], cl
lea rax, [rax + 0xe]
lea ecx, [rdx - 0x29]
xor byte [rax - 0xf], cl
lea ecx, [rdx - 0x28]
xor byte [rax - 0xe], cl
lea ecx, [rdx - 0x27]
xor byte [rax - 0xd], cl
lea ecx, [rdx - 0x26]
xor byte [rax - 0xc], cl
lea ecx, [rdx - 0x25]
xor byte [rax - 0xb], cl
lea ecx, [rdx - 0x24]
xor byte [rax - 0xa], cl
lea ecx, [rdx - 0x23]
xor byte [rax - 9], cl
lea ecx, [rdx - 0x22]
xor byte [rax - 8], cl
lea ecx, [rdx - 0x21]
xor byte [rax - 7], cl
lea ecx, [rdx - 0x20]
xor byte [rax - 6], cl
lea ecx, [rdx - 0x1f]
xor byte [rax - 5], cl
lea ecx, [rdx - 0x1e]
xor byte [rax - 4], cl
sub dl, 0x1d
xor byte [rax - 3], dl
lea rcx, [rax + r9]
cmp rcx, 0x46
jb 0x1405644c0
mov byte [r8 + 0x47], 0
mov rax, r8
ret
Function at 0x1401d58ce
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140202fe0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14084e5cd]
call fcn.1401dd605
nop
mov qword [rbp + 8], 0
jmp 0x14020301f
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x140203075
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140203014
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1401d5ae5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140564460
cmp byte [rcx + 0x136], 0
je 0x140564488
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x135
jb 0x140564470
mov byte [rcx + 0x136], 0
mov rax, rcx
ret
Function at 0x1401d5b62
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140530eb0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
je 0x140530ee5
mov dword [rsp + 0x34], 1
jmp 0x140530eed
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dbb48
mov rax, rdi
add rsp, 0x40
pop rdi
ret

Function at 0x1401d5c2a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x140219d60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401dd605
nop
mov rcx, qword [rbp + 0x170]
call fcn.1401dcc2d
movzx eax, al
test eax, eax
jne 0x140219d9f
xor al, al
jmp 0x140219ef4
mov rax, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x170]
mov qword [rax], rcx
mov rax, qword [rbp + 0x178]
mov rax, qword [rax]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x178]
add rax, qword [rcx]
mov rcx, qword [rbp + 0x178]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x178]
mov rax, qword [rax + 8]
add rax, 4
mov rcx, qword [rbp + 0x178]
mov qword [rcx + 0x10], rax
mov rax, qword [rbp + 0x178]
mov rax, qword [rax + 8]
add rax, 0x18
mov rcx, qword [rbp + 0x178]
mov qword [rcx + 0x18], rax
mov dword [rbp + 4], 0
jmp 0x140219e18
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x10
jge 0x140219e6d
mov rax, qword [rbp + 0x178]
mov rax, qword [rax + 8]
movsxd rcx, dword [rbp + 4]
lea rax, [rax + rcx*8 + 0x88]
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x178]
add rax, 0x20
mov qword [rbp + 0x140], rax
movsxd rax, dword [rbp + 4]
mov rdx, rax
mov rcx, qword [rbp + 0x140]
call fcn.1401de2c1
mov rcx, qword [rbp + 0x138]
mov qword [rax], rcx
jmp 0x140219e10
mov rax, qword [rbp + 0x178]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 0x178]
mov rcx, qword [rcx + 8]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x44], 0
jmp 0x140219ea1
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x178]
mov rax, qword [rax + 0x10]
movzx eax, word [rax + 2]
cmp dword [rbp + 0x44], eax
jge 0x140219ef2
mov rax, qword [rbp + 0x178]
add rax, 0xa0
mov qword [rbp + 0x138], rax
movsxd rax, dword [rbp + 0x44]
imul rax, rax, 0x28
add rax, qword [rbp + 0x28]
mov qword [rbp + 0x128], rax
lea rdx, [rbp + 0x128]
mov rcx, qword [rbp + 0x138]
call fcn.1401d48bb
nop
jmp 0x140219e99
mov al, 1
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x1401d5cf7
Capabilities:
Create thread

Disassembly:
jmp 0x140209d40
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140812ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14084e73c]
call fcn.1401dd605
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1401d6bb1
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1401d890c
nop
lea rax, [0x1401da040]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1401da36a
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x140209e1c
lea rcx, [rbp + 8]
call fcn.1401d7f2a
nop
jmp 0x140209e35
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d6021
nop
lea rcx, [rbp + 8]
call fcn.1401d7c5a
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dbb48
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401d8740
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret