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

Disassembly:
test r8d, r8d
jle 0x18002304e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1800e7010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1800bfac0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x180023016
mov rcx, rbp
call fcn.1800223f0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x180022ed1
movsxd rdx, dword [rbp + 0x5d20]
mov r8, qword [rbp + 0x5d28]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x180022ec1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x180022eb9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x180022ebc
mov rdx, rcx
test rdx, rdx
jne 0x180022e90
cmp r8, r10
je 0x180022ed1
cmp dword [r8], r9d
jne 0x180022ed1
mov rcx, qword [r8 + 8]
jmp 0x180022ed3
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x180022f67
cmp qword [rcx + 0x20], 0
jne 0x180022f5c
mov qword [rcx + 0x20], rbx
jmp 0x180022f67
cmp qword [rcx + 0x28], 0
jne 0x180022f67
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rcx, rbx
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x180022fac
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x180022fa0
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.180002b20
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x180023008
cmp r9b, 0x23
jne 0x180022feb
cmp byte [r8], r9b
jne 0x180022feb
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x180022fd8
not ecx
call fcn.18000dce0
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x180022e50
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800b8990
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x18002af50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov edi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x18002af9d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x18002afa2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x18002afcd
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x18002afcd
mov rcx, qword [rax + 0x3a0]
test rcx, rcx
je 0x18002afcd
mov eax, dword [rcx + 8]
mov dword [rsp + 0x28], eax
jmp 0x18002afd2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x18002afec
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x18002aff1
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], dil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x18002b073
inc ecx
test r8d, r8d
je 0x18002b05e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18002b063
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.180038790
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
inc edi
test rdx, rdx
je 0x18002b0b3
mov r8d, edi
mov rcx, rbp
call fcn.18002af50
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18002af80
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x18008a2e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r8, qword [rcx + 0x188]
mov r9, rcx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x7c], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x18008a31c
addss xmm0, dword [rcx + 0x94]
lea rsi, [r8 + 0x130]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r8 + 0x148], xmm0
subss xmm0, dword [r8 + 0x48]
movss dword [r8 + 0x134], xmm1
subss xmm0, dword [r8 + 0x174]
movss dword [r8 + 0x178], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r8 + 0x168], eax
movsx eax, byte [rbx + 0x62]
mov dword [r8 + 0x188], eax
movss dword [r8 + 0x24c], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r8 + 0x248], eax
mov eax, dword [rbx + 0x38]
mov dword [r8 + 0x250], eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + 0x1ec], eax
cmp byte [rbx + 0x5a], 0
jne 0x18008a3b7
maxss xmm1, dword [rcx + 0x88]
movss dword [r8 + 0x134], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r8 + 0xe8], al
cmp byte [rbx + 0x60], 0
je 0x18008a3dd
mov rax, qword [0x1800ebe10]
xor ecx, ecx
mov dword [rax + 0x4874], ecx
mov dword [rax + 0x487c], ecx
test dword [r9 + 4], 0x100000
je 0x18008a3ee
mov eax, 2
jmp 0x18008a46d
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r8 + 0x2d0]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r8 + 0x268], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r8 + 0x2d0]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx eax, byte [rbx + 0x57]
mov rdx, qword [r8 + 0x2d0]
mov r8d, eax
mov rcx, qword [r9 + 0x1a0]
call fcn.180077b40
mov rdi, qword [0x1800ebe10]
cmp byte [rdi + 0x5df8], 0
je 0x18008a4b5
cmp byte [rbx + 0x60], 0
jne 0x18008a4b5
xor r8d, r8d
lea rdx, [0x1800d3ff0]
mov rcx, rsi
call fcn.18001ee50
mov dword [rdi + 0x5e28], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18008cb40
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1800ebe10]
mov rdx, qword [rax + 0x4c90]
cmp ecx, 0xffffffff
jne 0x18008cb5a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x18008cbd9
mov r10d, dword [rdx]
lea r8, [0x1800d3ff9]
movzx eax, word [rdx + 0x80]
lea r11, [0x1800bfac0]
not r10d
mov byte [rdx + 0x208], cl
mov ecx, r10d
mov byte [rdx + 0x216], 1
mov word [rdx + 0x82], ax
mov r9b, 0x23
cmp r9b, 0x23
jne 0x18008cbb3
cmp byte [r8], r9b
jne 0x18008cbb3
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 0x18008cba0
not ecx
xor edx, edx
jmp fcn.180019140
ret
Function at 0x1800aa930
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov r10d, 0xffffffff
lea r8, [0x1800bc7d9]
mov ecx, r10d
lea rbx, [0x1800bfac0]
movaps xmm4, xmm3
mov r11, rdx
mov r9b, 0x23
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1800aa973
cmp byte [r8], r9b
jne 0x1800aa973
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 [rbx + rdx*4]
test r9b, r9b
jne 0x1800aa960
not ecx
call fcn.18000dce0
mov rcx, qword [0x1800ebe10]
mov rdx, rax
test r11, r11
jne 0x1800aa9af
mov rax, qword [rcx + 0x49d0]
mov r11, qword [rax]
xor edi, edi
test rdx, rdx
je 0x1800aa9c3
cmp word [rdx + 0xf0], di
jne 0x1800aaa5d
movss xmm1, dword [r11 + 0x128]
movss xmm0, dword [r11 + 0x10]
movaps xmm3, xmm1
addss xmm3, dword [r11 + 8]
movss xmm2, dword [r11 + 0x12c]
subss xmm0, xmm1
addss xmm2, dword [r11 + 0xc]
xorps xmm1, xmm1
addss xmm0, dword [r11 + 0x130]
or dword [rcx + 0x48b0], 3
mov qword [rcx + 0x48cc], rdi
mov dword [rcx + 0x48b4], 1
mov byte [rcx + 0x48ec], 1
maxss xmm1, xmm0
mov dword [rcx + 0x48b8], 1
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movsd qword [rcx + 0x48c4], xmm0
addss xmm1, xmm3
subss xmm1, xmm3
movaps xmm0, xmm1
unpcklps xmm0, xmm4
movsd qword [rcx + 0x48d4], xmm0
addss xmm4, dword [r11 + 0x12c]
movss dword [r11 + 0x12c], xmm4
mov eax, dword [r11]
xorps xmm1, xmm1
or dword [rcx + 0x48b0], 0x100
mov dword [rcx + 0x4914], eax
mov ecx, 3
call fcn.1800050b0
mov rbx, qword [0x1800ebe10]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 5
movss xmm1, dword [rbx + 0x3908]
lea rcx, [rbx + 0x4950]
movss xmm0, dword [rbx + 0x390c]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.1800383e0
xor edx, edx
mov qword [rbx + 0x3908], rdi
mov r8d, 0x20050f
lea rcx, str.MainMenuBar
call fcn.1800109a0
mov ecx, 2
movzx ebx, al
call fcn.1800051c0
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800aed80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, qword [0x1800ebe10]
mov r14, rcx
mov rsi, qword [rdi + 0x4cf8]
test rsi, rsi
je 0x1800aee50
test dword [rsi + 0x10], 0x100000
jne 0x1800aee50
mov rax, qword [rdi + 0x3fd8]
xor edx, edx
movsxd rcx, dword [rax + 0x120]
mov rax, qword [rax + 0x128]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r14
call fcn.180002c60
mov ebx, eax
cmp dword [rdi + 0x4020], eax
jne 0x1800aedf9
mov r8, r14
mov edx, 0xb
mov ecx, eax
call fcn.180036f30
test ebx, ebx
je 0x1800aeef7
movsxd rax, dword [rsi]
xor edx, edx
test eax, eax
jle 0x1800aeef7
mov r9, qword [rsi + 8]
mov r8, rax
mov rax, r9
mov ecx, edx
nop word [rax + rax]
cmp dword [rax], ebx
je 0x1800aee37
inc edx
inc rcx
add rax, 0x38
cmp rcx, r8
jl 0x1800aee20
jmp 0x1800aeef7
movsxd rax, edx
imul rcx, rax, 0x38
add rcx, r9
je 0x1800aeef7
mov byte [rcx + 0x30], 1
jmp 0x1800aeef7
movzx r9d, byte [r14]
lea r8, [r14 + 1]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1800aeea0
lea r11, [0x1800bfac0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800aee83
cmp byte [r8], r9b
jne 0x1800aee83
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 0x1800aee70
not ecx
call fcn.18000dce0
mov rbx, rax
test rax, rax
je 0x1800aeef7
test byte [rax + 0x415], 1
je 0x1800aeef7
mov rcx, qword [rax + 0x430]
test rcx, rcx
je 0x1800aeef7
mov edx, dword [rax + 0xa8]
cmp dword [rdi + 0x4038], edx
jne 0x1800aeed8
mov dword [rdi + 0x403c], edx
cmp dword [rdi + 0x4068], edx
jne 0x1800aeee7
mov byte [rdi + 0x406c], 1
mov rcx, qword [rcx + 0x40]
call fcn.1800ad6c0
or byte [rbx + 0x415], 8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800b8500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
cmp byte [0x1800ed1a8], 0
jne 0x1800b851e
mov rax, qword [0x1800ebe28]
lea rcx, str._ImGui_GM__An_error_has_occured:_n__Could_not_call_render_function_when_ImGui_GM_is_not_initialized
call qword [rax + 0x18]
call fcn.18000ca90
mov rax, qword [0x1800ebe10]
mov rcx, qword [rax + 0x49d0]
xor eax, eax
mov rcx, qword [rcx]
add rcx, 0xa8
cmp byte [rcx], al
cmove rcx, rax
add rsp, 0x28
jmp fcn.1800808e0
Function at 0x14000225c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x1400022a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400022a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400022a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400022a6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400022a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400022a8
xor al, al
add rsp, 0x28
ret
Function at 0x14000ad50
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov r9d, 4
lea r8, str.ShowStoreBanner
mov dword [rsp + 0x28], r9d
lea rdx, str.SoftwareMicrosoftNotepad
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov rcx, qword [0x140036130]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop dword [rax + rax]
and qword [0x140036130], 0
call fcn.14000b410
add rsp, 0x38
ret

Function at 0x14000b6d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 8], ecx
mov r11, rsp
sub rsp, 0x48
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 4
mov qword [r11 - 0x18], rax
lea r8, str.ShowStoreBanner
lea rax, [r11 + 0x10]
mov r9d, 0x10
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftNotepad
and qword [r11 - 0x28], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14000b729
cmp dword [rsp + 0x58], eax
je 0x14000b769
and qword [rsp + 0x28], 0
lea r8, [0x14000b780]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__beginthreadex]
nop dword [rax + rax]
test rax, rax
jne 0x14000b75a
mov eax, 0x80004005
jmp 0x14000b76b
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
xor eax, eax
add rsp, 0x48
ret
Function at 0x14000cd14
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x1400343f0]
xor rax, rsp
mov qword [rsp + 0x450], rax
and qword [rsp + 0x30], 0
xor r9d, r9d
mov ebx, dword [0x1400355b0]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000ce4a
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jle 0x14000ce3b
mov edi, dword [rsp + 0x44]
test edi, edi
je 0x14000ce3b
mov ebx, dword [0x1400355b0]
cmp edi, 1
jbe 0x14000ce3b
movzx eax, word [rsp + 0x50]
cmp eax, 0xbbef
je 0x14000ce29
cmp eax, 0xfeff
je 0x14000ce04
cmp eax, 0xfffe
je 0x14000ce22
or dword [rsp + 0x40], 0xffffffff
lea r8, [rsp + 0x40]
mov edx, edi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_base_util_l1_1_0.dll_IsTextUnicode]
nop dword [rax + rax]
test eax, eax
je 0x14000ce0b
cmp dword [rsp + 0x40], 2
jne 0x14000ce04
cmp edi, 0x64
jl 0x14000ce0b
mov ebx, 2
jmp 0x14000ce3b
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140023f10
neg eax
sbb ebx, ebx
and ebx, 4
inc ebx
jmp 0x14000ce3b
mov ebx, 3
jmp 0x14000ce3b
cmp edi, 2
jbe 0x14000ce3b
cmp byte [rsp + 0x52], 0xbf
mov eax, 4
cmove ebx, eax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400019d0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400109d8
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x1400343f0]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov edi, ecx
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x294
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x38]
mov ebx, 1
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
nop dword [rax + rax]
mov ecx, 0x400
mov dword [rsp + 0x30], ebx
call fcn.140010bd8
test eax, eax
je 0x140010a8d
lea r9d, [rbx + 1]
mov edx, 0x20001009
lea r8, [rsp + 0x30]
mov ecx, 0x400
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
mov eax, dword [rsp + 0x30]
cmp eax, ebx
jne 0x140010bae
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
movzx ecx, ax
call fcn.140010bd8
test eax, eax
jne 0x140010bc5
mov ebx, 0x11
lea rax, [rbp - 0x10]
mov dword [rsp + 0x28], 0x50
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x38]
mov edx, ebx
mov ecx, 0x400
call qword [sym.imp.api_ms_win_core_datetime_l1_1_0.dll_GetDateFormatW]
nop dword [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x28], 0x50
lea rax, [rsp + 0x50]
mov ecx, 0x400
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 2]
call qword [sym.imp.api_ms_win_core_datetime_l1_1_0.dll_GetTimeFormatW]
nop dword [rax + rax]
mov ebx, 0x14a
test edi, edi
je 0x140010b06
lea r8, [0x14002b3e0]
mov edx, ebx
lea rcx, [rbp + 0x90]
call fcn.1400083f4
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.1400083f4
lea r8, [0x14002b3e8]
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.1400083f4
lea r8, [rbp - 0x10]
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.1400083f4
test edi, edi
je 0x140010b5d
lea r8, [0x14002b3e0]
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.1400083f4
mov rcx, qword [0x1400365c8]
lea r9, [rbp + 0x90]
mov edx, 0xc2
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
mov ecx, edi
call fcn.140023df8
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400019d0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
cmp eax, 0x17
ja 0x140010a88
mov ecx, 0x800540
bt ecx, eax
jae 0x140010a88
mov ebx, 0x21
jmp 0x140010a8d

Function at 0x140010bd8
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400343f0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r9d, 0x10
lea r8, [rsp + 0x20]
lea edx, [r9 + 0x48]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
je 0x140010c1d
mov eax, 0x800
test word [rsp + 0x2e], ax
je 0x140010c1d
mov ecx, 1
mov eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400019d0
add rsp, 0x58
ret
Function at 0x140010fcc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x50
mov r13, qword [0x1400354c8]
xor ebx, ebx
mov r15, r9
mov r12d, r8d
mov edi, edx
cmp dword [rsp + 0xa0], ebx
jne 0x140011009
lea eax, [rbx + 1]
jmp 0x1400110f8
mov rsi, rbx
cmp edi, 0xfde9
je 0x140011026
cmp edi, 0xd698
lea rsi, [rsp + 0x80]
cmove rsi, rbx
mov r9d, dword [rsp + 0xa0]
mov r8, r15
mov qword [rsp + 0x38], rsi
mov edx, r12d
mov qword [rsp + 0x30], rbx
mov ecx, edi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
nop dword [rax + rax]
mov ebp, eax
test eax, eax
jne 0x140011062
xor eax, eax
jmp 0x1400110f8
lea edx, [rax + 1]
mov ecx, 0x40
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001108f
lea ecx, [rax + 8]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14001105b
mov r9d, dword [rsp + 0xa0]
mov r8, r15
mov qword [rsp + 0x38], rsi
mov edx, r12d
and qword [rsp + 0x30], 0
mov ecx, edi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x1400110e7
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop dword [rax + rax]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x140011e60
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x28
cmp dword [0x1400363ac], 0
je 0x140011eaa
cmp dword [0x140036164], 0
je 0x140011e84
mov ecx, 0x50200104
add rsp, 0x28
jmp fcn.14001feb8
mov r9d, dword [0x1400360dc]
mov edx, 0xb1
mov r8d, dword [0x1400360d8]
mov rcx, qword [0x1400365c8]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
add rsp, 0x28
ret