joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001c940
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001c986
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x18001c982
mov al, 1
jmp 0x18001c986
jmp 0x18001c986
add rsp, 0x20
pop rbx
ret

Function at 0x18001cad0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
je 0x18001caf7
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.18001c940
lea rdx, str..utf8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xor eax, eax
lea r8, [0x18001c990]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x1800228b0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, edx
mov r15d, r9d
mov rbp, r8
mov r14, rcx
test rcx, rcx
je 0x180022a10
test r8, r8
je 0x180022a10
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x180022a10
mov qword [rsp + 0x40], rbx
mov ecx, 0x100
mov qword [rsp + 0x48], rsi
call fcn.18005dc58
xor ecx, ecx
mov r10, rax
mov edx, ecx
mov r8, rax
nop
mov byte [r8], dl
lea r8, [r8 + 1]
inc edx
cmp edx, 0x100
jl 0x180022910
mov r9d, ecx
mov r11d, ecx
mov rbx, r10
nop word [rax + rax]
movzx esi, byte [rbx]
mov eax, r11d
cdq
idiv r15d
movsxd rax, edx
movzx edx, byte [rax + rbp]
add r9d, edx
add r9d, esi
and r9d, 0x800000ff
jge 0x18002295d
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rdx, r9d
inc r11d
movzx eax, byte [rdx + r10]
mov byte [rbx], al
inc rbx
mov byte [rdx + r10], sil
cmp r11d, 0x100
jl 0x180022930
mov rsi, qword [rsp + 0x48]
mov r8d, ecx
mov rbx, r12
test r12d, r12d
jle 0x1800229f4
sub r14, rdi
nop dword [rax]
inc ecx
and ecx, 0x800000ff
jge 0x1800229a4
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r9, ecx
movzx r11d, byte [r9 + r10]
add r8d, r11d
and r8d, 0x800000ff
jge 0x1800229c5
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx eax, byte [rdx + r10]
mov byte [r9 + r10], al
mov byte [rdx + r10], r11b
movzx eax, byte [r9 + r10]
add eax, r11d
movzx edx, al
movzx eax, byte [rdx + r10]
xor al, byte [r14 + rdi]
mov byte [rdi], al
inc rdi
sub rbx, 1
jne 0x180022990
mov rax, qword [rsp + 0x68]
mov rcx, r10
mov dword [rax], r12d
call fcn.18005db54
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
jmp 0x180022a12
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180025100
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18002515d
lea rbx, [0x180067130]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180025144
cmp r10, 2
jb 0x180025144
cmp byte [r9], r8b
jne 0x180025144
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180025120
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18002519f
lea rbx, [0x180067130]
cmp r8b, 0x23
jne 0x180025183
cmp byte [r9], r8b
jne 0x180025183
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180025170
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800252e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800252fa
mov qword [r8], 0
lea rdx, [0x18006cb00]
call fcn.1800251b0
mov rbx, rax
test rax, rax
jne 0x18002531a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1800253f1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800253f1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800253f1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800253f1
cmp rdi, 0xffffffffffffffff
je 0x1800253f1
mov rax, qword [0x180078a28]
test rax, rax
je 0x18002538e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800253f1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1800253de
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180078a28]
test rax, rax
je 0x1800253d3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800253fa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800253ec
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800253fc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180027890
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x180067130]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x18002791b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1800398f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18002ae50
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18002aea0
lea r11, [0x180067130]
nop dword [rax]
cmp r9b, 0x23
jne 0x18002ae83
cmp byte [r8], r9b
jne 0x18002ae83
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18002ae70
mov rcx, qword [0x180078a28]
not eax
movsxd rdx, dword [rcx + 0x3eb0]
mov r9, qword [rcx + 0x3eb8]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18002af01
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18002aef9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18002aefc
mov rdx, r8
test rdx, rdx
jne 0x18002aed0
cmp r9, r10
je 0x18002af10
cmp dword [r9], eax
jne 0x18002af10
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180038130
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800381d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18003818a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18003aa20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180025740
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180078a20]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800381df
mov rcx, rbx
call fcn.180025740
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180038660
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180078a28]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800386c3
mov qword [rsp], rbx
lea rbx, [0x180067130]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800386a3
cmp byte [r8], r9b
jne 0x1800386a3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180038690
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1800386f7
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1800386fe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1800386e4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x180052640
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x60], 8
mov r14, rdx
mov dword [rsp + 0x50], ebx
xor edx, edx
mov dword [rsp + 0x68], ebx
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rcx, str.HTTPREAD
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x28], rbx
lea rdx, str.http:__ossweb_img.qq.com_images_lol_img_item_2056.png
mov rcx, rax
mov dword [rsp + 0x20], 0x80000002
xor r9d, r9d
xor r8d, r8d
mov rsi, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 0x20000005
mov rdi, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x180052703
mov ecx, eax
mov qword [r14], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x68]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x180052719
xor r8d, r8d
lea rdx, str.http:__ossweb_img.qq.com_images_lol_img_item_2056.png
lea rcx, str._Error_Http:_s__ReadFileLen:_d_n
call fcn.1800238b0
test rdi, rdi
je 0x180052727
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rsi, rsi
je 0x180052735
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x180055d40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x130]
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
cmp dword [rax + 0x40], 0xf
lea r9, [rax + 0x28]
jle 0x180055d6c
mov r9, qword [r9]
movabs rdx, 0xcbf29ce484222325
movabs r8, 0x100000001b3
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, r8
test cl, cl
jne 0x180055d80
mov qword [rsp + 0x50], rdx
lea rcx, [0x180078ce0]
lea rdx, [rsp + 0x50]
call fcn.18001cbb0
mov rdx, qword [rax + 8]
cmp qword [rax], rdx
je 0x180055ea4
movaps xmmword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x50]
lea rcx, [0x180078ce0]
movaps xmmword [rsp + 0x20], xmm7
call fcn.18001cbb0
movsxd rcx, dword [rdi + 0x28]
mov rax, qword [rax]
movss xmm7, dword [rax + rcx*4 - 4]
lea eax, [rsi - 4]
lea rcx, [rbx + 0x30b8]
cmp eax, 1
jbe 0x180055e18
movss xmm6, dword [rbx + 0x1498]
xor eax, eax
cmp dword [rcx], 0x209b
je 0x180055e0e
inc rax
add rcx, 4
cmp rax, 6
jl 0x180055df7
jmp 0x180055e68
addss xmm6, dword [0x18006d448]
jmp 0x180055e68
xor eax, eax
nop word [rax + rax]
cmp dword [rcx], 0x209b
je 0x180055e3d
inc rax
add rcx, 4
cmp rax, 6
jl 0x180055e20
movss xmm6, dword [rsp + 0x50]
jmp 0x180055e4b
movss xmm6, dword [rsp + 0x50]
addss xmm6, dword [0x18006d460]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rax + 0x219d8b0]
cmp dword [rcx + 8], 0xc
jne 0x180055e68
addss xmm6, dword [0x18006d48c]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x180055e87
movaps xmm1, xmm6
addss xmm1, dword [0x18006d49c]
divss xmm6, xmm1
mulss xmm6, xmm7
subss xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180055ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x130]
mov esi, r8d
movaps xmmword [rsp + 0x20], xmm7
mov rbx, rdx
mov rdi, rcx
cmp dword [rax + 0x40], 0xf
lea r9, [rax + 0x28]
jle 0x180055ef1
mov r9, qword [r9]
movabs rdx, 0xcbf29ce484222325
movabs r8, 0x100000001b3
nop word [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, r8
test cl, cl
jne 0x180055f10
mov rax, qword [0x180078cc8]
mov rcx, qword [0x180078cd0]
movss xmm0, dword [0x18006d4fc]
movaps xmm7, xmm0
cmp rax, rcx
je 0x180055f5c
cmp qword [rax + 8], rbx
jne 0x180055f4c
cmp qword [rax], rdx
je 0x180055f57
add rax, 0x18
cmp rax, rcx
jne 0x180055f41
jmp 0x180055f5c
movss xmm7, dword [rax + 0x10]
ucomiss xmm7, xmm0
jp 0x180055f68
jne 0x180055f68
xorps xmm0, xmm0
jmp 0x180055f9f
xor ecx, ecx
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
movss xmm6, dword [rax + 0x21acd6c]
call fcn.180055d40
addss xmm0, xmm7
xorps xmm1, xmm1
subss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
maxss xmm0, xmm1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x18005d0f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r9d, r8d
mov rdi, rdx
mov r8, rcx
lea rbx, [rcx + 0x35c0]
lea r10, [rcx + 0x1236]
cmp byte [rcx + 0x1234], 0
jne 0x18005d173
mov byte [r10], 0
mov byte [rcx + 0x1235], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
mov byte [rcx + 0x1238], al
movzx eax, byte [rsp + 0x31]
mov edx, 2
mov byte [rcx + 0x1239], al
movzx ecx, byte [rsp + rdx + 0x30]
inc edx
mov byte [r8 + 0x123a], cl
movzx eax, byte [rsp + rdx + 0x30]
mov byte [r8 + 0x123b], al
mov byte [r8 + 0x123c], 0
mov byte [r8 + 0x1234], 1
mov rax, r8
mov dword [rsp + 0x40], r9d
mov eax, dword [rax + 0x1238]
mov dword [rsp + 0x30], eax
movzx eax, byte [r8 + 0x1235]
test al, al
je 0x18005d1bb
xor ecx, ecx
mov edx, eax
nop word [rax + rax]
mov eax, dword [rsp + rcx + 0x30]
not eax
xor dword [rsp + rcx + 0x40], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x18005d1a0
lea r10, [r8 + 0x1236]
movzx eax, byte [r10]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x18005d1e4
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x30]
not al
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x18005d1d0
movzx eax, byte [r8 + 0x123c]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x40]
mov dword [r8 + rcx*4 + 0x1240], eax
mov byte [r8 + 0x123c], cl
mov dword [rbx + 0x38], r9d
mov r8, qword [rbx + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r8]
lea r8, [r8 + 1]
xor rdx, rcx
imul rdx, r10
test cl, cl
jne 0x18005d230
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x18005d25d
lea eax, [r9 - 0x1d]
cmp eax, 7
jbe 0x18005d2a3
jmp 0x18005d2ca
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x18005d277
lea eax, [r9 - 0x1a]
cmp eax, 6
jbe 0x18005d2a3
jmp 0x18005d2ca
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x18005d28e
cmp r9d, 0x10
je 0x18005d2a3
jmp 0x18005d2ca
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x18005d2ac
cmp r9d, 6
jne 0x18005d2ca
mov byte [rbx + 0x9c], 0
jmp 0x18005d303
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x18005d2eb
cmp rdx, rax
je 0x18005d2eb
cmp byte [rbx + 0x9c], 0xff
je 0x18005d303
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x18005d303
mov byte [rbx + 0x9c], 0xff
jmp 0x18005d303
cmp r9d, 7
jne 0x18005d324
cmp rdx, rcx
je 0x18005d32f
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18005d303
mov qword [rbx + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x185860
mov dl, 1
mov rcx, rbx
call rax
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r9d, 6
jne 0x18005d2f6
cmp rdx, rax
jne 0x18005d2f6
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18005d33c
mov qword [rbx + 8], rax
mov r8d, r9d
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180051160
Function at 0x18005d354
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18005d3d8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800658b0]
cmp byte [rcx + rax], 0
je 0x18005d3d8
dec r8
sub rdx, 1
jne 0x18005d3be
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18005e960
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18005eb80
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18005ea67
mov rax, qword [0x180078040]
cmp qword [rsp + 0x20], rax
jb 0x18005e9c4
mov rax, qword [0x180078048]
cmp qword [rsp + 0x20], rax
ja 0x18005e9c4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005e986
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18005e9f3
jmp 0x18005ea67
cmp dword [rsp + 0x50], 0x10000
jne 0x18005ea4a
cmp qword [rsp + 0x48], 0x10000
jb 0x18005ea4a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005ea38
mov rax, qword [rsp + 0x28]
jmp 0x18005ea69
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005ea62
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18005eb80
mov qword [rsp + 0x20], rax
jmp 0x18005e986
xor eax, eax
add rsp, 0x68
ret
Function at 0x18005ea70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18005ebc0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18005eb73
mov rax, qword [0x180078040]
cmp qword [rsp + 0x20], rax
jb 0x18005eacb
mov rax, qword [0x180078048]
cmp qword [rsp + 0x20], rax
ja 0x18005eacb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005ea8d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18005eafa
jmp 0x18005eb73
cmp dword [rsp + 0x50], 0x10000
jne 0x18005eb51
cmp qword [rsp + 0x48], 0x10000
jb 0x18005eb51
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005eb3f
mov rax, qword [rsp + 0x28]
jmp 0x18005eb75
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005eb6e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18005ebc0
mov qword [rsp + 0x20], rax
jmp 0x18005ea8d
xor eax, eax
add rsp, 0x68
ret
Function at 0x140001c50
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x190
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140001d27
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14006cb10
mov rsi, rax
mov dword [rsp + 0x28], ebx
test ebx, ebx
je 0x140001d27
lea rax, [0x1400c92e8]
mov qword [rsp + 0x1a0], rax
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x40]
call fcn.140084aa0
lea rax, vtable.boost::system::system_error.0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x80], setsockopt
mov qword [rsp + 0x78], 0
mov byte [rsp + 0x68], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.140004530
nop
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140004580
lea rdx, [0x140101340]
lea rcx, [rsp + 0x90]
call fcn.14008c5a8
nop
mov eax, edi
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140007490
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140105358]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword [rcx]
mov rbx, rcx
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x79], rax
mov rax, qword [rcx + 8]
xor r8d, r8d
mov qword [rbp - 0x71], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x69], rax
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x61], rax
mov rax, qword [rcx + 0x20]
mov qword [rbp - 0x59], rax
mov rax, qword [rcx + 0x28]
mov qword [rbp - 0x51], rax
mov rax, qword [rcx + 0x30]
mov qword [rbp - 0x49], rax
mov rax, qword [rcx + 0x38]
lea rcx, [rbp - 0x79]
mov qword [rbp - 0x41], rax
call fcn.140005b60
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
mov r8d, 1
call fcn.140005b60
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
mov r8d, 2
call fcn.140005b60
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
mov r8d, 3
call fcn.140005b60
mov edi, 4
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
mov r8d, edi
call fcn.140005b60
lea r8d, [rdi + 1]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.140005b60
lea r8d, [rdi + 2]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.140005b60
lea r8d, [rdi + 3]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.140005b60
lea r8d, [rdi + 4]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.140005b60
lea r8d, [rdi + 5]
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.140005b60
lea rdx, [rbp - 0x79]
lea r8, [rbp - 0x75]
sub rdx, rbx
lea rax, [rbx + 8]
sub r8, rbx
nop dword [rax]
mov ecx, dword [rdx + rax - 8]
lea rax, [rax + 0x10]
xor dword [rax - 0x18], ecx
mov ecx, dword [r8 + rax - 0x18]
xor dword [rax - 0x14], ecx
mov ecx, dword [rdx + rax - 0x10]
xor dword [rax - 0x10], ecx
mov ecx, dword [r8 + rax - 0x10]
xor dword [rax - 0xc], ecx
dec rdi
jne 0x1400075c0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140084a30
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret