joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140072060
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x220
mov rbx, rcx
mov rcx, qword [rcx + 0x88]
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
cmp rax, rdi
je 0x1400720f5
lea rdx, [rsp + 0x20]
mov r8d, 0x100
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test byte [rbx + 0x10], 1
je 0x1400720b4
cmp word [rsp + 0x20], di
jne 0x1400720b4
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x1400720f5
movsd xmm0, qword [rbx + 0x18]
comisd xmm0, xmmword [0x1400a3cb0]
jbe 0x1400720d5
mov rcx, qword [rbx + 0x88]
mov edx, 0x40a
call qword [sym.imp.USER32.dll_KillTimer]
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x20]
call fcn.1400107e0
mov rcx, qword [rbx + 0x88]
mov edx, 1
call qword [sym.imp.USER32.dll_EndDialog]
mov rbx, qword [rsp + 0x230]
add rsp, 0x220
pop rdi
ret

Function at 0x140072620
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rbp, rdx
mov r13, rcx
lea rdx, [0x14009b6c0]
mov rcx, rbp
call fcn.1400107e0
mov rcx, r13
call fcn.1400433c0
xor esi, esi
cmp al, sil
je 0x140072663
xor al, al
jmp 0x1400726ee
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, 0xffffffffffffffff
mov rdi, rax
mov eax, 0x7fff
cmp rdi, rsi
cmove rdi, rax
mov eax, 2
lea rbx, [rdi + 1]
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140016ed8
mov rcx, qword [r13]
mov r8, rbx
mov r9, rax
mov edx, reloc.WSOCK32.dll_listen
mov r12, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov word [r12 + rdi*2], si
mov rcx, rbp
cmp rax, rsi
jne 0x1400726d8
lea rdx, [0x14009b6c0]
call fcn.1400107e0
jmp 0x1400726e3
mov rdx, r12
call fcn.1400107e0
mov sil, 1
mov rcx, r12
call fcn.140016a60
mov al, sil
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x140073590
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, rcx
mov rcx, qword [rcx]
mov r13, rdx
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x60]
cmp dword [rsp + 0x68], r11d
jae 0x14007365b
mov rcx, qword [r12]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
mov rdi, rax
cmp eax, esi
je 0x14007365b
cmp eax, dword [rsp + 0x68]
jb 0x14007365b
cmp eax, dword [rsp + 0x60]
jb 0x14007365b
lea ebx, [rax + 1]
lea rcx, [rsi - 1]
lea eax, [rsi + 2]
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140016ed8
mov rcx, qword [r12]
lea edx, [rsi + 0xd]
mov r9, rax
mov r8, rbx
mov rbp, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, rsi
je 0x14007364e
cmp dword [rsp + 0x60], edi
je 0x14007363a
mov ecx, dword [rsp + 0x60]
mov word [rbp + rcx*2], si
mov eax, dword [rsp + 0x68]
mov rcx, r13
lea rdx, [rbp + rax*2]
call fcn.1400107e0
mov sil, 1
mov rcx, rbp
call fcn.140016a60
mov al, sil
jmp 0x14007365d
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140076c60
Capabilities:
Set socket configuration

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, 0x40
mov rdi, rdx
mov rbx, rcx
mov r13d, 2
mov word [rdx], r13w
lea rdx, [rax - 0x38]
mov rcx, r8
mov esi, r9d
mov r12, r8
call fcn.14006ad20
mov rcx, qword [rax]
call sub.WSOCK32.dll_inet_addr
lea rcx, [rsp + 0x20]
mov ebp, eax
call fcn.140002610
cmp ebp, 0xffffffff
jne 0x140076ccc
lea rdx, str.255.255.255.255
mov rcx, r12
call fcn.14005af90
test al, al
je 0x140076ccc
lea edx, [r13 - 1]
jmp 0x140076cec
lea eax, [rsi - 1]
mov dword [rdi + 4], ebp
cmp eax, 0xfffe
ja 0x140076ce9
movzx ecx, si
call sub.WSOCK32.dll_htons
mov word [rdi + 2], ax
mov al, 1
jmp 0x140076d00
mov edx, r13d
mov rax, qword [rbx]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.14000fca0
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret

Function at 0x1400783c0
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rbx, rdx
xor edx, edx
mov rsi, r8
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x28]
call fcn.140017520
mov ebp, 1
mov rcx, rbx
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x60], ebp
mov dword [rsp + 0x20], 0xf0
call fcn.140016a44
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x14007853d
mov r9d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
xor r8d, r8d
mov rcx, rsi
call fcn.140002900
mov r9d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsi + 0x20]
xor r8d, r8d
call fcn.140002900
mov r9d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsi + 0x40]
xor r8d, r8d
call fcn.140002900
mov r9d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsi + 0x60]
xor r8d, r8d
call fcn.140002900
mov r9d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsi + 0x80]
xor r8d, r8d
call fcn.140002900
mov r9d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsi + 0xa0]
xor r8d, r8d
call fcn.140002900
lea r8, [rsi + 0xa0]
lea rdx, [rsp + 0x90]
lea rcx, [rsi + 0x80]
call fcn.14005b010
lea rcx, [rsi + 0xc0]
mov rdx, rax
call fcn.140012600
lea rcx, [rsp + 0x90]
call fcn.140002610
mov ecx, dword [rsp + 0x34]
movzx r11d, word [rsp + 0x44]
mov dword [rsi + 0xe4], ecx
sub ecx, ebp
mov word [rsi + 0xe8], r11w
je 0x140078534
cmp ecx, ebp
je 0x140078528
mov dword [rsi + 0xe0], 3
jmp 0x14007853a
mov dword [rsi + 0xe0], 2
jmp 0x14007853a
mov dword [rsi + 0xe0], ebp
mov al, bpl
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140078670
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rcx
cmp byte [rcx + 0x188], bl
je 0x1400786bd
cmp dl, bl
je 0x1400786bd
add rcx, 0x190
xor r9d, r9d
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbx
call fcn.14003ea20
lea rcx, [0x140078660]
mov r8, rdi
xor edx, edx
call fcn.14001a060
cmp dword [rdi + 0x20], ebx
sete al
jmp 0x1400786c2
call fcn.140078560
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14007a870
Capabilities:
Print debug messages
Write file on windows

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 r12
sub rsp, 0x40
mov r12b, byte [0x1400b5497]
mov rbp, rdx
mov rdi, rcx
call fcn.140018b10
mov edx, 0x8000
mov ecx, eax
call fcn.1400189b8
mov rcx, rbp
mov esi, eax
call fcn.1400508f0
test al, al
je 0x14007a8e0
mov rcx, rbp
call fcn.14004fa00
mov rcx, rbp
movsxd rbx, eax
call fcn.14007a0b0
mov r9, rdi
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.140018ce4
mov rbx, rax
jmp 0x14007a936
lea rcx, [rsp + 0x20]
call fcn.140011a60
mov rcx, rbp
call fcn.140011960
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140070c10
mov r8, qword [rsp + 0x20]
lea rdx, [0x14009e474]
mov rcx, rdi
call fcn.140018d88
movsxd rbx, eax
test r12b, r12b
je 0x14007a92c
mov rcx, rbp
call fcn.140062190
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x20]
call fcn.140002610
mov rcx, rdi
call fcn.1400190b8
mov rcx, rdi
call fcn.140018b10
mov edx, 0x4000
mov ecx, eax
cmp esi, 0xffffffff
je 0x14007a954
mov edx, esi
call fcn.1400189b8
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r12
ret
Function at 0x14007af00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor eax, eax
mov r12, r9
mov r15, rdx
lea ebx, [rax + 1]
mov edi, eax
mov ebp, eax
cmp qword [rdx + 8], rax
je 0x14007b0d6
mov rsi, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xb0]
mov byte [rsi], al
mov byte [r14], al
mov byte [r13], al
mov byte [r9], al
movsxd rdx, edi
mov rcx, r15
call fcn.140043480
cmp word [rax], 0x2b
je 0x14007af84
cmp word [rax], 0x5e
je 0x14007af7e
cmp word [rax], 0x21
je 0x14007af7e
cmp word [rax], 0x23
jne 0x14007afad
cmp word [rax], 0x2b
jne 0x14007af8a
mov byte [r12], bl
jmp 0x14007afa9
cmp word [rax], 0x5e
jne 0x14007af96
mov byte [r13], bl
jmp 0x14007afa9
cmp word [rax], 0x21
jne 0x14007afa1
mov byte [r14], bl
jmp 0x14007afa9
cmp word [rax], 0x23
jne 0x14007afa9
mov byte [rsi], bl
add edi, ebx
jmp 0x14007af5b
movsxd rdx, edi
add edi, ebx
mov rcx, r15
mov dword [rsp + 0x98], edi
call fcn.140043480
mov rsi, qword [rsp + 0xa0]
movzx ecx, word [rax]
cmp cx, 0x7b
jne 0x14007b0a6
lea rcx, [rsp + 0x30]
mov edx, 0x40
call fcn.140011880
mov rcx, qword [rsp + 0x90]
lea rax, [rsp + 0x98]
lea r9, [rsp + 0x30]
mov edx, 0x7d
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.140071280
test al, al
je 0x14007b08c
lea rdi, [0x1400b0bf0]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.140016d8c
test eax, eax
je 0x14007b03a
lea rax, reloc.WSOCK32.dll_accept
add rdi, 8
add ebp, ebx
cmp rdi, rax
jl 0x14007b017
cmp ebp, 0x62
jne 0x14007b078
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.140002170
movzx ecx, word [rax]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
bt ecx, 9
mov dword [rsi], ecx
jae 0x14007b063
mov byte [r13], bl
bt ecx, 0xa
jae 0x14007b06c
mov byte [r14], bl
bt ecx, 8
jae 0x14007b09a
mov byte [r12], bl
jmp 0x14007b09a
lea rcx, [0x140000000]
movsxd rax, ebp
cmp byte [rax + rcx + 0xb0f00], 0
je 0x14007b090
xor bl, bl
jmp 0x14007b09a
movzx eax, byte [rax + rcx + 0xb0f70]
mov dword [rsi], eax
lea rcx, [rsp + 0x30]
call fcn.140002610
jmp 0x14007b0ce
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
bt ecx, 9
mov dword [rsi], ecx
jae 0x14007b0bb
mov byte [r13], bl
bt ecx, 0xa
jae 0x14007b0c4
mov byte [r14], bl
bt ecx, 8
jae 0x14007b0ce
mov byte [r12], bl
and dword [rsi], 0xff
mov al, bl
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x141146058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1411461df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141146089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14114606f
add dl, dl
jne 0x141146096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411460f6
xor eax, eax
add dl, dl
jne 0x1411460a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411461ad
add dl, dl
jne 0x1411460b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411460c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411460d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411460dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1411460ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14114607e
mov eax, 1
add dl, dl
jne 0x141146106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141146113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411460fb
sub eax, ebx
mov ebx, 1
jne 0x14114614c
mov ecx, 1
add dl, dl
jne 0x14114612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14114613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141146123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14114607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141146168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141146175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14114615d
cmp eax, 0x7d00
jae 0x14114619b
cmp eax, 0x500
jb 0x141146196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14114607e
cmp eax, 0x7f
ja 0x14114619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14114607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1411461d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14114607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140114554
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140191090
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x1401910b8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140191102
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x1401910ad
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1401167f5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1402c5b10
mov rax, rcx
neg rcx
test rax, 7
je 0x1402c5b2d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1402c5b88
test al, 7
jne 0x1402c5b20
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1402c5b41
mov rdx, qword [rax - 8]
test dl, dl
je 0x1402c5bb2
test dh, dh
je 0x1402c5bac
shr rdx, 0x10
test dl, dl
je 0x1402c5ba6
test dh, dh
je 0x1402c5ba0
shr rdx, 0x10
test dl, dl
je 0x1402c5b9a
test dh, dh
je 0x1402c5b94
shr edx, 0x10
test dl, dl
je 0x1402c5b8e
test dh, dh
jne 0x1402c5b41
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x14011684f
Capabilities:
Query environment variable

Disassembly:
jmp 0x140316ff0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140316b70
lea rcx, [rsp + 0x20]
call fcn.140316bc0
movzx eax, al
test eax, eax
jne 0x140317035
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.140316ba0
mov rax, qword [rsp + 0x40]
jmp 0x14031712f
lea rcx, [rsp + 0x20]
call fcn.140316cc0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140316c60
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.140116d59
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140115e54
lea rcx, [rsp + 0x28]
call fcn.1401174a7
movzx eax, al
test eax, eax
jne 0x1403170cf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.140119405
lea rcx, [rsp + 0x20]
call fcn.140316ba0
mov rax, qword [rsp + 0x50]
jmp 0x14031712f
lea rcx, [rsp + 0x20]
call fcn.140316cc0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.14011aba7
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140116c69
lea rcx, [rsp + 0x28]
call fcn.14011ba3e
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.140119405
lea rcx, [rsp + 0x20]
call fcn.140316ba0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x140116fc5
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14026bf90
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14026b910
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14026bfcf
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 [0x1403fc020]
jmp 0x14026bfd9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x140117371
Capabilities:
Query environment variable

Disassembly:
jmp 0x140316d40
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140316b70
lea rcx, [rsp + 0x40]
call fcn.140316cf0
movzx eax, al
test eax, eax
jne 0x140316d88
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140316ba0
mov rax, qword [rsp + 0x70]
jmp 0x140316f59
lea rcx, [rsp + 0x40]
call fcn.140316cc0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140316c60
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140316cc0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.140118e2e
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140316e2e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140316ba0
mov rax, qword [rsp + 0x80]
jmp 0x140316f59
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140116d59
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140116a66
lea rcx, [rsp + 0x48]
call fcn.14011619c
movzx eax, al
test eax, eax
jne 0x140316e95
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140114301
lea rcx, [rsp + 0x40]
call fcn.140316ba0
mov rax, qword [rsp + 0x88]
jmp 0x140316f59
lea rcx, [rsp + 0x48]
call fcn.140117b0f
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140316cc0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.140118e2e
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140316f2b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140114301
lea rcx, [rsp + 0x40]
call fcn.140316ba0
mov rax, qword [rsp + 0xa0]
jmp 0x140316f59
lea rcx, [rsp + 0x48]
call fcn.1401169f3
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140114301
lea rcx, [rsp + 0x40]
call fcn.140316ba0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x140117394
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14026bec0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.14026b890
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14026bf01
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1403fc020]
jmp 0x14026bf07
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1401174b6
Capabilities:
Get geographical location

