joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001e880
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x1800b2890]
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 [r11 + 0x11]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x12]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x13]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x14]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x15]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x16]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x17]
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 + 0x3f20], ebx
jne 0x18001e956
mov r8, rdx
mov ecx, ebx
mov edx, 0xc
call fcn.180033da0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18001e960
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x1800b2890]
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 + 0x3f20], ebx
jne 0x18001e9eb
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180033da0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18001ea00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1800b2890]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x180022140
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1800f6b70]
movzx esi, r9b
mov r12d, dword [rsp + 0x90]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1b0], 0
jne 0x18002219f
cmp qword [rdi + 0x4b48], 0
mov eax, 0x258
je 0x1800221a4
mov eax, 0x228
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x1800221e9
jne 0x1800221e9
mov eax, 1
jmp 0x1800221eb
xor eax, eax
ucomiss xmm0, xmm3
jp 0x1800221fa
jne 0x1800221fa
mov r15d, 2
jmp 0x1800221fd
xor r15d, r15d
movss xmm2, dword [0x1800e2060]
or r15d, eax
comiss xmm3, xmm1
jb 0x180022219
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x180022219
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x18002222a
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x18002222a
movaps xmm0, xmm2
or dword [rdi + 0x47b8], 2
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x180022273
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.180019b50
jmp 0x180022289
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.180019b50
movss xmm6, dword [rdi + 0x37f8]
test sil, sil
jne 0x1800222a0
mov dword [rdi + 0x37f8], 0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.180024ef0
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x1800222e6
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1800dd041]
not r9d
lea r10, [0x1800b2890]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x180022313
cmp byte [rdx], r8b
jne 0x180022313
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x180022300
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x180022343
xor edx, edx
xor ecx, ecx
call fcn.18001ebc0
cmp dword [rdi + 0x48e0], r14d
jne 0x180022390
bt r12d, 0x17
jb 0x180022390
cmp word [rsi + 0x15c], 0
jne 0x180022366
cmp byte [rsi + 0x162], 0
je 0x180022390
xor edx, edx
mov rcx, rsi
call fcn.1800273f0
xor edx, edx
mov rcx, rsi
call fcn.18002dd80
mov rdx, rsi
mov ecx, ebx
call fcn.18001ebc0
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18002bb00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1800f6b70]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x18002bb52
cmp byte [rbx + 0x4a92], 0
jne 0x18002bb52
movsx r9d, word [rbx + 0x5bc4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180019ad0
test dil, 2
je 0x18002bc7f
jmp 0x18002bbdb
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800e2090]
mulss xmm1, dword [0x1800e2080]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x1800e1fe4]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.180019ad0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18002bc30
lea r11, [0x1800b2890]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x18002bc13
cmp byte [r8], r9b
jne 0x18002bc13
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18002bc00
not ecx
call fcn.1800227b0
test rax, rax
je 0x18002bc7f
cmp byte [rax + 0xb6], 0
je 0x18002bc7f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc4]
movsx r9d, word [rbx + 0x5bc4]
call fcn.180019ad0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180024ef0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180031f00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800f6b70]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180031f63
mov qword [rsp], rbx
lea rbx, [0x1800b2890]
nop dword [rax]
cmp r9b, 0x23
jne 0x180031f43
cmp byte [r8], r9b
jne 0x180031f43
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 0x180031f30
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
not eax
mov r8, qword [r10 + 0x5c28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x180031f8f
cmp dword [r8 + 8], eax
je 0x180031f96
add r8, 0x48
cmp r8, rcx
jne 0x180031f80
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180064e20
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x180064eac
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180064e80
lea r11, [0x1800b2890]
nop
cmp r9b, 0x23
jne 0x180064e63
cmp byte [r8], r9b
jne 0x180064e63
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 0x180064e50
mov rcx, qword [0x1800f6b70]
not eax
cmp dword [rcx + 0x3f38], eax
jne 0x180064e97
mov dword [rcx + 0x3f3c], eax
cmp dword [rcx + 0x3f68], eax
jne 0x180064f09
mov byte [rcx + 0x3f6c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1800f6b70]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ed8]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180019c70
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f20], eax
jne 0x180064f02
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.180033da0
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180071380
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_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800713c6
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x1800713c2
mov al, 1
jmp 0x1800713c6
jmp 0x1800713c6
add rsp, 0x20
pop rbx
ret
Function at 0x180075e00
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rbx, qword [0x1800f6b70]
xorps xmm0, xmm0
mov rdi, rdx
movss xmm1, dword [rbx + 0x381c]
call fcn.18002ab80
movups xmm0, xmmword [rbx + 0x38a4]
lea rcx, [rbx + 0x4828]
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
movups xmmword [rsp + 0x44], xmm0
call fcn.1800342f0
mov dword [rbx + 0x38a4], 0x3f7ae148
lea rcx, str.Link
mov dword [rbx + 0x38a8], 0x3edc28f6
mov dword [rbx + 0x38ac], 0x3f1eb852
mov dword [rbx + 0x38b0], 0x3f800000
call fcn.18004fe80
mov r8, qword [0x1800f6b70]
movsxd rax, dword [r8 + 0x4828]
cmp eax, 1
jl 0x180075ebd
mov rcx, qword [r8 + 0x4830]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r8 + rax*8 + 0x38a4], xmm0
dec dword [r8 + 0x4828]
xor ecx, ecx
call fcn.18001ed20
test al, al
je 0x180075f9b
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180028960
test al, al
je 0x180075efd
mov dword [rsp + 0x28], 5
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov r8, qword [0x1800f6b70]
lea rcx, [rsp + 0x40]
movups xmm0, xmmword [r8 + 0x3a04]
mov rax, qword [r8 + 0x3ed8]
movsd xmm1, qword [r8 + 0x4784]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [r8 + 0x478c]
movaps xmm2, xmm0
movsd qword [rsp + 0x70], xmm1
shufps xmm2, xmm2, 0x55
movss dword [rsp + 0x74], xmm2
movsd qword [rsp + 0x30], xmm0
mov byte [rax + 0xb8], 1
call fcn.18001a1f0
mov rcx, qword [r8 + 0x3ed8]
lea rdx, [rsp + 0x70]
movss xmm0, dword [0x1800e2020]
lea r8, [rsp + 0x30]
mov r9d, eax
movss dword [rsp + 0x20], xmm0
mov rcx, qword [rcx + 0x2a0]
call fcn.1800435f0
mov rdx, rdi
lea rcx, str.Open_in_browser_n_s
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.18002bca0
mov r8, qword [0x1800f6b70]
lea rcx, [rsp + 0x40]
movups xmm0, xmmword [r8 + 0x39f4]
mov rax, qword [r8 + 0x3ed8]
movsd xmm1, qword [r8 + 0x4784]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [r8 + 0x478c]
movaps xmm2, xmm0
movsd qword [rsp + 0x70], xmm1
shufps xmm2, xmm2, 0x55
movss dword [rsp + 0x74], xmm2
movsd qword [rsp + 0x30], xmm0
mov byte [rax + 0xb8], 1
call fcn.18001a1f0
mov rcx, qword [r8 + 0x3ed8]
lea rdx, [rsp + 0x70]
movss xmm0, dword [0x1800e2020]
lea r8, [rsp + 0x30]
mov r9d, eax
movss dword [rsp + 0x20], xmm0
mov rcx, qword [rcx + 0x2a0]
call fcn.1800435f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x180076224
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 0x1800762a8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800a6600]
cmp byte [rcx + rax], 0
je 0x1800762a8
dec r8
sub rdx, 1
jne 0x18007628e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x180087bec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180078410
sub rsp, rax
mov rax, qword [0x1800f4078]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18008d974
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180087c3b
mov rax, rbp
jmp 0x180087d43
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xf63e0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180094054
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xf63e0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180087d3f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180087d3f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180094054
test rax, rax
js 0x180087d3f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180087d3f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180087d31
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180087d31
cmp byte [rcx], 0xd
jne 0x180087d17
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180087d26
cmp byte [rcx + 1], 0xa
jne 0x180087d26
inc rcx
jmp 0x180087d26
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xf4470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180087cf9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180087d43
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800783e0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18008b2ac
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x18008b2e3
call fcn.180083ce8
mov dword [rax], 0x16
call fcn.1800877ac
xor eax, eax
jmp 0x18008b371
mov rdx, r9
mov rcx, r8
call fcn.18008b248
mov rbx, rax
test rax, rax
je 0x18008b36e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x18008b174]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x18008b35b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180083c5c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18008b342
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18008b351
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.180090e98
jmp 0x18008b36e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18008b36b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18008da94
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18008daaa
mov al, 1
jmp 0x18008db0a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18008dabb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18008db08
mov ecx, dword [rcx + 0x18]
nop
call fcn.180097cf4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18008db08
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18008db08
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18008db08
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18008db0a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800933f4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800f63e0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18009344b
cmp word [rdx], r13w
jne 0x18009344b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180093450
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180093575
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180093596
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180093489
mov rdx, r9
mov word [rbx], cx
jmp 0x1800934b0
cmp r9, r8
jae 0x1800934c0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18009346a
jmp 0x180093575
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18009356a
cmp dword [rsp + 0x80], esi
je 0x18009356a
lea r8, [0x1800f63e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180093542
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180093512
mov word [rbx], r13w
jmp 0x180093572
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18009351f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180093572
cmp word [rsp + 0x70], r13w
jne 0x18009354f
cmp rbx, r14
je 0x18009350c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18009405c
cmp word [rsp + 0x70], r13w
je 0x180093575
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800f63e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18009356f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180093575
Function at 0x180097538
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180097568
xor eax, eax
jmp 0x18009762b
mov rbp, rbx
cmp word [rax], si
je 0x18009758d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180097574
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180097570
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180095c50
movsxd r14, eax
test eax, eax
jne 0x1800975cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180097561
mov rcx, r14
call fcn.180092148
mov rdi, rax
test rax, rax
jne 0x1800975e4
xor ecx, ecx
call fcn.180090e98
jmp 0x1800975c0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180095c50
test eax, eax
jne 0x180097615
mov rcx, rdi
call fcn.180090e98
jmp 0x18009761f
xor ecx, ecx
call fcn.180090e98
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18009a3a0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18008df98
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18009a441
cmp ebx, dword [rsp + 0x30]
je 0x18009a43a
test esi, esi
je 0x18009a43a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18009a415
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18009a422
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18009a3ff
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18009a426
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18009a443
mov eax, 1
jmp 0x18009a443
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret