joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400045b0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
cmp byte [0x140017580], 0
je 0x1400045cc
call fcn.1400041a4
jmp 0x1400046d4
mov ebx, 0x68
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8, rbx
call fcn.140006010
mov rcx, qword [0x1400175a0]
mov dword [rsp + 0x70], ebx
call fcn.140005f50
lea rcx, [rax + 0x14]
call fcn.140005ea0
lea rdx, str.cbiossrv64
mov rcx, rax
mov rbx, rax
call fcn.140005d60
lea rdx, [0x140011584]
mov rcx, rbx
call fcn.140005cc0
lea rdx, [0x140011544]
mov rcx, rbx
call fcn.140005cc0
lea rdx, [0x140011580]
mov rcx, rbx
call fcn.140005cc0
mov rdx, qword [0x1400175a0]
mov rcx, rbx
call fcn.140005cc0
lea r11, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x20
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400046af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400176b8]
lea rdx, str.Unable_to_start_server.
mov r8d, eax
call fcn.140004b40
mov rcx, rbx
call fcn.140005ca0
jmp 0x1400046e2
mov rcx, rbx
call fcn.140005ca0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x140017582], 1
mov rcx, qword [0x1400176b8]
xor edx, edx
call fcn.140004f44
add rsp, 0xe0
pop rbx
ret

Function at 0x14000484c
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x50
and qword [rax - 0x38], 0
and dword [rax - 0x40], 0
mov rdi, r9
xor r9d, r9d
mov rsi, r8
mov rbp, rdx
lea r8d, [r9 + 1]
xor edx, edx
mov r13, rcx
mov dword [rax - 0x48], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14000493e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, r13
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov r12d, eax
jne 0x1400048c0
mov eax, 1
jmp 0x140004943
mov rcx, r12
call fcn.140005ea0
mov r8d, r12d
xor edx, edx
mov r9, rax
mov rcx, r13
mov rbx, rax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1400048b6
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x48]
lea rdx, [0x1400115c0]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test rbp, rbp
mov r11, qword [rsp + 0x48]
je 0x140004909
mov eax, dword [r11 + 8]
mov dword [rbp], eax
test rsi, rsi
je 0x140004914
mov eax, dword [r11 + 0xc]
mov dword [rsi], eax
test rdi, rdi
je 0x14000491f
mov eax, dword [r11 + 0x10]
mov dword [rdi], eax
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140004932
mov eax, dword [r11 + 0x14]
mov dword [rcx], eax
mov rcx, rbx
call fcn.140005ca0
xor eax, eax
jmp 0x140004943
mov eax, 2
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x140004fc8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14d, edx
xor ebp, ebp
mov edx, edx
mov dword [rax + 0x10], ebp
mov qword [rsp + 0x90], r14
mov r13, rcx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x140017ad0]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [0x140017588], 0xffffffffffffffff
jne 0x1400050a3
mov qword [rsp + 0x30], rbp
lea r8d, [rbp + 3]
lea rcx, [0x1400175b0]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, qword [0x1400176b8]
lea edx, [rbp + 0x65]
mov qword [0x140017588], rax
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x18b
call qword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebp
jl 0x1400050a3
mov rcx, qword [0x1400176b8]
mov edx, 0x65
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x182
call qword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x1400050a3
cmp eax, ebp
jg 0x140005074
mov rcx, qword [0x140017ad0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [0x140017588]
lea r9, [rsp + 0x88]
lea rdx, [0x1400176c0]
mov r8d, 0x400
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebp
je fcn.140005210
mov eax, dword [rsp + 0x88]
cmp eax, ebp
jbe fcn.140005210
mov ebx, eax
lea r12, [0x1400176c0]
mov esi, ebp
mov rdi, rbp
lea r14, [0x1400176c0]
cmp byte [rdi + r14], 0xa
jne 0x1400051db
cmp esi, ebp
jbe 0x140005120
cmp byte [rdi + r14 - 1], 0xd
jne 0x140005120
mov byte [rdi + r14 - 1], 0x20
mov ebx, eax
mov edx, 0x65
mov rcx, r13
sub ebx, esi
mov byte [rdi + r14], bpl
sub ebx, 1
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x18b
mov rcx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xc8
mov r15, rax
jne 0x14000516e
xor r9d, r9d
xor r8d, r8d
mov edx, 0x182
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageA]
mov r9, r12
xor r8d, r8d
mov edx, 0x180
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, r12
call fcn.140005f50
lea ecx, [rax + rax*2]
add ecx, ecx
cmp dword [0x140016028], ecx
jge 0x1400051b1
mov dword [0x140016028], ecx
movsxd r8, ecx
xor r9d, r9d
mov rcx, rbp
mov edx, 0x194
call qword [sym.imp.USER32.dll_SendMessageA]
movsxd r8, r15d
xor r9d, r9d
mov edx, 0x186
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageA]
lea rax, [0x1400176c1]
mov r12d, esi
add r12, rax
mov eax, dword [rsp + 0x88]
xor ebp, ebp
add esi, 1
add rdi, 1
cmp esi, eax
jb 0x140005103
cmp ebx, ebp
mov r14, qword [rsp + 0x90]
jle fcn.140005210
mov rcx, qword [0x140017588]
neg ebx
mov r9d, 1
mov edx, ebx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
Function at 0x140006720
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x140017b28]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140009d60
test rax, rax
je 0x140006774
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x140006809
mov ecx, 2
call fcn.14000a610
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140006010
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1400067f5
test ebx, ebx
jne 0x1400067f5
lea ecx, [rax + 2]
call fcn.14000a610
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140006bd7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140016030]
jne 0x140005c9a
rol rcx, 0x10
test cx, 0xffff
jne 0x140005c96
repz ret
ror rcx, 0x10
jmp 0x140006b30
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140017bd0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140017cc8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140006bb5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140017bd0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140006bd7
mov rax, qword [rsp + 0x88]
mov qword [0x140017cc8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140017c68], rax
mov rax, qword [0x140017cc8]
mov qword [0x140017b40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140017c50], rax
mov dword [0x140017b30], 0xc0000409
mov dword [0x140017b34], 1
mov rax, qword [0x140016030]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140016038]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140017bc8], eax
mov ecx, 1
call fcn.14000a610
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400116b8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140017bc8], 0
jne 0x140006c5e
mov ecx, 1
call fcn.14000a610
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400089e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x140016270]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x140008a1e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140008a00
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140008c05
mov ecx, 3
call fcn.14000db90
cmp eax, 1
je 0x140008bbc
mov ecx, 3
call fcn.14000db90
test eax, eax
jne 0x140008a55
cmp dword [0x1400160a0], 1
je 0x140008bbc
cmp edi, 0xfc
je 0x140008c05
mov qword [rsp + 0x50], rbp
lea rbp, [0x140018110]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.14000b880
test eax, eax
je 0x140008a99
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006680
lea rdx, [0x140018129]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14001822d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140008ae9
lea r8, str._program_name_unknown_
lea rcx, [0x140018129]
mov edx, 0x2fb
call fcn.14000b880
test eax, eax
je 0x140008ae9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006680
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x140018129]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x140008b38
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x140018424]
lea r9d, [rax + 3]
lea r8, [0x140011da4]
sub rdx, rcx
call fcn.14000da70
test eax, eax
je 0x140008b38
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006680
lea r8, [0x140011da0]
mov edx, 0x314
mov rcx, rbp
call fcn.14000d9b0
test eax, eax
je 0x140008b64
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006680
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.14000d9b0
test eax, eax
je 0x140008b94
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006680
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.14000d750
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140008c05
cmp rax, 0xffffffffffffffff
je 0x140008c05
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140008c20
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.14000db90
cmp eax, 1
je 0x140008c52
mov ecx, 3
call fcn.14000db90
test eax, eax
jne 0x140008d06
cmp dword [0x1400160a0], 1
jne 0x140008d06
mov qword [rsp + 0x48], rbx
lea rbx, [0x140016270]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x140008c7e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140008c68
jmp 0x140008cf2
cmp edi, 0x17
jae 0x140008cf2
mov ecx, 3
call fcn.14000db90
cmp eax, 1
je 0x140008ca9
mov ecx, 3
call fcn.14000db90
test eax, eax
jne 0x140008cf2
cmp dword [0x1400160a0], 1
jne 0x140008cf2
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140008cf2
cmp rax, 0xffffffffffffffff
je 0x140008cf2
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.1400089e0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x140009620
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x140018538]
test eax, eax
jne 0x140009673
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140009653
mov dword [0x140018538], 1
jmp 0x14000968e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x14000966d
mov dword [0x140018538], 2
jmp 0x140009769
mov eax, dword [0x140018538]
cmp eax, 1
jne 0x140009760
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400097b3
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x1400096b5
add rbx, 2
cmp word [rbx], 0
jne 0x1400096a1
add rbx, 2
cmp word [rbx], 0
jne 0x1400096a1
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x140009753
mov rcx, rbp
call fcn.14000b9d0
test rax, rax
mov rsi, rax
je 0x140009753
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x14000972d
mov rcx, rsi
call fcn.140006c80
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x140009739
cmp eax, 2
je 0x140009769
test eax, eax
jne 0x1400097b3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x1400097b3
cmp byte [rax], 0
je 0x140009792
nop
add rax, 1
cmp byte [rax], 0
jne 0x140009780
add rax, 1
cmp byte [rax], 0
jne 0x140009780
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.14000b9d0
test rax, rax
mov rdi, rax
jne 0x1400097c5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000dc80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x14000d750
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140009c70
xor ebx, ebx
cmp qword [0x140018840], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14000d87c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14000d98f
jmp 0x14000d7a3
add byte [rax], al
lea rdx, [0x140011fa8]

