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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x148
mov rax, qword [0x1802e3038]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r14, r9
mov r15, rdx
lea r9, [0x1802bee84]
mov rbx, r8
lea rdx, str._s_s
mov rdi, rcx
call fcn.1800eab70
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 0x1800ff9bb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbp, rax
test rax, rax
jne 0x1800ff9bb
lea rbx, [rdi + 0x10]
jmp 0x1800ff9f1
mov rdx, qword [rdi + 0x18]
lea r8, str.LUA_NOENV
add rdx, 0x40
mov rcx, rdi
call fcn.1800eaca0
mov rax, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
add rax, 0xfffffffffffffff0
mov ecx, dword [rax + 8]
test ecx, ecx
je 0x1800ffa31
cmp ecx, 1
jne 0x1800ff9ee
cmp dword [rax], esi
je 0x1800ffa31
mov qword [rbx], rax
test r14, r14
jne 0x1800ff9fe
mov rax, qword [rbx]
mov dword [rax + 8], esi
jmp 0x1800ffa19
mov rdx, r14
mov rcx, rdi
call fcn.18010a850
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 0x1800ffa77
mov rcx, rdi
call fcn.1800f99c0
jmp 0x1800ffa77
lea r9, [0x1802bef7c]
mov qword [rbx], rax
lea r8, [0x1802bef80]
mov rdx, rbp
mov rcx, rdi
call fcn.1800ede20
mov r9, r14
lea r8, [0x1802bef84]
mov rdx, rax
mov rcx, rdi
call fcn.1800ede20
mov edx, 0xfffffffe
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.1800ea690
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 0x1800ffb5d
cmp eax, 0x105
je 0x1800ffb5d
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1800ffb5d
mov byte [rax], sil
mov rax, qword [rbx]
sub rax, 0x10
mov ecx, dword [rax + 8]
and ecx, 0xf
cmp ecx, 4
je 0x1800ffaf4
cmp ecx, 3
jne 0x1800ffafb
mov rdx, rax
mov rcx, rdi
call fcn.180102060
mov rax, qword [rdi + 0x18]
cmp qword [rax + 0x18], rsi
jle 0x1800ffaed
mov rcx, rdi
call fcn.1800f99c0
mov rax, qword [rbx]
sub rax, 0x10
mov rsi, qword [rax]
add rsi, 0x18
lea r9, [rsp + 0x20]
mov rdx, rsi
lea r8, [0x1802bee58]
mov rcx, rdi
call fcn.1800ede20
mov edx, 0xfffffffe
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.1800ea690
add qword [rbx], 0xfffffffffffffff0
mov r8, r15
mov rdx, qword [rbx]
mov rcx, rdi
add rdx, 0xffffffffffffffd0
call fcn.1800eb030
add qword [rbx], 0xfffffffffffffff0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180120100
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.1800ec740
int3
Function at 0x180101b00
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, [0x18018d2c0]
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 0x180101b5f
nop dword [rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r13 + 1], 8
jne 0x180101b50
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x180101b76
mov r15d, ebp
jmp 0x180101b7f
cmp al, 0x2b
mov r15d, edi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x70]
jne 0x180101cb8
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x180101cb8
movsd xmm2, qword [0x1802c0480]
add rdx, 2
nop word [rax + rax]
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, r14d
jne 0x180101bca
test r11d, r11d
jne 0x180101c1f
mov r11d, ebp
inc rdx
jmp 0x180101bb0
test byte [r8 + r13 + 1], 0x10
je 0x180101c1f
test r10d, r10d
jne 0x180101be1
cmp r8b, 0x30
jne 0x180101be1
inc esi
jmp 0x180101c12
inc r10d
cmp r10d, 0x1e
jg 0x180101c0f
test byte [rcx + r13 + 1], 2
je 0x180101bf7
add ecx, 0xffffffd0
jmp 0x180101bfd
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x180101c12
inc r9d
test r11d, r11d
je 0x180101c1a
dec r9d
inc rdx
jmp 0x180101bb0
lea eax, [rsi + r10]
test eax, eax
je 0x180101cb8
mov qword [r12], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x180101c9e
movzx ecx, byte [rdx + 1]
cmp cl, 0x2d
jne 0x180101c50
mov eax, 2
jmp 0x180101c5e
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 0x180101cb8
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 0x180101c70
mov eax, edi
mov qword [r12], r8
neg eax
test ebp, ebp
cmove eax, edi
add r9d, eax
test r15d, r15d
je 0x180101caa
xorps xmm1, xmmword [0x1802c0890]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x180101cbb
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 0x18010a790
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 0x18010a7b7
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.18010a600
movabs rax, 0x7fffffffffffffe7
cmp rbp, rax
jae 0x18010a844
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.1800ff7e0
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.1800ff7c0
int3
Function at 0x1801196a0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180119713
lea ecx, [rdx + 7]
mov qword [rsp + 0x40], rdi
call fcn.180120154
xor edi, edi
lea r8, [0x18011a720]
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.180120154
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 0x18011c5d0
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.18011c820
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18011c6ea
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18011c634
mov rax, qword [0x1802e3008]
cmp qword [rsp + 0x20], rax
ja 0x18011c634
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18011c5f6
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 0x18011c665
jmp 0x18011c6ea
cmp dword [rsp + 0x50], 0x10000
jne 0x18011c6cd
cmp qword [rsp + 0x48], 0x10000
jb 0x18011c6cd
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 0x18011c6ab
mov rax, qword [rsp + 0x28]
jmp 0x18011c6ec
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18011c6bb
xor eax, eax
jmp 0x18011c6ec
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18011c6e5
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18011c820
mov qword [rsp + 0x20], rax
jmp 0x18011c5f6
xor eax, eax
add rsp, 0x68
ret

