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

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140017750
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018ac8
test byte [rbx + 0x40], 0xc
jne 0x140018a7f
mov eax, dword [0x1400e0d28]
test eax, eax
jne 0x140018a90
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140016960
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140018ab3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140018ab3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140018adc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140016c50
call fcn.140017800
test rax, rax
mov rbx, rax
jne 0x140018a6f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x140018afa
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140016c50
call fcn.140018970
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140018b80
call fcn.140016720
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140018bb8
call fcn.140017750
mov ecx, dword [0x1400b2158]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018c10
test esi, esi
je 0x140018b96
call fcn.140018a50
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018bf0
mov edx, edi
call fcn.1400167d0
call fcn.140018a50
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017750
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018c00
call fcn.140018a50
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a50
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017750
mov ecx, dword [0x1400b2158]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x140018b55
call fcn.140017800
mov rbx, rax
jmp 0x140018b55
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018b6e
call fcn.140017800
jmp 0x140018b96
call fcn.140017800
mov rbx, rax
jmp 0x140018b51

Function at 0x140018c20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140017750
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018c90
test esi, esi
je 0x140018c70
call fcn.140018a50
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018ca0
mov edx, esi
call fcn.1400167d0
call fcn.140018a50
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140018a50
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a50
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140017800
mov rbx, rax
jmp 0x140018c41
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018c5a
Function at 0x1400772e0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x140077307
call rbp
cmp dword [rax], 4
jne 0x140077324
mov rcx, rdi
call fcn.140077110
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
cmp eax, 0xffffffff
movsxd r12, eax
je 0x140077300
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140001118
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400da138
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401528f0]
mov edi, ecx
lea rdx, [0x1401528f8]
mov ecx, 7
lea r8, [0x1401528e8]
call fcn.1400d98ac
mov rsi, rax
test rax, rax
je 0x1400da184
mov rcx, rax
call fcn.1400025b3
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1400da18f
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140001145
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401206d8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1401207aa
mov rsi, rax
cmp word [rax], r14w
je 0x14012072b
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x140120713
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x14012070f
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.1400010f5
movsxd rbp, eax
test eax, eax
je 0x1401207aa
mov rcx, rbp
call fcn.140001d34
mov rdi, rax
test rax, rax
je 0x14012079d
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1400010f5
test eax, eax
je 0x14012079d
mov rsi, rdi
mov rdi, r14
jmp 0x1401207a0
mov rsi, r14
mov rcx, rdi
call fcn.140003f7b
jmp 0x1401207ad
mov rsi, r14
test rbx, rbx
je 0x1401207bb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140001343
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400da0cc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1401528d0]
mov ecx, 6
lea r8, [0x1401528c8]
lea rdx, [0x1401528d8]
call fcn.1400d98ac
mov rdi, rax
test rax, rax
je 0x1400da10d
mov rcx, rax
call fcn.1400025b3
mov ecx, ebx
call rdi
jmp 0x1400da115
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400017d0
Capabilities:
Clear file content

Disassembly:
jmp 0x14004bd60
push rbx
push rbp
sub rsp, 0x38
mov rbp, rcx
mov rax, qword [rbp + 0x80]
mov rbx, qword [rbp + 0x78]
test rax, rax
je 0x14004bd7e
sub rbx, rax
jmp 0x14004bd85
mov rax, qword [rbp + 0x70]
sub rbx, rax
lea rax, [rbx + 4]
cmp rax, qword [rbp + 0x1a8]
ja 0x14004c2b7
movzx eax, word [rbp + 0x264]
test eax, eax
jg 0x14004c01b
movsx edx, byte [rbp + 0x266]
cmp edx, 8
ja 0x14004bfa0
lea r10, [0x140000000]
movzx eax, word [r10 + rdx*2 + 0x14c9b4]
lea rax, [r10 + rax + 0x4bdcf]
jmp rax
mov ecx, 8
mov edx, 2
lea r8, str.for_put.c
mov r9d, 0x31d
call fcn.1400035df
mov rdx, qword [rbp + 0x80]
test rdx, rdx
je 0x14004c28f
mov rcx, rbp
mov r8, rbx
call fcn.140002469
and byte [rbp + 0x27c], 0xbf
cmp eax, 0xffffffff
je 0x14004c277
test byte [rbp + 0x27d], 8
je 0x14004c03f
mov rcx, qword [rbp + 0x198]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14004c261
and byte [rbp + 0x27d], 0xf7
test ebx, ebx
je 0x14004c03f
mov eax, ebx
add rsp, 0x38
pop rbp
pop rbx
ret
mov rdx, qword [rbp + 0x80]
test rdx, rdx
je 0x14004c2a3
mov rcx, rbp
mov r8, rbx
call fcn.140002469
cmp eax, 0xffffffff
je 0x14004c277
xor eax, eax
add rsp, 0x38
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1a0], eax
mov ebx, 0x26
jmp 0x14004c007
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1a0], eax
mov eax, 0x26
add rsp, 0x38
pop rbp
pop rbx
ret
mov rcx, rbp
mov r8, rbx
mov rdx, qword [rbp + 0x70]
call fcn.140002469
jmp 0x14004bfd7
mov rcx, rbp
mov r8, rbx
mov rdx, qword [rbp + 0x70]
call fcn.140002469
jmp 0x14004c036
mov rcx, rbp
mov edx, 0x200
call fcn.14000155a
test eax, eax
je 0x14004bd96
mov rcx, rbp
mov edx, 4
call fcn.14000155a
test eax, eax
je 0x14004bd96
cmp rbx, qword [rbp + 0x1a8]
ja 0x14004c2f7
cmp byte [rbp + 0x266], 1
je 0x14004bd96
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x14004c36a
test byte [rax + 0x74], 2
je 0x14004c33a
mov edx, 0x42
mov dword [rax + 0x68], edx
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x6c], edx
mov rax, qword [rbp + 0xd0]
test rax, rax
je 0x14004c32e
xor edx, edx
mov qword [rax + 8], rdx
mov qword [rbp + 0xd0], rdx
mov eax, 0x42
add rsp, 0x38
pop rbp
pop rbx
ret
mov rax, rsp
mov rcx, rbp
movzx r8d, byte [rbp + 0x27c]
mov edx, 0xffffffff
and r8d, 7
mov r9d, 0x42
mov dword [rax + 0x20], 0x42
call fcn.140001447
add rsp, 0x38
pop rbp
pop rbx
ret
mov edx, 0x42
mov ecx, 1
mov r8d, edx
mov r9, rbp
call fcn.1400026fd
add rsp, 0x38
pop rbp
pop rbx
ret
Function at 0x140001915
Capabilities:
Query environment variable

Disassembly:
jmp 0x14012081c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x1401208a3
mov rbp, rax
cmp word [rax], si
je 0x140120865
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14012084c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140120848
sub rbp, rbx
add rbp, 2
sar rbp, 1
add rbp, rbp
mov rcx, rbp
call fcn.140001d34
mov rdi, rax
test rax, rax
je 0x140120893
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.140002cde
mov rsi, rdi
xor ecx, ecx
call fcn.140003f7b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140001924
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400d6f7c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400d700a
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400d700a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d700a
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400d6ff1
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400d6feb
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400d6ff3
add rdx, 0x28
jmp 0x1400d6fd0
xor edx, edx
test rdx, rdx
jne 0x1400d6ffc
xor al, al
jmp 0x1400d7010
cmp dword [rdx + 0x24], 0
jge 0x1400d7006
xor al, al
jmp 0x1400d7010
mov al, 1
jmp 0x1400d7010
xor al, al
jmp 0x1400d7010
add rsp, 0x18
ret

Function at 0x140001a19
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401348a0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1401348e1
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1401348d5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1401348e3
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1401348c3
xor eax, eax
ret
Function at 0x140001b0e
Capabilities:
Get geographical location

Disassembly:
jmp 0x140116138
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x140154c10]
mov rbp, rcx
lea r8, [0x140154c08]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.140115544
mov rcx, rbp
test rax, rax
je 0x14011618e
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x1401a0010]
jmp 0x1401161a5
xor edx, edx
call fcn.1400026ad
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140001c26
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140129b6c
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14016fb98]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r10d, r10d
lea r11, [0x140191980]
test r9, r9
lea rdi, [0x140156713]
mov rax, rdx
mov r15, rdx
cmovne r11, r9
test rdx, rdx
lea ebp, [r10 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x140129bd5
mov rax, 0xfffffffffffffffe
jmp 0x140129d2a
cmp word [r11 + 6], r10w
jne 0x140129c49
mov r9b, byte [rdi]
inc rdi
test r9b, r9b
js 0x140129c01
test rsi, rsi
je 0x140129bf2
movzx ecx, r9b
mov dword [rsi], ecx
test r9b, r9b
setne r10b
mov rax, r10
jmp 0x140129d2a
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140129c0f
mov r8b, 2
jmp 0x140129c2d
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x140129c1d
mov r8b, 3
jmp 0x140129c2d
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x140129d18
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
movzx eax, r9b
and edx, eax
jmp 0x140129c72
mov r8b, byte [r11 + 4]
mov edx, dword [r11]
mov bl, byte [r11 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140129d18
cmp bl, bpl
jb 0x140129d18
cmp bl, r8b
jae 0x140129d18
movzx ebp, bl
cmp rbp, r14
mov r9d, ebp
cmovae r9, r14
jmp 0x140129ca1
mov cl, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140129d18
mov eax, edx
movzx ecx, cl
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r9
jb 0x140129c81
cmp r9, rbp
jae 0x140129ccd
movzx eax, r8b
sub bl, r9b
mov word [r11 + 4], ax
movzx eax, bl
mov word [r11 + 6], ax
mov dword [r11], edx
jmp 0x140129bc9
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140129d18
cmp edx, 0x110000
jae 0x140129d18
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x140129d18
test rsi, rsi
je 0x140129d0b
mov dword [rsi], edx
neg edx
mov qword [r11], r10
sbb rax, rax
and rax, rbp
jmp 0x140129d2a
mov qword [r11], r10
call fcn.140002928
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140003bcf
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001dbb
Capabilities:
Query environment variable

Disassembly:
jmp 0x140048700
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov r14d, r9d
mov r13d, r8d
mov r15d, edx
mov r12, rcx
mov eax, 0x190
pxor xmm0, xmm0
movups xmmword [rsp + rax + 0x10], xmm0
movups xmmword [rsp + rax], xmm0
movups xmmword [rsp + rax - 0x10], xmm0
movups xmmword [rsp + rax - 0x20], xmm0
movups xmmword [rsp + rax - 0x30], xmm0
sub rax, 0x50
jne 0x140048727
lea rcx, str.FOR_TYPE
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
lea rcx, str.FOR_PRINT
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
lea rcx, str.FOR_ACCEPT
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
lea rcx, str.FOR_READ
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov r9d, eax
mov r10b, byte [r12 + 0x279]
mov al, r10b
and al, 0x18
shr al, 3
je 0x140048903
cmp al, 2
je 0x140048ab7
mov ecx, dword [r12 + 0x1d0]
add ecx, 4
cmp ecx, 0xa
ja 0x1400487f5
lea r8, [0x140000000]
movzx eax, word [r8 + rcx*2 + 0x14c07c]
lea rax, [r8 + rax + 0x487de]
jmp rax
mov ecx, 8
mov edx, 2
lea r8, str.for_open.c
mov r9d, 0x4ba
call fcn.1400035df
jmp 0x140048903
test byte [r12 + 0x27c], 0x10
jne 0x140048936
jmp 0x140048971
mov rax, qword [r12 + 0x1c8]
mov rcx, qword [r12 + 0x180]
mov rbx, qword [r12 + 0xb0]
movsx rsi, byte [r12 + 0x269]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rsi
movsxd r14, r14d
movsxd r15, r15d
movsxd r13, r13d
mov qword [rsp + 0x20], r15
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x120], 1
cmp r14d, 1
je 0x1400489c8
jmp 0x140048a97
mov al, byte [r12 + 0x26b]
test al, al
je 0x1400489f8
cmp al, 0x27
jne 0x1400489e6
mov qword [rsp + 0x100], 1
jmp 0x140048a04
cmp al, 0x22
jne 0x140048a04
mov qword [rsp + 0x100], 3
jmp 0x140048a04
mov qword [rsp + 0x100], 2
test byte [r12 + 0x27b], 0x20
je 0x140048a1a
mov qword [rsp + 0x38], 2
jmp 0x140048a23
mov qword [rsp + 0x38], 0
test byte [r12 + 0x27e], 2
jne 0x140048a39
test byte [r12 + 0x278], 2
je 0x140048a47
mov qword [rsp + 0x108], 2
jmp 0x140048a53
mov qword [rsp + 0x108], 1
movzx eax, byte [r12 + 0x271]
movzx ecx, byte [r12 + 0x273]
movzx ebx, byte [r12 + 0x275]
movzx esi, byte [r12 + 0x277]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rcx
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x198], rsi
mov rdx, r12
lea rcx, [rsp + 0x20]
call fcn.1400026d5
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
cmp r15d, 0xffffffff
jne 0x140048903
xor eax, eax
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140001f7d
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x140014e50
push r14
push r15
push rbp
sub rsp, 0x30
mov r15, rcx
mov qword [rsp + 0x28], 0
mov r14d, 1
xor ebp, ebp
lea rdx, [0x1401719d0]
mov eax, 1
xchg dword [rdx], eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x140014eb5
mov eax, 0x66666667
imul r14d
sar edx, 2
lea r8d, [rdx + rdx*4]
add r8d, r8d
cmp r8d, r14d
jne 0x140014eb5
mov eax, 1
cmp r14d, 0x2710
cmovg ebp, eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x140014ec9
inc r14d
cmp r14d, 0x7ffffff
jl 0x140014e6d
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x140014ee3
mov dword [rsp + 0x20], 0x98
lea rcx, [rsp + 0x20]
call fcn.140001974
mov eax, dword [0x1401719d4]
test eax, eax
jne 0x140014f16
cmp dword [0x14016d170], 1
je 0x140015010
call fcn.1400150c0
mov dword [0x1401719d4], 1
cmp dword [0x14016d170], 1
je 0x140014ff1
mov ecx, dword [0x1401719cc]
mov dword [0x1401719d0], 0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140014f40
mov qword [r15], rax
xor eax, eax
add rsp, 0x30
pop rbp
pop r15
pop r14
ret
mov ecx, 0x88
xor edx, edx
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x28]
call fcn.140003fc1
test eax, eax
je 0x140014f6b
mov qword [r15], 0
add rsp, 0x30
pop rbp
pop r15
pop r14
ret
mov r9, qword [rsp + 0x28]
mov r8d, 0x80
mov rax, qword [0x14016d120]
mov qword [r9 + 0x80], rax
lea rax, [0x140000000]
mov rdx, rax
mov rcx, rax
mov rbp, rax
movups xmm0, xmmword [rax + r8 + 0x16d090]
movups xmmword [r9 + r8 - 0x10], xmm0
movups xmm1, xmmword [rdx + r8 + 0x16d080]
movups xmmword [r9 + r8 - 0x20], xmm1
movups xmm2, xmmword [rcx + r8 + 0x16d070]
movups xmmword [r9 + r8 - 0x30], xmm2
movups xmm3, xmmword [rbp + r8 + 0x16d060]
movups xmmword [r9 + r8 - 0x40], xmm3
sub r8, 0x40
jne 0x140014f84
mov rdx, qword [rsp + 0x28]
mov ecx, dword [0x1401719cc]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, qword [rsp + 0x28]
jmp 0x140014f31
mov ecx, 2
mov rdx, rbp
call fcn.1400028ba
mov ecx, 0x16
mov rdx, r14
call fcn.1400028ba
jmp 0x140014f16
mov ecx, 2
mov edx, 1
call fcn.1400028ba
mov rbp, rax
mov ecx, 0x16
mov edx, 1
call fcn.1400028ba
mov r14, rax
jmp 0x140014efa
Function at 0x14000238d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140134960
mov rax, rcx
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x140134970
xor eax, eax
ret
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
xor eax, eax
cmp dword [rcx], 0x4550
jne 0x14013498d
mov edx, 0x20b
cmp word [rcx + 0x18], dx
sete al
ret
Function at 0x1400024af
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400e48ec
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400e4643
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e4643
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e4643
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e4643
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e4643
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e4643
cmp dword [rcx + 0xf8], 0
je 0x1400e4643
mov ecx, ebx
call fcn.1400e47d4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400e434c
cmp dword [rbp + 0x20], 0
je 0x1400e4690
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400e46c8
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400e45dc
Function at 0x1400027a2
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400d74e8
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
test rax, rax
jne 0x1400d7500
xor al, al
jmp 0x1400d7537
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400d74fc
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400d74fc
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x1400d74fc
cmp dword [rax + 0x84], 0xe
jbe 0x1400d74fc
cmp dword [rax + 0xf8], 0
setne al
add rsp, 0x28
ret
Function at 0x140002946
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400e4878
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400e45dc
Function at 0x140002a2c
Capabilities:
Terminate process

Disassembly:
jmp 0x140113b44
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140113b5e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400018b6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140002a3b
Capabilities:
Query environment variable

Disassembly:
jmp 0x140038050
push r12
sub rsp, 0x140
xor r12d, r12d
mov rax, qword [0x14016fb98]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rcx, rcx
je 0x14003816c
mov r8d, 0x105
lea rdx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, eax
test rax, rax
jbe 0x1400380a5
cmp rax, 0x105
jae 0x14003809c
inc rax
jmp 0x1400380aa
mov byte [rsp + 0x2c], 0
xor ecx, ecx
jmp 0x1400380b4
mov byte [rsp + 0x2c], 0
test rax, rax
je 0x1400380f7
movsx ecx, byte [rsp + 0x2c]
test ecx, ecx
je 0x1400380f7
call fcn.140001d6b
movsx rdx, al
cmp edx, 0x74
je 0x140038158
cmp edx, 0x79
je 0x140038158
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x2c]
mov rbx, rax
jmp 0x1400380e5
inc rbx
movsx ecx, byte [rbx]
test ecx, ecx
je 0x14003811f
call fcn.1400037f6
test eax, eax
je 0x140038118
jmp 0x1400380e2
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
cmp rcx, qword [0x14016fb98]
jne 0x140038167
mov eax, r12d
add rsp, 0x140
pop r12
ret
mov rbx, qword [rsp + 0x20]
jmp 0x1400380f7
mov rbx, qword [rsp + 0x20]
mov dword [rsp + 0x28], 0
cmp qword [0x14016fbe0], 0
je 0x140038160
mov r9, qword [0x14016fce0]
lea rdx, [0x14014a838]
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x28]
call r9
cmp dword [rsp + 0x28], 0
je 0x1400380f7
mov r12d, 1
jmp 0x1400380f7
call fcn.140002eb4
jmp 0x140038136
call fcn.140003bcf
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
cmp rcx, qword [0x14016fb98]
jne 0x140038167
xor eax, eax
add rsp, 0x140
pop r12
ret