Disassembly:
jmp 0x1402fb9e0
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.1402fa910
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1402fba47
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 [0x1403fc030]
jmp 0x1402fba69
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1401160a2
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

Function at 0x1401174fc
Capabilities:
Terminate process

Disassembly:
jmp 0x140249770
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
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]
nop
add rsp, 0x28
ret
Function at 0x140117a65
Capabilities:
Print debug messages

Disassembly:
jmp 0x1403218e0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1403ca280]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140321906
jmp 0x140321983
mov rcx, qword [rbp + 0x30]
call fcn.1401167f5
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14032191f
jmp 0x140321983
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14032193c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140114671
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140114f8b
test eax, eax
jne 0x140321983
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140116c2d
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x14011810e
Capabilities:
Set environment variable

Disassembly:
jmp 0x140318ea0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret

Function at 0x1401185d7
Capabilities:
Parse pe header

Disassembly:
jmp 0x14024a700
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14024a720
xor al, al
jmp 0x14024a7a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14024a733
xor al, al
jmp 0x14024a7a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14024a75d
xor al, al
jmp 0x14024a7a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14024a771
xor al, al
jmp 0x14024a7a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14024a783
xor al, al
jmp 0x14024a7a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14024a79f
xor al, al
jmp 0x14024a7a1
mov al, 1
add rsp, 0x38
ret
Function at 0x14011923e
Capabilities:
Terminate process

Disassembly:
jmp 0x14026cf80
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14026cfae
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14011a3b4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14011a472
Capabilities:
Print debug messages

Disassembly:
jmp 0x1402f9030
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