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.18005dc78
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.18005db74
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 0x180025150
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 0x1800251ad
lea rbx, [0x180067130]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180025194
cmp r10, 2
jb 0x180025194
cmp byte [r9], r8b
jne 0x180025194
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 0x180025170
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800251ef
lea rbx, [0x180067130]
cmp r8b, 0x23
jne 0x1800251d3
cmp byte [r9], r8b
jne 0x1800251d3
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 0x1800251c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180025330
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18002534a
mov qword [r8], 0
lea rdx, [0x18006cb00]
call fcn.180025200
mov rbx, rax
test rax, rax
jne 0x18002536a
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 0x180025441
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 0x180025441
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180025441
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 0x180025441
cmp rdi, 0xffffffffffffffff
je 0x180025441
mov rax, qword [0x180078a28]
test rax, rax
je 0x1800253de
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 0x180025441
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 0x18002542e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180078a28]
test rax, rax
je 0x180025423
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18002544a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18002543c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18002544c
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 0x1800278e0
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 0x18002796b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180039940
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18002aea0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18002aef0
lea r11, [0x180067130]
nop dword [rax]
cmp r9b, 0x23
jne 0x18002aed3
cmp byte [r8], r9b
jne 0x18002aed3
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 0x18002aec0
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 0x18002af51
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18002af49
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18002af4c
mov rdx, r8
test rdx, rdx
jne 0x18002af20
cmp r9, r10
je 0x18002af60
cmp dword [r9], eax
jne 0x18002af60
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180038180
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 0x180038227
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800381da
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.18003aa70
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180025790
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 0x18003822f
mov rcx, rbx
call fcn.180025790
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800386b0
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 0x180038713
mov qword [rsp], rbx
lea rbx, [0x180067130]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800386f3
cmp byte [r8], r9b
jne 0x1800386f3
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 0x1800386e0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180038747
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18003874e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180038734
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 0x180052690
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 0x180052753
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 0x180052769
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.180023900
test rdi, rdi
je 0x180052777
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rsi, rsi
je 0x180052785
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 0x180055d60
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 0x180055d8c
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 0x180055da0
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 0x180055ec4
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 + 0x436c]
cmp eax, 1
jbe 0x180055e38
movss xmm6, dword [rbx + 0x1a00]
xor eax, eax
cmp dword [rcx], 0x209b
je 0x180055e2e
inc rax
add rcx, 4
cmp rax, 6
jl 0x180055e17
jmp 0x180055e88
addss xmm6, dword [0x18006d450]
jmp 0x180055e88
xor eax, eax
nop word [rax + rax]
cmp dword [rcx], 0x209b
je 0x180055e5d
inc rax
add rcx, 4
cmp rax, 6
jl 0x180055e40
movss xmm6, dword [rsp + 0x50]
jmp 0x180055e6b
movss xmm6, dword [rsp + 0x50]
addss xmm6, dword [0x18006d468]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rax + 0x21ce388]
cmp dword [rcx + 8], 0xc
jne 0x180055e88
addss xmm6, dword [0x18006d494]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x180055ea7
movaps xmm1, xmm6
addss xmm1, dword [0x18006d4a4]
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 0x180055ee0
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 0x180055f11
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 0x180055f30
mov rax, qword [0x180078cc8]
mov rcx, qword [0x180078cd0]
movss xmm0, dword [0x18006d504]
movaps xmm7, xmm0
cmp rax, rcx
je 0x180055f7c
cmp qword [rax + 8], rbx
jne 0x180055f6c
cmp qword [rax], rdx
je 0x180055f77
add rax, 0x18
cmp rax, rcx
jne 0x180055f61
jmp 0x180055f7c
movss xmm7, dword [rax + 0x10]
ucomiss xmm7, xmm0
jp 0x180055f88
jne 0x180055f88
xorps xmm0, xmm0
jmp 0x180055fbf
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 + 0x21dde50]
call fcn.180055d60
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 0x18005d110
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 + 0x35d8]
lea r10, [rcx + 0x1246]
cmp byte [rcx + 0x1244], 0
jne 0x18005d193
mov byte [r10], 0
mov byte [rcx + 0x1245], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
mov byte [rcx + 0x1248], al
movzx eax, byte [rsp + 0x31]
mov edx, 2
mov byte [rcx + 0x1249], al
movzx ecx, byte [rsp + rdx + 0x30]
inc edx
mov byte [r8 + 0x124a], cl
movzx eax, byte [rsp + rdx + 0x30]
mov byte [r8 + 0x124b], al
mov byte [r8 + 0x124c], 0
mov byte [r8 + 0x1244], 1
mov rax, r8
mov dword [rsp + 0x40], r9d
mov eax, dword [rax + 0x1248]
mov dword [rsp + 0x30], eax
movzx eax, byte [r8 + 0x1245]
test al, al
je 0x18005d1db
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 0x18005d1c0
lea r10, [r8 + 0x1246]
movzx eax, byte [r10]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x18005d204
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x30]
not al
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x18005d1f0
movzx eax, byte [r8 + 0x124c]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x40]
mov dword [r8 + rcx*4 + 0x1250], eax
mov byte [r8 + 0x124c], 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 0x18005d250
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x18005d27d
lea eax, [r9 - 0x1d]
cmp eax, 7
jbe 0x18005d2c3
jmp 0x18005d2ea
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x18005d297
lea eax, [r9 - 0x1a]
cmp eax, 6
jbe 0x18005d2c3
jmp 0x18005d2ea
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x18005d2ae
cmp r9d, 0x10
je 0x18005d2c3
jmp 0x18005d2ea
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x18005d2cc
cmp r9d, 6
jne 0x18005d2ea
mov byte [rbx + 0x9c], 0
jmp 0x18005d323
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x18005d30b
cmp rdx, rax
je 0x18005d30b
cmp byte [rbx + 0x9c], 0xff
je 0x18005d323
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x18005d323
mov byte [rbx + 0x9c], 0xff
jmp 0x18005d323
cmp r9d, 7
jne 0x18005d344
cmp rdx, rcx
je 0x18005d34f
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18005d323
mov qword [rbx + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x188b80
mov dl, 1
mov rcx, rbx
call rax
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r9d, 6
jne 0x18005d316
cmp rdx, rax
jne 0x18005d316
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18005d35c
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.1800511b0
Function at 0x18005d374
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 0x18005d3f8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800658b0]
cmp byte [rcx + rax], 0
je 0x18005d3f8
dec r8
sub rdx, 1
jne 0x18005d3de
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18005e980
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.18005eba0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18005ea87
mov rax, qword [0x180078040]
cmp qword [rsp + 0x20], rax
jb 0x18005e9e4
mov rax, qword [0x180078048]
cmp qword [rsp + 0x20], rax
ja 0x18005e9e4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005e9a6
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 0x18005ea13
jmp 0x18005ea87
cmp dword [rsp + 0x50], 0x10000
jne 0x18005ea6a
cmp qword [rsp + 0x48], 0x10000
jb 0x18005ea6a
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 0x18005ea58
mov rax, qword [rsp + 0x28]
jmp 0x18005ea89
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005ea82
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18005eba0
mov qword [rsp + 0x20], rax
jmp 0x18005e9a6
xor eax, eax
add rsp, 0x68
ret
Function at 0x18005ea90
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.18005ebe0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18005eb93
mov rax, qword [0x180078040]
cmp qword [rsp + 0x20], rax
jb 0x18005eaeb
mov rax, qword [0x180078048]
cmp qword [rsp + 0x20], rax
ja 0x18005eaeb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005eaad
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 0x18005eb1a
jmp 0x18005eb93
cmp dword [rsp + 0x50], 0x10000
jne 0x18005eb71
cmp qword [rsp + 0x48], 0x10000
jb 0x18005eb71
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 0x18005eb5f
mov rax, qword [rsp + 0x28]
jmp 0x18005eb95
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005eb8e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18005ebe0
mov qword [rsp + 0x20], rax
jmp 0x18005eaad
xor eax, eax
add rsp, 0x68
ret
Function at 0x140003214
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
je 0x14000326e
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
ror byte [rcx + rdx*4 + 0xc], cl
cmp r15, 0
je 0x140003276
mov r14, qword [r14]
jmp 0x14000323f
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x1400032ab
jmp 0x1400032b9
inc rax
inc rax
inc rax
inc rax
jmp 0x140003292
mov r14d, dword [r15 + 0x20]
sub rax, r14
sub rax, r12
shr eax, 1
mov r14d, dword [r15 + 0x24]
add r14, rax
add r14, r12
mov eax, dword [r14]
mov r14d, dword [r15 + 0x1c]
shl eax, 0x10
shr eax, 0xe
add r14, r12
add r14, rax
mov eax, dword [r14]
add rax, r12
mov r14d, 0x70000
add r14, r11
push r12
push r11
push r14
push r10
push r10
push rax
mov rcx, r14
mov r9, rsp
mov r8d, 0x40
mov edx, 0x55000
call rax
pop r15
pop r10
pop r10
pop r14
pop r11
mov r12d, 0x2623
push rax
movabs r15, 0x3ae00
mov eax, 5
imul r12, rax
movabs rax, 0x962
add rax, r11
add r12, rax
call fcn.140003370
mov r12d, 0x48611
movabs r14, 0xb0000
add r12, r11
mov r15d, 0x3b30
add r14, r11
call fcn.140003370
pop rax
jmp 0x140003396
nop
ret
mov r12d, 0x8000000
mov r15d, 0x312
movabs r14, 0x70000
mov eax, 5
imul r15d, eax
add r15d, 0xa6
add r14, r11
sub r14, r15
mov r15, r14
sub r15, r12
mov r12d, 0x4d211
add r12, r11
mov eax, dword [r12]
xor eax, 0xee5a449e
dec eax
cmp eax, 0
je 0x1400033f3
add rax, r14
mov r10, qword [rax]
add r10, r15
mov qword [rax], r10
add r12, 4
jmp 0x1400033d1
sub rsp, 0x28
movabs r14, 0x165d
mov r12d, 0xfe7
add r12, 0x91748
add r12, r14
add r12, r11
push r12
dec r10
lea r15d, [eax]
jmp 0x140003394
Function at 0x100006e2c
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x100021380]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea r9, [0x100003c50]
lea r8, [0x100003c78]
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov dword [0x100023ffc], 1
call fcn.1000055e4
xor ebx, ebx
cmp eax, ebx
je 0x100006e78
xor eax, eax
jmp 0x100006ed2
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rcx, [0x100003c90]
lea edx, [r9 + 0xa]
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
cmp eax, ebx
jne 0x100006e74
lea rcx, [0x100003ad0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf]
cmp eax, ebx
jne 0x100006e74
cmp dword [0x100024004], ebx
mov r8d, 1
mov edx, 0x4d2
cmovne r8d, ebx
mov ecx, 1
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
cmp eax, ebx
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.10000c740
add rsp, 0x240
pop rbx
ret