Function at 0x14000fe90
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140016030]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14000fed7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140005c80
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.140010190
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140005c80
add rsp, 0x38
ret
Function at 0x6ab958a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6ab95a2b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x6ad40390]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x6ab95905
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x6ab95914
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x6ab95933
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x6ab95943
cmp rbx, 0x1000
jae 0x6ab9590b
jmp 0x6ab959ad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x6ab95955
xor edx, edx
jmp 0x6ab959a4
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x6ad40390]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x6ab95939
jmp 0x6ab95928
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x6ad40390]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call dbg.runtime.printlock
lea rax, [0x6ac343ec]
mov ebx, 0x18
nop dword [rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x6ac348a3]
mov ebx, 0x19
nop dword [rax + rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x30]
call dbg.runtime.printuint
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x6ac36946]
mov ebx, 0x21
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.sysUnusedOS
Function at 0x6ab95a60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6ab95c86
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword [0x6ad40390]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x6ab95ad3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x6ab95ae2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x6ab95b05
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x6ab95b15
cmp rbx, 0x1000
jae 0x6ab95ad9
nop
jmp 0x6ab95b98
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x6ab95b2d
xor esi, esi
jmp 0x6ab95b8a
mov rax, qword [sym.VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword [0x6ad40390]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x6ab95b0b
jmp 0x6ab95af6
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x6ad40390]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x6ab95c20
nop dword [rax + rax]
call dbg.runtime.printlock
lea rax, [0x6ac348bc]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call dbg.runtime.printuint
lea rax, [0x6ac348a3]
mov ebx, 0x19
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
call dbg.runtime.printuint
nop
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x6ac311c9]
mov ebx, 0xd
call dbg.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x6ab95bc0
call dbg.runtime.printlock
lea rax, [0x6ac348bc]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x6ac348a3]
mov ebx, 0x19
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call dbg.runtime.printuint
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x6ac36266]
mov ebx, 0x1f
nop dword [rax + rax]
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp dbg.runtime.sysUsedOS