joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800ff9d0
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x148
mov rax, qword [0x1802df040]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r14, r9
mov r15, rdx
lea r9, [0x1802bd204]
mov rbx, r8
lea rdx, str._s_s
mov rdi, rcx
call fcn.1800eabf0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor esi, esi
mov rbp, rax
test rax, rax
jne 0x1800ffa3b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbp, rax
test rax, rax
jne 0x1800ffa3b
lea rbx, [rdi + 0x10]
jmp 0x1800ffa71
mov rdx, qword [rdi + 0x18]
lea r8, str.LUA_NOENV
add rdx, 0x40
mov rcx, rdi
call fcn.1800ead20
mov rax, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
add rax, 0xfffffffffffffff0
mov ecx, dword [rax + 8]
test ecx, ecx
je 0x1800ffab1
cmp ecx, 1
jne 0x1800ffa6e
cmp dword [rax], esi
je 0x1800ffab1
mov qword [rbx], rax
test r14, r14
jne 0x1800ffa7e
mov rax, qword [rbx]
mov dword [rax + 8], esi
jmp 0x1800ffa99
mov rdx, r14
mov rcx, rdi
call fcn.18010a8d0
mov rcx, qword [rbx]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or eax, 0x40
mov dword [rcx + 8], eax
mov rax, qword [rdi + 0x18]
add qword [rbx], 0x10
cmp qword [rax + 0x18], rsi
jle 0x1800ffaf7
mov rcx, rdi
call fcn.1800f9a40
jmp 0x1800ffaf7
lea r9, [0x1802bd214]
mov qword [rbx], rax
lea r8, [0x1802bd35c]
mov rdx, rbp
mov rcx, rdi
call fcn.1800edea0
mov r9, r14
lea r8, [0x1802bd360]
mov rdx, rax
mov rcx, rdi
call fcn.1800edea0
mov edx, 0xfffffffe
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.1800ea710
add qword [rbx], 0xfffffffffffffff0
mov r8d, 0x105
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1800ffbdd
cmp eax, 0x105
je 0x1800ffbdd
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1800ffbdd
mov byte [rax], sil
mov rax, qword [rbx]
sub rax, 0x10
mov ecx, dword [rax + 8]
and ecx, 0xf
cmp ecx, 4
je 0x1800ffb74
cmp ecx, 3
jne 0x1800ffb7b
mov rdx, rax
mov rcx, rdi
call fcn.1801020e0
mov rax, qword [rdi + 0x18]
cmp qword [rax + 0x18], rsi
jle 0x1800ffb6d
mov rcx, rdi
call fcn.1800f9a40
mov rax, qword [rbx]
sub rax, 0x10
mov rsi, qword [rax]
add rsi, 0x18
lea r9, [rsp + 0x20]
mov rdx, rsi
lea r8, [0x1802bd1d8]
mov rcx, rdi
call fcn.1800edea0
mov edx, 0xfffffffe
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.1800ea710
add qword [rbx], 0xfffffffffffffff0
mov r8, r15
mov rdx, qword [rbx]
mov rcx, rdi
add rdx, 0xffffffffffffffd0
call fcn.1800eb0b0
add qword [rbx], 0xfffffffffffffff0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1801200f0
add rsp, 0x148
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, str.unable_to_get_ModuleFileName
mov rcx, rdi
call fcn.1800ec7c0
int3
Function at 0x180101b80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x28
mov qword [rsp + 0x70], rbx
mov r12, rdx
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor edi, edi
lea r13, [0x18018bf10]
xorps xmm1, xmm1
mov r10d, edi
mov esi, edi
mov r9d, edi
mov r8, qword [rax]
mov r11d, edi
movsx r14d, byte [r8]
mov qword [r12], rbx
movzx eax, byte [rbx]
test byte [rax + r13 + 1], 8
je 0x180101bdf
nop dword [rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r13 + 1], 8
jne 0x180101bd0
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x180101bf6
mov r15d, ebp
jmp 0x180101bff
cmp al, 0x2b
mov r15d, edi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x70]
jne 0x180101d38
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x180101d38
movsd xmm2, qword [0x1802be7f8]
add rdx, 2
nop word [rax + rax]
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, r14d
jne 0x180101c4a
test r11d, r11d
jne 0x180101c9f
mov r11d, ebp
inc rdx
jmp 0x180101c30
test byte [r8 + r13 + 1], 0x10
je 0x180101c9f
test r10d, r10d
jne 0x180101c61
cmp r8b, 0x30
jne 0x180101c61
inc esi
jmp 0x180101c92
inc r10d
cmp r10d, 0x1e
jg 0x180101c8f
test byte [rcx + r13 + 1], 2
je 0x180101c77
add ecx, 0xffffffd0
jmp 0x180101c7d
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x180101c92
inc r9d
test r11d, r11d
je 0x180101c9a
dec r9d
inc rdx
jmp 0x180101c30
lea eax, [rsi + r10]
test eax, eax
je 0x180101d38
mov qword [r12], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x180101d1e
movzx ecx, byte [rdx + 1]
cmp cl, 0x2d
jne 0x180101cd0
mov eax, 2
jmp 0x180101cde
cmp cl, 0x2b
mov rax, rdi
mov ebp, edi
sete al
inc rax
lea r8, [rdx + rax]
movzx edx, byte [rdx + rax]
test byte [rdx + r13 + 1], 2
je 0x180101d38
nop
movsx eax, dl
lea edi, [rdi + rdi*4]
inc r8
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
movzx eax, byte [r8]
movzx edx, al
test byte [rax + r13 + 1], 2
jne 0x180101cf0
mov eax, edi
mov qword [r12], r8
neg eax
test ebp, ebp
cmove eax, edi
add r9d, eax
test r15d, r15d
je 0x180101d2a
xorps xmm1, xmmword [0x1802bec00]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x180101d3b
xorps xmm0, xmm0
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18010a810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
cmp r8, 0x28
ja 0x18010a837
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.18010a680
movabs rax, 0x7fffffffffffffe7
cmp rbp, rax
jae 0x18010a8c4
mov qword [rsp + 0x30], rbx
lea r9, [r8 + 0x19]
xor edx, edx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov rdi, qword [rcx + 0x18]
lea r8d, [rdx + 4]
mov ebx, dword [rdi + 0x50]
call fcn.1800ff860
movzx ecx, byte [rdi + 0x54]
mov r8, rbp
and cl, 3
mov rdx, r14
mov rsi, rax
mov byte [rax + 9], cl
mov byte [rax + 8], 0x14
mov rcx, qword [rdi + 0x58]
mov qword [rax], rcx
lea rcx, [rax + 0x18]
mov qword [rdi + 0x58], rax
mov dword [rax + 0xc], ebx
mov byte [rax + 0xa], 0
mov byte [rax + rbp + 0x18], 0
mov qword [rax + 0x10], rbp
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.1800ff840
int3
Function at 0x180119690
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180119703
lea ecx, [rdx + 7]
mov qword [rsp + 0x40], rdi
call fcn.180120264
xor edi, edi
lea r8, [0x18011a710]
mov qword [rsp + 0x28], rdi
mov r9, rax
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
mov qword [rax], rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [rdi + 8]
call fcn.180120264
mov qword [rsp + 0x28], rdi
lea r8, [0x180118ff0]
mov r9, rax
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
mov qword [rax], rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x18011c5c0
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.18011c810
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18011c6da
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18011c624
mov rax, qword [0x1802df008]
cmp qword [rsp + 0x20], rax
ja 0x18011c624
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18011c5e6
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 sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18011c655
jmp 0x18011c6da
cmp dword [rsp + 0x50], 0x10000
jne 0x18011c6bd
cmp qword [rsp + 0x48], 0x10000
jb 0x18011c6bd
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18011c69b
mov rax, qword [rsp + 0x28]
jmp 0x18011c6dc
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18011c6ab
xor eax, eax
jmp 0x18011c6dc
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18011c6d5
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18011c810
mov qword [rsp + 0x20], rax
jmp 0x18011c5e6
xor eax, eax
add rsp, 0x68
ret

Function at 0x18011c6f0
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.18011c850
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18011c806
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18011c74b
mov rax, qword [0x1802df008]
cmp qword [rsp + 0x20], rax
ja 0x18011c74b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18011c70d
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 sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18011c77c
jmp 0x18011c806
cmp dword [rsp + 0x50], 0x10000
jne 0x18011c7e4
cmp qword [rsp + 0x48], 0x10000
jb 0x18011c7e4
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18011c7c2
mov rax, qword [rsp + 0x28]
jmp 0x18011c808
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18011c7d2
xor eax, eax
jmp 0x18011c808
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18011c801
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18011c850
mov qword [rsp + 0x20], rax
jmp 0x18011c70d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18011c8a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18011ce30
mov qword [rsp + 0x28], 0
cmp qword [0x1802e1f08], 0
jne 0x18011c8e8
cmp qword [0x1802e1f00], 0
je 0x18011c8e8
mov rax, qword [0x1802e1f00]
mov qword [0x1802e1f08], rax
cmp qword [0x1802e1f08], 0
je 0x18011c98e
mov rax, qword [0x1802e1f08]
cmp qword [rax + 0x10], 0
je 0x18011c98e
mov rax, qword [0x1802e1f08]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18011c98e
mov rax, qword [0x1802e1f08]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18011c98e
mov rax, qword [0x1802e1f08]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18011c954
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18011c95b
xor eax, eax
jmp 0x18011cb09
mov rax, qword [0x1802e1f08]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x18011cb09
mov rax, qword [0x1802e1f00]
mov qword [0x1802e1f08], rax
jmp 0x18011c9b0
mov rax, qword [0x1802e1f08]
mov rax, qword [rax + 8]
mov qword [0x1802e1f08], rax
cmp qword [0x1802e1f08], 0
je 0x18011c9fd
cmp qword [0x1802e1f08], 0
je 0x18011c9fb
mov rax, qword [0x1802e1f08]
cmp qword [rax + 0x10], 0
je 0x18011c9fb
mov rax, qword [0x1802e1f08]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18011c9fb
mov rax, qword [0x1802e1f08]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18011c9fb
jmp 0x18011c92c
jmp 0x18011c99e
mov rcx, qword [rsp + 0x60]
call fcn.18011ecd0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18011cb10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18011cb07
mov rax, qword [rsp + 0x48]
mov qword [0x1802e1f08], rax
mov rax, qword [0x1802e1f08]
mov dword [rax], 0x52727464
mov rax, qword [0x1802e1f08]
mov qword [rax + 0x10], 0
mov rax, qword [0x1802e1f08]
mov rcx, qword [0x1802e1f00]
mov qword [rax + 8], rcx
mov rax, qword [0x1802e1f08]
mov qword [0x1802e1f00], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1802e1f08]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18011cab8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18011caf2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18011caae
mov rax, qword [0x1802e1f08]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18011c92c
xor eax, eax
add rsp, 0x58
ret
Function at 0x18011d820
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18011d867
xor al, al
jmp 0x18011d909
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x18011d891
xor al, al
jmp 0x18011d909
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x18011d901
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x18011d901
mov al, 1
jmp 0x18011d909
jmp 0x18011d907
xor al, al
add rsp, 0x78
ret

Function at 0x18011dc10
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1802e1f00]
mov qword [rsp + 0x28], rax
jmp 0x18011dc30
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18011dc5f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18011dc5d
call sub.KERNEL32.dll_GetLastError
jmp 0x18011dc61
jmp 0x18011dc22
xor eax, eax
add rsp, 0x38
ret
Function at 0x18011e320
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1802e1f18], eax
je 0x18011e34d
mov eax, 0x10dd
jmp 0x18011e566
cmp dword [0x1802e1f1c], 0
je 0x18011e361
mov eax, dword [0x1802e1f1c]
jmp 0x18011e566
cmp qword [rsp + 0x78], 0
jne 0x18011e373
mov eax, 0x57
jmp 0x18011e566
cmp qword [rsp + 0x70], 0
jne 0x18011e385
mov eax, 6
jmp 0x18011e566
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x18011e3b7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x1802e1f1c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x1802e1f20], rax
mov eax, dword [rsp + 0x20]
jmp 0x18011e566
mov ecx, 0x30
call fcn.180120264
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18011e429
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x1802e1f1c], eax
cmp qword [rsp + 0x30], 0
je 0x18011e414
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.180120110
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1802e1f20], rax
mov eax, dword [rsp + 0x20]
jmp 0x18011e566
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.18011e2f0
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.18011e2f0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x18011e486
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x18011e4a3
mov dword [rsp + 0x20], 9
cmp dword [0x1802e1f10], 0
je 0x18011e49e
jmp 0x18011e3ea
jmp 0x18011e3e0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x18011e4d0
mov dword [rsp + 0x20], 9
cmp dword [0x1802e1f10], 0
je 0x18011e4cb
jmp 0x18011e3ea
jmp 0x18011e3e0
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18011e507
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x18011e3e0
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x1802e1f30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x1802e1f30], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x18011e570
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1802e1f18], eax
je 0x18011e58b
mov eax, 0x10dd
jmp 0x18011e6b0
mov rax, qword [0x1802e1f30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18011e635
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x18011e600
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x18011e600
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.18011cf70
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.180120110
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x18011e597
mov qword [0x1802e1f30], 0
call fcn.18011d9d0
mov rax, qword [0x1802e1f28]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18011e699
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.180120110
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x18011e651
mov qword [0x1802e1f28], 0
mov dword [0x1802e1f18], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x18011ebe0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1802e1f1c], 0
je 0x18011ebfd
mov eax, dword [0x1802e1f1c]
jmp 0x18011ecc3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x18011ec10
xor eax, eax
jmp 0x18011ecc3
mov ecx, 0x10
call fcn.180120264
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18011ec7e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x18011ec63
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180120110
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1802e1f1c], eax
mov qword [0x1802e1f20], 0
mov eax, dword [rsp + 0x20]
jmp 0x18011ecc3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x18011ec98
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x18011ec39
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1802e1f28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1802e1f28], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x180121240
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 0x1801212c4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180132b50]
cmp byte [rcx + rax], 0
je 0x1801212c4
dec r8
sub rdx, 1
jne 0x1801212aa
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140003c30
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 0x140003c8d
lea rbx, [0x1400ec8b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003c74
cmp r10, 2
jb 0x140003c74
cmp byte [r9], r8b
jne 0x140003c74
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 0x140003c50
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003ccf
lea rbx, [0x1400ec8b0]
cmp r8b, 0x23
jne 0x140003cb3
cmp byte [r9], r8b
jne 0x140003cb3
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 0x140003ca0
mov rbx, qword [rsp + 8]
not eax
ret