joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006fa80
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x168
mov ecx, dword [0x1400e6708]
mov dword [rsp + 0x170], 0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14006fab7
mov ecx, dword [0x1400e6708]
add rsp, 0x168
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea r8, str.....lib1platTimerManager.cxx
lea rdx, str.thrInst
lea rcx, [rsp + 0x20]
mov r9d, 0x22
call fcn.140022960
mov rcx, rax
call fcn.140022860
int3

Function at 0x140071600
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x170
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x188], esi
lea rax, [0x1400bf730]
mov qword [rcx], rax
cmp qword [rcx + 0x20], rsi
je 0x140071664
nop
mov rax, qword [rdi + 0x18]
mov rbx, qword [rax]
cmp rbx, rax
jne 0x140071651
call fcn.1400750c0
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140071380
cmp qword [rdi + 0x20], 0
jne 0x140071640
cmp qword [rdi + 0x38], 0
je 0x140071694
nop
nop
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax]
cmp rbx, rax
jne 0x140071681
call fcn.1400750c0
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140071380
cmp qword [rdi + 0x38], 0
jne 0x140071670
mov ecx, dword [0x1400e6708]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp rax, rdi
jne 0x140071730
mov rdx, qword [rdi + 8]
mov ecx, dword [0x1400e6708]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rdi + 0x30]
mov qword [rax + 8], rax
mov qword [rdi + 0x38], rsi
cmp rcx, qword [rdi + 0x30]
je 0x1400716e7
mov rbx, qword [rcx]
call fcn.140073020
mov rcx, rbx
cmp rbx, qword [rdi + 0x30]
jne 0x1400716d6
mov rcx, qword [rdi + 0x30]
call fcn.140073020
mov qword [rdi + 0x30], rsi
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rdi + 0x18]
mov qword [rax + 8], rax
mov qword [rdi + 0x20], rsi
cmp rcx, qword [rdi + 0x18]
je 0x140071721
mov rbx, qword [rcx]
call fcn.140073020
mov rcx, rbx
cmp rbx, qword [rdi + 0x18]
jne 0x140071710
mov rcx, qword [rdi + 0x18]
call fcn.140073020
mov qword [rdi + 0x18], rsi
jmp 0x140071757
mov r9d, 0x1d
lea r8, str.....lib1platTimerManager.cxx
lea rdx, str.thrInst__this
lea rcx, [rsp + 0x28]
call fcn.140022960
mov rcx, rax
call fcn.140022860
nop
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140074fb0
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 [0x1400e67b0]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.14007e4d0
test rax, rax
je 0x140075004
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 0x140075099
mov ecx, 2
call fcn.1400829b0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140075c60
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 0x140075085
test ebx, ebx
jne 0x140075085
lea ecx, [rax + 2]
call fcn.1400829b0
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 0x1400750c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x5b8
mov rcx, qword [0x1400e67b0]
call fcn.14007e4d0
test rax, rax
je 0x1400750f5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call rax
add rsp, 0x5b8
ret
mov ecx, 2
mov qword [rsp + 0x5b0], rbx
call fcn.1400829b0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140075c60
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 0x14007517e
test ebx, ebx
jne 0x14007517e
lea ecx, [rax + 2]
call fcn.1400829b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x5b8
ret
Function at 0x1400819f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x140081a2e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140081a10
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140081c15
mov ecx, 3
call fcn.14008f2c0
cmp eax, 1
je 0x140081bcc
mov ecx, 3
call fcn.14008f2c0
test eax, eax
jne 0x140081a65
cmp dword [0x1400e4330], 1
je 0x140081bcc
cmp edi, 0xfc
je 0x140081c15
mov qword [rsp + 0x50], rbp
lea rbp, [0x1400e6a80]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.14007d860
test eax, eax
je 0x140081aa9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140074e20
lea rdx, [0x1400e6a99]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x1400e6b9d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140081af9
lea r8, str._program_name_unknown_
lea rcx, [0x1400e6a99]
mov edx, 0x2fb
call fcn.14007d860
test eax, eax
je 0x140081af9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140074e20
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x1400e6a99]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x140081b48
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x1400e6d94]
lea r9d, [rax + 3]
lea r8, [0x1400bff14]
sub rdx, rcx
call fcn.14008e520
test eax, eax
je 0x140081b48
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140074e20
lea r8, [0x1400bff10]
mov edx, 0x314
mov rcx, rbp
call fcn.14008f200
test eax, eax
je 0x140081b74
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140074e20
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.14008f200
test eax, eax
je 0x140081ba4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140074e20
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.14008e8f0
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 0x140081c15
cmp rax, 0xffffffffffffffff
je 0x140081c15
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 0x140081c60
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.14008f2c0
cmp eax, 1
je 0x140081c92
mov ecx, 3
call fcn.14008f2c0
test eax, eax
jne 0x140081d46
cmp dword [0x1400e4330], 1
jne 0x140081d46
mov qword [rsp + 0x48], rbx
lea rbx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x140081cbe
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140081ca8
jmp 0x140081d32
cmp edi, 0x17
jae 0x140081d32
mov ecx, 3
call fcn.14008f2c0
cmp eax, 1
je 0x140081ce9
mov ecx, 3
call fcn.14008f2c0
test eax, eax
jne 0x140081d32
cmp dword [0x1400e4330], 1
jne 0x140081d32
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140081d32
cmp rax, 0xffffffffffffffff
je 0x140081d32
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.1400819f0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x140082470
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x1400e6ea8]
test eax, eax
jne 0x1400824c3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400824a3
mov dword [0x1400e6ea8], 1
jmp 0x1400824de
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1400824bd
mov dword [0x1400e6ea8], 2
jmp 0x1400825b9
mov eax, dword [0x1400e6ea8]
cmp eax, 1
jne 0x1400825b0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140082603
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x140082505
add rbx, 2
cmp word [rbx], 0
jne 0x1400824f1
add rbx, 2
cmp word [rbx], 0
jne 0x1400824f1
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 0x1400825a3
mov rcx, rbp
call fcn.140081380
test rax, rax
mov rsi, rax
je 0x1400825a3
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 0x14008257d
mov rcx, rsi
call fcn.14007da30
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 0x140082589
cmp eax, 2
je 0x1400825b9
test eax, eax
jne 0x140082603
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x140082603
cmp byte [rax], 0
je 0x1400825e2
nop
add rax, 1
cmp byte [rax], 0
jne 0x1400825d0
add rax, 1
cmp byte [rax], 0
jne 0x1400825d0
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.140081380
test rax, rax
mov rdi, rax
jne 0x140082615
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.140074230
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 0x140082ab7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400e4340]
jne 0x14007560a
rol rcx, 0x10
test cx, 0xffff
jne 0x140075606
repz ret
ror rcx, 0x10
jmp 0x140082a10
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400e6f60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400e7058]
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 0x140082a95
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, [0x1400e6f60]
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 0x140082ab7
mov rax, qword [rsp + 0x88]
mov qword [0x1400e7058], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400e6ff8], rax
mov rax, qword [0x1400e7058]
mov qword [0x1400e6ed0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400e6fe0], rax
mov dword [0x1400e6ec0], 0xc0000409
mov dword [0x1400e6ec4], 1
mov rax, qword [0x1400e4340]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400e4348]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400e6f58], eax
mov ecx, 1
call fcn.1400829b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400c0720]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400e6f58], 0
jne 0x140082b3e
mov ecx, 1
call fcn.1400829b0
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 0x14008dda0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov esi, ecx
call fcn.140088a30
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x14008df44
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.140088a30
cmp rax, 0xffffffffffffffff
je 0x14008df44
mov qword [rsp + 0x40], rbx
mov rbx, rbp
mov qword [rsp + 0x50], r14
sub rbx, rax
test rbx, rbx
jle 0x14008dec3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x14008de49
call fcn.140079140
mov dword [rax], 0xc
call fcn.140079140
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x48], r12
call fcn.14007c530
mov r12d, eax
nop
mov r8d, ebx
cmp rbx, r14
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.140088020
cmp eax, 0xffffffff
je 0x14008de85
cdqe
sub rbx, rax
test rbx, rbx
jg 0x14008de60
jmp 0x14008de9e
call fcn.140079170
cmp dword [rax], 5
jne 0x14008de9a
call fcn.140079140
mov dword [rax], 0xd
or rdi, 0xffffffffffffffff
mov edx, r12d
mov ecx, esi
call fcn.14007c530
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x48]
jmp 0x14008df1c
test rbx, rbx
jns 0x14008df26
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.140088a30
cmp rax, 0xffffffffffffffff
je 0x14008de2a
mov ecx, esi
call fcn.1400748a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb rdi, rdi
neg rdi
sub rdi, 1
cmp rdi, 0xffffffffffffffff
jne 0x14008df26
call fcn.140079140
mov dword [rax], 0xd
call fcn.140079170
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x14008de2a
xor r8d, r8d
mov rdx, r13
mov ecx, esi
call fcn.140088a30
cmp rax, 0xffffffffffffffff
je 0x14008de2a
xor eax, eax
jmp 0x14008de31
call fcn.140079140
mov rbp, qword [rsp + 0x58]
mov eax, dword [rax]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x14008e8f0
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.14007e3e0
xor ebx, ebx
cmp qword [0x1400e74d0], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14008ea1c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14008eb2f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14008eb2f
mov rcx, rax
call fcn.14007e310
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400e74d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14007e310
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400e74d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14007e310
lea rcx, [rsp + 0x98]
mov qword [0x1400e74e0], rax
call fcn.140075760
test eax, eax
je 0x14008e9cf
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140074e20
cmp dword [rsp + 0x98], 2
jne 0x14008ea1c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14007e310
test rax, rax
mov qword [0x1400e74f0], rax
je 0x14008ea1c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14007e310
mov qword [0x1400e74e8], rax
mov rcx, qword [0x1400e74e8]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x14008eac8
cmp qword [0x1400e74f0], rbp
je 0x14008eac8
call fcn.14007e4d0
mov rcx, qword [0x1400e74f0]
mov rsi, rax
call fcn.14007e4d0
test rsi, rsi
mov r12, rax
je 0x14008eac8
test rax, rax
je 0x14008eac8
call rsi
test rax, rax
je 0x14008ea93
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14008ea93
test byte [rsp + 0x40], 1
jne 0x14008eac8
lea rcx, [rsp + 0x30]
call fcn.140075850
test eax, eax
je 0x14008eab5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140074e20
cmp dword [rsp + 0x30], 4
jb 0x14008eac2
bts edi, 0x15
jmp 0x14008eb06
bts edi, 0x12
jmp 0x14008eb06
mov rcx, qword [0x1400e74d8]
cmp rcx, rbp
je 0x14008eb06
call fcn.14007e4d0
test rax, rax
je 0x14008eb06
call rax
test rax, rax
mov rbx, rax
je 0x14008eb06
mov rcx, qword [0x1400e74e0]
cmp rcx, rbp
je 0x14008eb06
call fcn.14007e4d0
test rax, rax
je 0x14008eb06
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400e74d0]
call fcn.14007e4d0
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14008eb2f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14008eb31
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a3870
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x1400e4340]
xor rax, rbp
mov qword [rbp], rax
mov eax, dword [0x1400e756c]
mov r15, r9
mov r13d, r8d
test eax, eax
mov r14d, edx
mov rbx, rcx
jne 0x1400a38f1
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400a38d4
mov dword [0x1400e756c], 1
jmp 0x1400a38f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1400a38eb
mov dword [0x1400e756c], 2
jmp 0x1400a391b
mov eax, dword [0x1400e756c]
cmp eax, 1
jne 0x1400a390e
mov r9d, dword [rbp + 0x60]
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1400a3a22
cmp eax, 2
je 0x1400a391b
test eax, eax
jne 0x1400a3a20
mov esi, dword [rbp + 0x68]
xor edi, edi
test esi, esi
jne 0x1400a392a
mov rax, qword [rbx]
mov esi, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
movsxd r12, eax
je 0x1400a3a20
jle 0x1400a3a20
xor edx, edx
mov rax, 0xffffffffffffffe0
mov rcx, r12
div r12
cmp rax, 1
jb 0x1400a3a20
add rcx, 0x10
cmp rcx, 0x400
ja 0x1400a39a8
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400a3986
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400b35e0
sub rsp, rax
lea rbx, [rsp + 0x30]
test rbx, rbx
je 0x1400a3a20
mov dword [rbx], 0xcccc
jmp 0x1400a39bb
call fcn.14007d960
test rax, rax
mov rbx, rax
je 0x1400a39bf
mov dword [rax], 0xdddd
add rbx, 0x10
test rbx, rbx
je 0x1400a3a20
mov r9d, r12d
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1400a3a0a
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
mov r8, rbx
test eax, eax
lea edx, [r9 + 2]
mov ecx, esi
jne 0x1400a39f9
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
jmp 0x1400a3a02
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
cmp dword [rbx - 0x10], 0xdddd
lea rcx, [rbx - 0x10]
jne 0x1400a3a1c
call fcn.14007da30
mov eax, edi
jmp 0x1400a3a22
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400755f0
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400a3b80
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x1400e4340]
xor rax, rbp
mov qword [rbp], rax
mov eax, dword [0x1400e7570]
mov r15, r9
mov r13d, r8d
test eax, eax
mov r14d, edx
mov rbx, rcx
jne 0x1400a3c38
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400a3be4
mov dword [0x1400e7570], 1
jmp 0x1400a3c46
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1400a3c32
mov dword [0x1400e7570], 2
mov r9d, dword [rbp + 0x60]
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400755f0
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, dword [0x1400e7570]
cmp eax, 2
je 0x1400a3bf9
test eax, eax
je 0x1400a3bf9
cmp eax, 1
jne 0x1400a3c6e
mov esi, dword [rbp + 0x68]
xor edi, edi
test esi, esi
jne 0x1400a3c55
mov rax, qword [rbx]
mov esi, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
movsxd r12, eax
jne 0x1400a3c72
xor eax, eax
jmp 0x1400a3c0c
jle 0x1400a3c6e
xor edx, edx
mov rax, 0xffffffffffffffe0
div r12
cmp rax, 2
jb 0x1400a3c6e
lea rcx, [r12 + r12 + 0x10]
cmp rcx, 0x400
ja 0x1400a3cc5
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400a3ca7
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400b35e0
sub rsp, rax
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400a3c6e
mov dword [rbx], 0xcccc
jmp 0x1400a3cd8
call fcn.14007d960
test rax, rax
mov rbx, rax
je 0x1400a3cdc
mov dword [rax], 0xdddd
add rbx, 0x10
test rbx, rbx
je 0x1400a3c6e
mov r9d, r12d
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400a3d2f
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
xor edx, edx
test eax, eax
mov qword [rsp + 0x38], rdi
mov r8, rbx
mov ecx, esi
mov qword [rsp + 0x30], rdi
jne 0x1400a3d1e
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
jmp 0x1400a3d27
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp dword [rbx - 0x10], 0xdddd
lea rcx, [rbx - 0x10]
jne 0x1400a3d41
call fcn.14007da30
mov eax, edi
jmp 0x1400a3c0c