Function at 0x18011c700
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.18011c860
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18011c816
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18011c75b
mov rax, qword [0x1802e3008]
cmp qword [rsp + 0x20], rax
ja 0x18011c75b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18011c71d
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 0x18011c78c
jmp 0x18011c816
cmp dword [rsp + 0x50], 0x10000
jne 0x18011c7f4
cmp qword [rsp + 0x48], 0x10000
jb 0x18011c7f4
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 0x18011c7d2
mov rax, qword [rsp + 0x28]
jmp 0x18011c818
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18011c7e2
xor eax, eax
jmp 0x18011c818
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18011c811
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18011c860
mov qword [rsp + 0x20], rax
jmp 0x18011c71d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18011c8b0
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.18011ce40
mov qword [rsp + 0x28], 0
cmp qword [0x1802e7478], 0
jne 0x18011c8f8
cmp qword [0x1802e7470], 0
je 0x18011c8f8
mov rax, qword [0x1802e7470]
mov qword [0x1802e7478], rax
cmp qword [0x1802e7478], 0
je 0x18011c99e
mov rax, qword [0x1802e7478]
cmp qword [rax + 0x10], 0
je 0x18011c99e
mov rax, qword [0x1802e7478]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18011c99e
mov rax, qword [0x1802e7478]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18011c99e
mov rax, qword [0x1802e7478]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18011c964
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18011c96b
xor eax, eax
jmp 0x18011cb19
mov rax, qword [0x1802e7478]
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 0x18011cb19
mov rax, qword [0x1802e7470]
mov qword [0x1802e7478], rax
jmp 0x18011c9c0
mov rax, qword [0x1802e7478]
mov rax, qword [rax + 8]
mov qword [0x1802e7478], rax
cmp qword [0x1802e7478], 0
je 0x18011ca0d
cmp qword [0x1802e7478], 0
je 0x18011ca0b
mov rax, qword [0x1802e7478]
cmp qword [rax + 0x10], 0
je 0x18011ca0b
mov rax, qword [0x1802e7478]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18011ca0b
mov rax, qword [0x1802e7478]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18011ca0b
jmp 0x18011c93c
jmp 0x18011c9ae
mov rcx, qword [rsp + 0x60]
call fcn.18011ece0
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.18011cb20
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18011cb17
mov rax, qword [rsp + 0x48]
mov qword [0x1802e7478], rax
mov rax, qword [0x1802e7478]
mov dword [rax], 0x52727464
mov rax, qword [0x1802e7478]
mov qword [rax + 0x10], 0
mov rax, qword [0x1802e7478]
mov rcx, qword [0x1802e7470]
mov qword [rax + 8], rcx
mov rax, qword [0x1802e7478]
mov qword [0x1802e7470], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1802e7478]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18011cac8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18011cb02
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 0x18011cabe
mov rax, qword [0x1802e7478]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18011c93c
xor eax, eax
add rsp, 0x58
ret
Function at 0x18011d830
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 0x18011d877
xor al, al
jmp 0x18011d919
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 0x18011d8a1
xor al, al
jmp 0x18011d919
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 0x18011d911
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 0x18011d911
mov al, 1
jmp 0x18011d919
jmp 0x18011d917
xor al, al
add rsp, 0x78
ret

Function at 0x18011dc20
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1802e7470]
mov qword [rsp + 0x28], rax
jmp 0x18011dc40
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18011dc6f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18011dc6d
call sub.KERNEL32.dll_GetLastError
jmp 0x18011dc71
jmp 0x18011dc32
xor eax, eax
add rsp, 0x38
ret
Function at 0x18011e330
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 [0x1802e7488], eax
je 0x18011e35d
mov eax, 0x10dd
jmp 0x18011e576
cmp dword [0x1802e748c], 0
je 0x18011e371
mov eax, dword [0x1802e748c]
jmp 0x18011e576
cmp qword [rsp + 0x78], 0
jne 0x18011e383
mov eax, 0x57
jmp 0x18011e576
cmp qword [rsp + 0x70], 0
jne 0x18011e395
mov eax, 6
jmp 0x18011e576
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x18011e3c7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x1802e748c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x1802e7490], rax
mov eax, dword [rsp + 0x20]
jmp 0x18011e576
mov ecx, 0x30
call fcn.180120154
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18011e439
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x1802e748c], eax
cmp qword [rsp + 0x30], 0
je 0x18011e424
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.180120120
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1802e7490], rax
mov eax, dword [rsp + 0x20]
jmp 0x18011e576
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.18011e300
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.18011e300
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 0x18011e496
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x18011e4b3
mov dword [rsp + 0x20], 9
cmp dword [0x1802e7480], 0
je 0x18011e4ae
jmp 0x18011e3fa
jmp 0x18011e3f0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x18011e4e0
mov dword [rsp + 0x20], 9
cmp dword [0x1802e7480], 0
je 0x18011e4db
jmp 0x18011e3fa
jmp 0x18011e3f0
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 0x18011e517
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x18011e3f0
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 [0x1802e74a0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x1802e74a0], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x18011e580
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1802e7488], eax
je 0x18011e59b
mov eax, 0x10dd
jmp 0x18011e6c0
mov rax, qword [0x1802e74a0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18011e645
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 0x18011e610
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x18011e610
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.18011cf80
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.180120120
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x18011e5a7
mov qword [0x1802e74a0], 0
call fcn.18011d9e0
mov rax, qword [0x1802e7498]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18011e6a9
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.180120120
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x18011e661
mov qword [0x1802e7498], 0
mov dword [0x1802e7488], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x18011ebf0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1802e748c], 0
je 0x18011ec0d
mov eax, dword [0x1802e748c]
jmp 0x18011ecd3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x18011ec20
xor eax, eax
jmp 0x18011ecd3
mov ecx, 0x10
call fcn.180120154
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18011ec8e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x18011ec73
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180120120
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1802e748c], eax
mov qword [0x1802e7490], 0
mov eax, dword [rsp + 0x20]
jmp 0x18011ecd3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x18011eca8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x18011ec49
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1802e7498]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1802e7498], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x180121250
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 0x1801212d4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180134d50]
cmp byte [rcx + rax], 0
je 0x1801212d4
dec r8
sub rdx, 1
jne 0x1801212ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140003810
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, qword [rcx]
mov qword [rsp + 0x50], rbx
movsxd rdx, dword [rdx]
mov rcx, qword [rbx + 0x18]
mov rcx, qword [rcx + 0x40]
call fcn.14003de30
mov rdx, rax
mov rcx, qword [rbx + 0x10]
test byte [rax + 8], 0xf
jne 0x140003857
mov byte [rcx + 8], 0
jmp 0x140003864
mov rax, qword [rax]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140012650
mov r10, rax
mov r13, rax
shr r13, 0x38
mov rcx, rax
shr rcx, 0x30
movzx r12d, cl
mov rcx, rax
shr rcx, 0x28
movzx r14d, cl
mov rdx, rax
shr rdx, 0x20
movzx ebp, dl
mov rdx, rax
shr rdx, 0x18
movzx esi, dl
shr rax, 0x10
movzx edi, al
mov rax, r10
shr rax, 8
movzx ebx, al
movzx r15d, r10b
mov edx, 0xfffffffe
mov rcx, qword [rsp + 0x50]
call fcn.140012080
nop
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rax, 0x100000001b3
imul r15, rax
xor r15, rbx
imul r15, rax
xor r15, rdi
imul r15, rax
xor r15, rsi
imul r15, rax
xor r15, rbp
imul r15, rax
xor r15, r14
imul r15, rax
xor r15, r12
imul r15, rax
xor r15, r13
imul rax, r15
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret