joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000790a8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r12
sub rsp, 0x40
lea rdx, [0x100022878]
xor ebx, ebx
mov rsi, rcx
mov dil, bl
call fcn.100075e14
cmp al, bl
jne 0x1000790e9
lea rdx, [0x1000228a8]
mov rcx, rsi
call fcn.100075e14
cmp al, bl
je 0x1000790f1
mov dil, bl
jmp 0x1000792d2
lea rdx, [0x100022848]
mov rcx, rsi
call fcn.100075e14
cmp al, bl
je 0x1000792a8
or ebp, 0xffffffff
mov r12d, 1
cmp dword [rsi + 0x84], ebp
je 0x100079131
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsi + 0x88]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x1388
jbe 0x10007914e
mov dl, r12b
mov rcx, rsi
call fcn.10007a46c
mov dword [rsi + 0x84], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x88], eax
mov eax, dword [rsi + 0x84]
cmp eax, ebp
je 0x10007915c
test al, 0x10
jne 0x1000790e9
mov rcx, rsi
call fcn.1000754ac
cmp eax, 0x80
je 0x1000790e9
lea rcx, [rsp + 0x30]
call fcn.10007d40c
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov ebp, ebx
mov dword [rsp + 0x68], ebx
call fcn.1000755e0
cmp eax, ebx
jl 0x10007929c
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x1000791b1
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
call fcn.100078dcc
mov ebp, dword [rsp + 0x68]
mov edi, ebp
shr edi, 3
and dil, r12b
jne 0x10007929c
test r12b, bpl
je 0x100079260
mov edx, 0xf
mov rcx, rsi
call fcn.100075728
cmp al, bl
je 0x100079260
lea rcx, [rsp + 0x20]
call fcn.10007d40c
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rsi
call fcn.100075298
cmp eax, ebx
jl 0x100079254
lea rdx, [0x100024048]
lea rcx, [rsp + 0x20]
call fcn.10007e090
cmp eax, ebx
jge 0x100079254
lea rdx, [0x100024070]
lea rcx, [rsp + 0x20]
call fcn.10007e090
cmp eax, ebx
jge 0x100079254
lea rdx, [0x1000240a0]
lea rcx, [rsp + 0x20]
call fcn.10007e090
cmp eax, ebx
jge 0x100079254
lea rdx, [0x1000240b8]
lea rcx, [rsp + 0x20]
call fcn.10007e090
movzx edi, dil
cmp eax, ebx
cmovl edi, r12d
lea rcx, [rsp + 0x20]
call fcn.10007d970
jmp 0x10007929c
cmp byte [0x10008895e], bl
je 0x10007929c
lea rcx, [rsp + 0x20]
call fcn.10007d40c
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1000755e0
cmp eax, ebx
jl 0x10007928f
mov rcx, qword [rsp + 0x20]
call fcn.1000792f0
mov bl, al
lea rcx, [rsp + 0x20]
call fcn.10007d970
mov dil, bl
lea rcx, [rsp + 0x30]
call fcn.10007d970
jmp 0x1000792d2
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x1000792c1
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.100078f6c
jmp 0x1000792c6
mov eax, 0x80004003
cmp eax, ebx
jl 0x1000792d2
cmp dword [rsp + 0x68], ebx
setne dil
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov al, dil
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x1000799c8
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov rdi, rcx
cmp byte [0x10008895b], sil
jne 0x100079a29
mov qword [rax - 0x20], rsi
lea r8, [0x100079818]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rax - 0x28], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, rsi
je 0x100079a20
mov edx, 0xbb8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x10008895b], sil
je 0x100079a9e
lea rcx, [rsp + 0x30]
call fcn.10007d40c
lea rcx, [rsp + 0x30]
or r8d, 0xffffffff
mov rdx, rdi
call fcn.10007d57c
cmp eax, esi
jl 0x100079a94
mov rbx, qword [rsp + 0x30]
mov rdi, rbx
cmp rbx, rsi
je 0x100079a6f
cmp word [rbx], si
je 0x100079a6f
movzx ecx, word [rdi]
call qword [sym.imp.msvcrt.dll_towlower]
mov word [rdi], ax
add rdi, 2
cmp word [rdi], si
jne 0x100079a5a
lea rcx, [0x100088cc0]
mov r8, rbx
mov rdx, rcx
call fcn.10007beec
cmp al, sil
je 0x100079a94
lea rcx, [rsp + 0x30]
call fcn.10007d970
mov al, 1
jmp 0x100079aa0
lea rcx, [rsp + 0x30]
call fcn.10007d970
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x10007a13c
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rdi, rcx
lea rcx, [rsp + 0x40]
mov dword [rax + 0x10], 0x80070005
call fcn.1000750dc
lea rcx, [rsp + 0x40]
mov r8, rdi
mov edx, 2
call fcn.100075394
xor esi, esi
cmp eax, esi
jl 0x10007a1dd
lea rcx, [rsp + 0x40]
call fcn.1000754ac
cmp eax, 4
jne 0x10007a1dd
lea rcx, [rsp + 0x40]
mov edx, 0x3e8
call fcn.10007b18c
mov ebx, eax
mov dword [rsp + 0xe8], eax
cmp byte [0x10008895c], sil
je 0x10007a1e4
cmp eax, esi
jl 0x10007a1c2
lea rdx, [rsp + 0x40]
lea rcx, [0x1000871c0]
call fcn.10007b47c
jmp 0x10007a1dd
cmp eax, 0x80072af9
jne 0x10007a1e4
lea rdx, [rsp + 0x40]
lea rcx, [0x1000871c0]
mov r8d, eax
call fcn.10007b3c0
mov ebx, dword [rsp + 0xe8]
cmp ebx, esi
jge 0x10007a317
cmp ebx, 0x80072af9
je 0x10007a317
lea rax, [rsp + 0xf0]
lea r8, [0x10007a060]
mov r9, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rbx, rax
cmp rax, rsi
je 0x10007a310
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea rdx, [0x100031fd0]
lea rcx, [0x100088c10]
xor r9d, r9d
mov r8d, 0xfa0
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call fcn.100074b9c
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
jne 0x10007a307
lea rdx, [rsp + 0xe8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp eax, esi
je 0x10007a307
mov rcx, qword [0x100087a50]
lea rax, [0x100087a50]
cmp rcx, rax
je 0x10007a2c0
test byte [rcx + 0x3c], 1
je 0x10007a2c0
cmp byte [rcx + 0x39], 3
jb 0x10007a2c0
mov r9d, dword [rsp + 0xe8]
mov rcx, qword [rcx + 0x30]
lea r8, [0x100022090]
mov edx, 0xb
call fcn.100079bc4
cmp dword [rsp + 0xe8], esi
je 0x10007a2d6
mov dword [rsp + 0xe8], 0x80070005
jmp 0x10007a307
cmp byte [0x10008895c], sil
je 0x10007a307
mov rcx, qword [rsp + 0x68]
mov eax, esi
cmp rcx, rsi
je 0x10007a2f1
cmp word [rcx], si
setne al
cmp al, sil
je 0x10007a307
lea rdx, [rsp + 0x40]
lea rcx, [0x1000871c0]
call fcn.10007b47c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0xe8]
lea rcx, [rsp + 0xa8]
call fcn.1000783b0
lea rcx, [rsp + 0x98]
call fcn.10007d970
lea rcx, [rsp + 0x88]
call fcn.10007d970
lea rcx, [rsp + 0x78]
call fcn.10007d970
lea rcx, [rsp + 0x68]
call fcn.10007d970
lea rcx, [rsp + 0x50]
call fcn.10007d970
lea rcx, [rsp + 0x40]
call fcn.10007d970
lea r11, [rsp + 0xd0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x10007ce98
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
xor r12d, r12d
mov rdi, rcx
cmp byte [rcx + 0x18], r12b
jne 0x10007d048
lea rax, [r11 + 0x10]
mov byte [rcx + 0x18], 1
lea rdx, [0x100032b20]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x68], rax
mov qword [r11 + 0x10], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x10007d048
mov rsi, qword [rsp + 0x98]
mov ebp, r12d
jmp 0x10007d003
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0xa0]
mov edx, ebp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x90]
mov r8, rbx
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
inc ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r12d
jne 0x10007d030
mov eax, r12d
cmp rbx, r12
je 0x10007cf4c
cmp word [rbx], r12w
setne al
cmp al, r12b
je 0x10007cff9
cmp dword [rsp + 0x90], r12d
je 0x10007cff9
lea rcx, [rsp + 0x50]
call fcn.10007d40c
mov r11d, 0x2e
or r8d, 0xffffffff
lea rcx, [rsp + 0x50]
lea rdx, [rbx + 2]
cmp r11w, word [rbx]
je 0x10007cf89
mov rdx, rbx
call fcn.10007d57c
mov rbx, qword [rsp + 0x50]
mov eax, r12d
cmp rbx, r12
je 0x10007cfa2
cmp word [rbx], r12w
setne al
cmp al, r12b
je 0x10007cfef
cmp rbx, r12
je 0x10007cfe4
mov r9d, 0x10
lea rax, [0x100074d18]
lea rdx, [0x100021260]
lea r8d, [r9 + 0x33]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll_bsearch]
cmp rax, r12
je 0x10007cfdc
mov eax, dword [rax + 8]
jmp 0x10007cfdf
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x10007cfef
mov rdx, rbx
mov rcx, rdi
call fcn.10007c914
lea rcx, [rsp + 0x50]
call fcn.10007d970
lea rcx, [rsp + 0x40]
call fcn.10007d970
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x90], 0x104
call fcn.10007d40c
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.10007d51c
cmp eax, r12d
jge 0x10007cefb
lea rcx, [rsp + 0x40]
call fcn.10007d970
cmp rsi, r12
je 0x10007d048
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x10007d40c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edi, edi
mov rbx, rcx
mov qword [rcx], rdi
mov dword [rcx + 8], edi
mov word [rcx + 0xc], di
cmp dword [0x1000889bc], edi
jne 0x10007d4a3
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [0x1000889bc], 1
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, edi
je 0x10007d4a3
cmp dword [rsp + 0x24], 5
jb 0x10007d483
cmp dword [rsp + 0x28], 1
jae 0x10007d48a
cmp dword [rsp + 0x24], 6
jb 0x10007d4a3
mov ecx, dword [0x100086170]
cmp dword [rsp + 0x30], 2
mov eax, 0x7f
cmove ecx, eax
mov dword [0x100086170], ecx
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.10007fa70
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x10007dd7c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov r12, r8
mov rbp, rdx
mov rbx, rcx
call fcn.10007d970
xor r13d, r13d
cmp rbp, r13
jne 0x10007ddac
mov eax, 0x80070057
jmp 0x10007deef
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x88]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r12
mov rcx, rbp
mov edi, 0x80070057
mov dword [rsp + 0x88], r13d
mov dword [rsp + 0x78], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r13d
jne 0x10007deed
mov eax, dword [rsp + 0x88]
cmp eax, 1
je 0x10007de07
cmp eax, 2
je 0x10007de07
cmp eax, 7
jne 0x10007deed
mov edx, dword [rsp + 0x78]
shr edx, 1
test byte [rbx + 0xc], 0x20
mov dword [rsp + 0x78], edx
je 0x10007de6b
cmp edx, dword [rbx + 8]
mov rcx, rbp
cmovae edx, dword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
lea eax, [rdx + rdx]
mov dword [rsp + 0x78], edx
mov rdx, r12
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rbx + 8], r13d
jle 0x10007de60
movsxd rdx, dword [rbx + 8]
mov rcx, qword [rbx]
mov word [rcx + rdx*2 - 2], r13w
cmp eax, r13d
jne 0x10007deed
jmp 0x10007ded4
mov rcx, rbx
call fcn.10007e380
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp rax, r13
je 0x10007deed
mov ecx, dword [rsp + 0x78]
lea rax, [rsp + 0x30]
xor r9d, r9d
add ecx, ecx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x30], ecx
mov rcx, rbp
mov rdx, r12
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbx
cmp eax, r13d
je 0x10007debf
lea rdx, [rsp + 0x38]
call fcn.10007e3b4
jmp 0x10007deed
test byte [rbx + 0xc], 4
mov rdx, rsi
je 0x10007decf
call fcn.10007e2f8
jmp 0x10007ded4
call fcn.10007e284
cmp dword [rsp + 0x88], 2
je 0x10007dee3
mov edi, r13d
jmp 0x10007deed
mov rcx, rbx
call fcn.10007df90
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x10007df90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx]
xor ebx, ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x38], rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
je 0x10007e01d
mov edx, eax
mov rcx, rdi
call fcn.10007e380
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x10007e016
mov rcx, qword [rdi]
mov r8d, esi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10007e01d
test byte [rdi + 0xc], 0x20
je 0x10007e000
movsxd rdx, dword [rdi + 8]
mov rcx, qword [rdi]
mov r8, rbx
call fcn.100039df8
mov esi, eax
jmp 0x10007e031
mov rdx, rbx
mov rcx, rdi
call fcn.10007e284
xor ebx, ebx
xor esi, esi
mov qword [rsp + 0x38], rbx
jmp 0x10007e031
mov esi, 0x8007000e
jmp 0x10007e031
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test rbx, rbx
je 0x10007e043
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.10007e3b4
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x10007fa70
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100086110]
jne 0x10007fa8b
rol rcx, 0x10
test cx, 0xffff
jne 0x10007fa87
ret 0
ror rcx, 0x10
jmp 0x10007fe4c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100087ba0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100087c98]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10007fed1
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, [0x100087ba0]
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.ntdll.dll_RtlVirtualUnwind
jmp 0x10007fef3
mov rax, qword [rsp + 0x88]
mov qword [0x100087c98], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100087c38], rax
mov rax, qword [0x100087c98]
mov qword [0x100087b10], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100087c20], rax
mov dword [0x100087b00], 0xc0000409
mov dword [0x100087b04], 1
mov rax, qword [0x100086110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100086118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001db0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
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 0x10007fce8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10007fd35
cmp rcx, 0xffffffffffffffff
je 0x10007fd35
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10007fd2d
cmp dword [rcx + 0x3c], edx
jl 0x10007fd2d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10007fd2d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x10007fd35
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140007880
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400078c8
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
ja 0x1400078c8
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x1400078df
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
add rsp, 0x48
ret

Function at 0x140007970
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400079ad
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140007910
add rsp, 0x58
ret
Function at 0x14000ac40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x14000ac65
xor eax, eax
jmp 0x14000ae26
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x14000ac8d
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14000ae30
jmp 0x14000ae26
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400090f0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x14000ad2a
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140002b80
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call fcn.140009b00
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140004e70
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140009ab0
nop
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x14000ae16
mov rcx, qword [rsp + 0x70]
call fcn.140009600
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x14000adca
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.14001fa40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x14000adc8
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x14000ae26
jmp 0x14000ad50
cmp qword [rsp + 0x20], 0
jbe 0x14000ae16
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.14001fa40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret
Function at 0x14000d250
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14000d940
movzx eax, al
test eax, eax
jne 0x14000d270
mov ecx, 7
call fcn.14000e720
nop
mov byte [rsp + 0x20], 0
call fcn.14000d8d0
mov byte [rsp + 0x21], al
cmp dword [0x140082930], 1
jne 0x14000d294
mov ecx, 7
call fcn.14000e720
nop
jmp 0x14000d2ec
cmp dword [0x140082930], 0
jne 0x14000d2e7
mov dword [0x140082930], 1
lea rdx, [0x140063550]
lea rcx, [0x140063510]
call fcn.140033c90
test eax, eax
je 0x14000d2c8
mov eax, 0xff
jmp 0x14000d3f1
lea rdx, [0x140063508]
lea rcx, [0x140063358]
call fcn.140033c20
mov dword [0x140082930], 2
jmp 0x14000d2ec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14000db30
call fcn.14000e6f0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14000d349
mov rcx, qword [rsp + 0x30]
call fcn.14000daa0
movzx eax, al
test eax, eax
je 0x14000d349
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140063330]
nop
call fcn.14000e700
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14000d37d
mov rcx, qword [rsp + 0x38]
call fcn.14000daa0
movzx eax, al
test eax, eax
je 0x14000d37d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400342f0
nop
call fcn.14000d430
mov dword [rsp + 0x28], eax
call fcn.14000e8d0
movzx eax, al
test eax, eax
jne 0x14000d39c
mov ecx, dword [rsp + 0x28]
call fcn.140034340
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14000d3ab
call fcn.1400342b0
nop
xor edx, edx
mov cl, 1
call fcn.14000db60
mov eax, dword [rsp + 0x28]
jmp 0x14000d3f1
add rsp, 0x68
ret

Function at 0x140017130
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140016c10
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14001716f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140063330]
jmp 0x140017179
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14003ae10
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x14003ea40
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14003e000
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14003eaa7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140063338]
jmp 0x14003eac9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14003edd0
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret