joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b4850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov rsi, qword [rcx + 0xa0]
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test rsi, rsi
je 0x1401b4a4d
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
movsxd rbp, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r14d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [r12 + 0x20]
test al, al
jne 0x1401b48b2
inc dword [rbx + 0x38]
mov r15d, dword [rbx + 0x38]
jmp 0x1401b48c2
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0xe4]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r14 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x1401b48ef
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, rdi
call fcn.1401cf130
jmp 0x1401b491d
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.140211210
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1401b4961
mov edx, 5
mov rcx, rdi
call fcn.1401cf1a0
test eax, eax
jne 0x1401b4a39
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r13d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r13d
lea ecx, [r14 + 1]
mov byte [rdx + 1], r13b
add eax, 2
mov dword [rdx + 8], eax
lea eax, [r14 - 1]
mov qword [rdx + 0x10], r13
mov word [rdx + 2], r13w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], r13
mov qword [rdx + 0x28], r13
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r13
mov qword [rdx + 0x48], 0x80
mov qword [rdx + 0x50], r13
mov qword [rdx + 0x58], r13
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], r13
mov qword [rdx + 0x70], r13
add dword [rdi + 0x90], 5
mov dword [rdx + 0x34], eax
mov eax, 8
mov word [rdx + 0x4a], ax
mov dword [rdx + 4], ecx
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x3c], r15d
mov dword [rdx + 0x50], r15d
mov dword [rdx + 0x54], ecx
test r15d, r15d
je 0x1401b4a2d
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1401b4a2d
mov dword [rbx + rax*4 + 0xe4], r15d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1401b4890
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401c5b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r14
sub rsp, 0x68
movzx eax, byte [rdx]
mov r14, rdx
mov rdi, rcx
cmp al, 0xb0
jne 0x1401c5b59
movzx eax, byte [rdx + 2]
cmp al, 0xb1
jne 0x1401c5b63
mov rax, qword [rdx + 0x20]
jmp 0x1401c5b73
cmp al, 0x8a
jne 0x1401c5cf7
mov rax, qword [rdx + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x1401c5cf7
mov dword [r8], 0
cmp byte [rdx], 0x8a
jne 0x1401c5b9a
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.1401f59a0
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x1401c5ce2
mov qword [rsp + 0x80], rbx
lea rcx, [0x140222c80]
mov qword [rsp + 0x90], rbp
mov ebp, r13d
mov qword [rsp + 0x50], r15
lea r13, [fcn.1401c6f00]
xor r15d, r15d
mov qword [rsp + 0x98], rsi
lea edx, [r15 + 2]
nop dword [rax + rax]
cmp byte [rdi + 0x23], 0
mov rax, qword [r14 + 0x20]
mov rbx, qword [rax + r15 + 8]
je 0x1401c5c50
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x1401c5c40
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140252b40
cmp word [rsp + 0x44], 0
je 0x1401c5c50
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1401ff8f0
jmp 0x1401c5c90
mov rsi, qword [rdi]
test rbx, rbx
je 0x1401c5c6c
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.1401c5fd0
mov rbx, rax
cmp byte [rsi + 0x67], 0
jne 0x1401c5c80
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1401fdc60
test rbx, rbx
je 0x1401c5c90
mov rdx, rbx
mov rcx, rsi
call fcn.140201880
inc ebp
lea rcx, [0x140222c80]
add r15, 0x20
mov edx, 2
sub r12, 1
jne 0x1401c5c00
mov eax, dword [rsp + 0x88]
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.140200f60
Function at 0x1401e4550
Capabilities:
Reference sql statements

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
mov r14d, dword [rsp + 0x70]
mov ebx, r8d
mov dword [rax - 0x18], r14d
mov rbp, r9
mov qword [rax - 0x20], r9
mov rdi, rdx
mov r9, rdx
mov byte [rcx + 0x1c], 1
mov r8, rdx
mov dword [rax - 0x28], ebx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rsi, rcx
call fcn.140210e40
test ebx, ebx
jne 0x1401e45b9
mov r9, rbp
mov dword [rsp + 0x20], r14d
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, rsi
call fcn.140210e40
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 0x140204210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x140204319
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, [0x140295310]
mov qword [rsp + 0x20], r15
lea r15, [0x14028d7e0]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x140204291
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x1402042cc
test ecx, ecx
jne 0x1402042da
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.1401c8390
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x1402042b0
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x140204250
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x1402042df
inc r8
jmp 0x140204280
test r10d, r10d
jne 0x1402042a9
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x140204305
test edx, edx
je 0x140204291
inc rax
jmp 0x1402042f0
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x1402042a9
inc rax
jmp 0x1402042f0
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14024e150
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rsi, r8
mov rbp, rdx
call fcn.140210560
mov rbx, rax
test rax, rax
jne 0x14024e18e
lea eax, [rbx + 7]
jmp 0x14024e211
cmp byte [0x1403182c4], 0
je 0x14024e1e3
mov rax, qword [0x140318450]
test rax, rax
je 0x14024e1ae
mov ecx, 0xc8
call rax
test eax, eax
jne 0x14024e1e3
lea rax, [rbx + 8]
mov qword [rbx + 0x10], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x140225130]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
mov qword [rbx + 0x18], rsi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
jne 0x14024e1f3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], 0
jne 0x14024e20c
call qword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov rcx, rsi
mov dword [rbx + 8], eax
call rbp
mov qword [rbx + 0x20], rax
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14026b120
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14026b181
mov rdi, rax
lea rdx, [0x14029debe]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14026b181
mov rsi, rax
lea rdx, [0x14029decc]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14026b181
mov rdi, rax
xor ebx, ebx
jmp 0x14026b207
lea rcx, [0x14029de58]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14026b27b
mov rsi, rax
lea rdx, [0x14029de62]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14026b27b
mov rdi, rax
lea rdx, [0x14029de75]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14026b27b
mov rbx, rax
lea rdx, [0x14029de89]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14026b27b
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x14026b27b
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x14031b901]
mov ecx, 0x18
mov edx, 8
call fcn.1400016f0
test rax, rax
je 0x14026b280
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x14031bd18], rcx
je 0x14026b26f
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x14026b258
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.140001700
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.14026b0f0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.140273c70
ud2
Function at 0x140273200
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140189840
mov rdx, qword [rsp + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x140273299
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1402732cb
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x1402732e9
jmp 0x1402732fa
lea rax, str.Pm__
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x1402732fa
mov rcx, qword [rsp + 0x38]
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140001700
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x1402732fa
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140001700
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1800063f0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1800d1380]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x50], 0x40
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
lea rax, [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x2c], 0x6b3cc0e9
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
sub eax, 0x46d6a826
je 0x180006536
jmp 0x18000644a
mov eax, dword [rsp + 0x28]
sub eax, 0x4e2fafe1
je 0x180006600
jmp 0x18000645e
mov eax, dword [rsp + 0x28]
sub eax, 0x5b96ec4c
je 0x1800064b9
jmp 0x180006472
mov eax, dword [rsp + 0x28]
sub eax, 0x6b3cc0e9
je 0x18000649f
jmp 0x180006486
mov eax, dword [rsp + 0x28]
sub eax, 0x79ba589c
je 0x1800065d7
jmp 0x18000649a
jmp 0x180006642
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x2c], 0x5b96ec4c
jmp 0x180006642
mov ecx, dword [0x1800d4c3c]
mov eax, dword [0x1800d4c38]
xor r8d, r8d
sub r8d, 1
mov edx, ecx
add edx, r8d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and r11b, cl
mov r9b, r8b
and r9b, 0
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x4e2fafe1
mov ecx, 0x46d6a826
test dl, 1
cmovne eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x180006642
movaps xmm1, xmmword [0x1800bd460]
movq xmm0, qword [rsp + 0x40]
punpckldq xmm0, xmm1
movapd xmm1, xmmword [0x1800bd470]
subpd xmm0, xmm1
movaps xmm1, xmm0
unpckhpd xmm0, xmm0
addsd xmm0, xmm1
movsd xmm1, qword [0x1800bd450]
divsd xmm0, xmm1
movsd qword [rsp + 0x30], xmm0
movsd xmm0, qword [0x1800bd480]
ucomisd xmm0, qword [rsp + 0x30]
seta al
and al, 1
mov byte [rsp + 0x4f], al
mov eax, dword [0x1800d4c3c]
mov ecx, dword [0x1800d4c38]
mov edx, eax
sub edx, 0x3392aa53
sub edx, 1
add edx, 0x3392aa53
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x4e2fafe1
mov ecx, 0x79ba589c
test dl, 1
cmovne eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x180006642
mov al, byte [rsp + 0x4f]
and al, 1
movzx eax, al
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180097480
mov eax, dword [rsp + 0x24]
add rsp, 0x98
ret
movaps xmm1, xmmword [0x1800bd460]
movq xmm0, qword [rsp + 0x40]
punpckldq xmm0, xmm1
movapd xmm1, xmmword [0x1800bd470]
subpd xmm0, xmm1
movaps xmm1, xmm0
unpckhpd xmm0, xmm0
addsd xmm0, xmm1
movsd xmm1, qword [0x1800bd450]
divsd xmm0, xmm1
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], 0x46d6a826
jmp 0x180006432
Function at 0x1800b03ec
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 0x1800b041c
xor eax, eax
jmp 0x1800b04df
mov rbp, rbx
cmp word [rax], si
je 0x1800b0441
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800b0428
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800b0424
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.1800b030c
movsxd r14, eax
test eax, eax
jne 0x1800b047f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800b0415
mov rcx, r14
call fcn.1800aaa38
mov rdi, rax
test rax, rax
jne 0x1800b0498
xor ecx, ecx
call fcn.1800aa9fc
jmp 0x1800b0474
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.1800b030c
test eax, eax
jne 0x1800b04c9
mov rcx, rdi
call fcn.1800aa9fc
jmp 0x1800b04d3
xor ecx, ecx
call fcn.1800aa9fc
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 0x1800b2860
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.180097420
sub rsp, rax
mov rax, qword [0x1800d1380]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800ae848
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800b28af
mov rax, rbp
jmp 0x1800b29b7
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 + 0xd38f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800b3980
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xd38f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800b29b3
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 0x1800b29b3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800b3980
test rax, rax
js 0x1800b29b3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800b29b3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800b29a5
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800b29a5
cmp byte [rcx], 0xd
jne 0x1800b298b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800b299a
cmp byte [rcx + 1], 0xa
jne 0x1800b299a
inc rcx
jmp 0x1800b299a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xd1ce0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800b296d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800b29b7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180097480
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 0x1800b2bd8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800b2bee
mov al, 1
jmp 0x1800b2c4e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800b2bff
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800b2c4c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800b9798
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800b2c4c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800b2c4c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800b2c4c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800b2c4e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800b2d20
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, [0x1800d38f0]
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 0x1800b2d77
cmp word [rdx], r13w
jne 0x1800b2d77
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800b2d7c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800b2ea1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800b2ec2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800b2db5
mov rdx, r9
mov word [rbx], cx
jmp 0x1800b2ddc
cmp r9, r8
jae 0x1800b2dec
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 0x1800b2d96
jmp 0x1800b2ea1
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 0x1800b2e96
cmp dword [rsp + 0x80], esi
je 0x1800b2e96
lea r8, [0x1800d38f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800b2e6e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800b2e3e
mov word [rbx], r13w
jmp 0x1800b2e9e
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 0x1800b2e4b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800b2e9e
cmp word [rsp + 0x70], r13w
jne 0x1800b2e7b
cmp rbx, r14
je 0x1800b2e38
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800b3988
cmp word [rsp + 0x70], r13w
je 0x1800b2ea1
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, [0x1800d38f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800b2e9b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800b2ea1
Function at 0x1800b7978
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.1800aaedc
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 0x1800b7a19
cmp ebx, dword [rsp + 0x30]
je 0x1800b7a12
test esi, esi
je 0x1800b7a12
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1800b79ed
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800b79fa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800b79d7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800b79fe
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1800b7a1b
mov eax, 1
jmp 0x1800b7a1b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret