joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140092fa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
xor esi, esi
movsxd r11, r8d
mov r12, rdx
mov rbx, rcx
mov edi, esi
mov r13d, esi
mov r14d, esi
mov r10, r11
lea r15d, [rsi + 2]
cmp r9b, 1
jne 0x140092fe2
lea r8d, [rsi + 1]
jmp 0x140093021
movzx eax, r9b
mov edx, 3
sub edx, eax
mov r8d, r15d
movsxd rax, edx
cmp rax, r11
jge 0x140093009
cmp byte [rax + rcx], sil
jne 0x140093009
add edx, r8d
add rax, r8
cmp rax, r11
jl 0x140092ff8
cmp edx, r11d
movzx eax, r9b
movsxd r10, edx
setl r14b
and eax, 1
add rcx, rax
xor r10, 1
lea r9, [rbx + r10]
cmp rcx, r9
jae 0x140093065
lea rdx, [0x1401bc5d0]
movzx eax, byte [rcx]
test byte [rax + rdx], 1
je 0x140093047
mov eax, r8d
add rcx, rax
cmp rcx, r9
jb 0x140093031
jmp 0x140093065
cmp rcx, r9
jae 0x140093065
movzx eax, byte [rcx]
cmp al, 0x2d
jne 0x14009305b
mov r13d, 1
jmp 0x14009305f
cmp al, 0x2b
jne 0x140093065
mov eax, r8d
add rcx, rax
mov rbp, rcx
cmp rcx, r9
jae 0x140093080
nop dword [rax]
cmp byte [rcx], 0x30
jne 0x140093080
mov eax, r8d
add rcx, rax
cmp rcx, r9
jb 0x140093070
mov r10d, esi
cmp rcx, r9
jae 0x1400930dc
mov esi, r8d
mov rbx, rcx
nop
movsx r11, byte [rbx]
lea eax, [r11 - 0x30]
cmp eax, 9
ja 0x1400930ba
lea rdx, [rdi - 6]
add r10d, r8d
lea rdx, [rdi + rdx*4]
add rbx, rsi
lea rdi, [r11 + rdx*2]
movsxd rdx, r10d
add rdx, rcx
cmp rdx, r9
jb 0x140093090
movabs rdx, 0x7fffffffffffffff
xor esi, esi
cmp rdi, rdx
jbe 0x1400930dc
test r13d, r13d
mov eax, esi
setne al
add rax, rdx
mov qword [r12], rax
jmp 0x1400930e8
test r13d, r13d
je 0x1400930e4
neg rdi
mov qword [r12], rdi
movsxd rdx, r10d
add rdx, rcx
cmp rdx, r9
jb 0x14009316d
test r10d, r10d
jne 0x1400930fd
cmp rbp, rcx
je 0x14009316d
imul eax, r8d, 0x13
cmp r10d, eax
jg 0x14009316d
test r14d, r14d
jne 0x14009316d
cmp r10d, eax
jge 0x140093114
xor eax, eax
jmp 0x140093172
mov eax, esi
lea r10, str.922337203685477580
mov r9d, esi
mov r11d, esi
cmp r9d, 0x12
jge 0x140093148
movsxd rax, r11d
inc r9d
add r11d, r8d
movsx edx, byte [rax + rcx]
movsx eax, byte [r10]
inc r10
sub edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
je 0x140093123
jmp 0x140093159
test eax, eax
jne 0x14009315b
lea eax, [r8 + r8*8]
add eax, eax
movsx eax, byte [rax + rcx]
sub eax, 0x38
test eax, eax
js 0x140093110
test eax, eax
jg 0x14009316d
test r13d, r13d
cmovne r15d, esi
mov eax, r15d
jmp 0x140093172
mov eax, 1
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140098310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140225e48]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx]
mov r13, r9
movsxd r10, edx
mov r12, r8
shl r10, 5
mov r15, rcx
mov r14d, 1
mov rdx, qword [rax + 0x20]
mov rsi, qword [r10 + rdx]
mov r9d, r14d
lea r8, str.sqlite_stat_d
lea rdx, [rsp + 0x38]
mov ecx, 0x18
call fcn.140060930
mov rbp, qword [r15]
lea rdi, [rsp + 0x38]
xor ebx, ebx
cmp dword [rbp + 0x28], ebx
jle 0x140098426
nop dword [rax]
mov r9d, ebx
cmp ebx, 2
jge 0x14009838c
xor r9d, 1
test rsi, rsi
je 0x1400983ea
mov rax, qword [rbp + 0x20]
lea r11, [0x1401bc4d0]
movzx edx, byte [rsi]
mov r8, rsi
movsxd rcx, r9d
shl rcx, 5
mov r10, qword [rcx + rax]
movzx ecx, byte [rdx + r11]
movzx eax, byte [r10]
movzx eax, byte [rax + r11]
sub ecx, eax
jne 0x14009841b
movzx eax, dl
sub r10, rsi
test al, al
je 0x1400983e6
movzx ecx, byte [r10 + r8 + 1]
inc r8
movzx edx, byte [rcx + r11]
movzx eax, byte [r8]
movzx ecx, byte [rax + r11]
sub ecx, edx
je 0x1400983c5
jmp 0x14009841b
test ecx, ecx
jne 0x14009841b
mov rax, qword [rbp + 0x20]
lea r8, [rsp + 0x30]
movsxd rcx, r9d
mov rdx, rdi
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.1400795a0
test rax, rax
je 0x14009841b
cmp qword [rax + 0x10], 0
jne 0x1400984cf
inc ebx
cmp ebx, dword [rbp + 0x28]
jl 0x140098380
movzx edx, byte [rdi]
lea rbx, [0x1401bc4d0]
cmp byte [rdx + rbx], 0x73
jne 0x1400984f0
lea r8, str.sqlite_master
sub r8, rdi
test dl, dl
je 0x140098465
movzx eax, byte [r8 + rdi + 1]
inc rdi
movzx ecx, byte [rax + rbx]
movzx edx, byte [rdi]
movzx eax, byte [rdx + rbx]
cmp eax, ecx
je 0x140098444
jmp 0x1400984f0
mov rax, qword [rbp + 0x20]
mov r9, qword [rax + 0x20]
test rsi, rsi
jne 0x140098479
neg r9
sbb eax, eax
jmp 0x1400984bf
test r9, r9
je 0x1400984f0
movzx eax, byte [r9]
mov rdx, rsi
movzx r8d, byte [rsi]
movzx ecx, byte [rax + rbx]
movzx eax, byte [r8 + rbx]
sub eax, ecx
jne 0x1400984bf
sub r9, rsi
nop dword [rax]
test r8b, r8b
je 0x1400984bf
movzx eax, byte [r9 + rdx + 1]
inc rdx
movzx ecx, byte [rax + rbx]
movzx r8d, byte [rdx]
movzx eax, byte [r8 + rbx]
sub eax, ecx
je 0x1400984a0
test eax, eax
jne 0x1400984f0
lea rdi, str.sqlite_temp_master
jmp 0x140098372
mov qword [rsp + 0x28], r13
lea r9, [rsp + 0x38]
mov r8, rsi
mov qword [rsp + 0x20], r12
lea rdx, str.DELETE_FROM__Q._s_WHERE__s_Q
mov rcx, r15
call fcn.1400aeb60
inc r14d
cmp r14d, 4
jle 0x140098351
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400eb3e0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a2420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x20
mov r9d, r8d
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400a25cd
test rdx, rdx
je 0x1400a25cd
mov eax, dword [rcx + 4]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov esi, dword [rdx + 4]
mov ebp, esi
or ebp, eax
bt ebp, 0xa
jae 0x1400a2480
and esi, eax
bt esi, 0xa
jae 0x1400a24ff
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
jne 0x1400a24ff
xor eax, eax
jmp 0x1400a24c3
movzx r8d, byte [rcx]
cmp r8b, byte [rdx]
je 0x1400a24d8
cmp r8b, 0x35
jne 0x1400a24a5
mov rcx, qword [rcx + 0x10]
mov r8d, r9d
call fcn.1400a2420
cmp eax, 2
jl 0x1400a24be
mov r9d, dword [rsp + 0x40]
cmp byte [rbx], 0x35
jne 0x1400a24ff
mov rdx, qword [rbx + 0x10]
mov r8d, r9d
mov rcx, rdi
call fcn.1400a2420
cmp eax, 2
jge 0x1400a24ff
mov eax, 1
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea eax, [r8 + 0x68]
test al, 0xfd
je 0x1400a253a
mov rax, qword [rcx + 8]
test rax, rax
je 0x1400a253a
cmp r8b, 0x97
jne 0x1400a2506
mov rdx, qword [rdx + 8]
mov rcx, rax
call fcn.1400bd760
test eax, eax
je 0x1400a2535
mov eax, 2
jmp 0x1400a24c3
mov r10, qword [rdx + 8]
sub r10, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r10]
sub edx, ecx
jne 0x1400a2523
inc rax
test ecx, ecx
jne 0x1400a2510
test edx, edx
je 0x1400a253a
xor ecx, ecx
cmp r8b, 0x35
setne cl
lea eax, [rcx + 1]
jmp 0x1400a24c3
mov r9d, dword [rsp + 0x40]
xor esi, dword [rdi + 4]
test sil, 0x10
jne 0x1400a24ff
bt ebp, 0xe
jb 0x1400a25c6
bt ebp, 0xb
jb 0x1400a24ff
mov rdx, qword [rbx + 0x10]
mov r8d, r9d
mov rcx, qword [rdi + 0x10]
call fcn.1400a2420
test eax, eax
jne 0x1400a24ff
mov esi, dword [rsp + 0x40]
mov r8d, esi
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rdi + 0x18]
call fcn.1400a2420
test eax, eax
jne 0x1400a24ff
mov rdx, qword [rbx + 0x20]
mov r8d, esi
mov rcx, qword [rdi + 0x20]
call fcn.1400a36f0
test eax, eax
jne 0x1400a24ff
bt ebp, 0xd
jb 0x1400a25c6
cmp byte [rdi], 0x61
je 0x1400a25c6
movzx eax, word [rbx + 0x30]
cmp word [rdi + 0x30], ax
jne 0x1400a24ff
mov ecx, dword [rdi + 0x2c]
mov eax, dword [rbx + 0x2c]
cmp ecx, eax
je 0x1400a25c6
cmp ecx, esi
jne 0x1400a24ff
test eax, eax
jns 0x1400a24ff
xor eax, eax
jmp 0x1400a24c3
xor ecx, ecx
mov eax, 2
cmp rbx, rdi
mov rbx, qword [rsp + 0x48]
cmove eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400a4cb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
xor r11d, r11d
xor ebx, ebx
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x1400a4d98
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], r15
lea r15, [0x1401bc4d0]
mov eax, ebx
cmp ebx, 2
jge 0x1400a4cef
xor eax, 1
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rsi, rsi
je 0x1400a4d4e
mov r10, qword [rcx + rax]
mov r8, rsi
movzx edx, byte [rsi]
movzx eax, byte [r10]
movzx r9d, byte [rdx + r15]
movzx ecx, byte [rax + r15]
sub r9d, ecx
jne 0x1400a4d72
movzx eax, dl
sub r10, rsi
test al, al
je 0x1400a4d49
movzx eax, byte [r8 + 1]
inc r8
movzx ecx, byte [r10 + r8]
movzx r9d, byte [rax + r15]
movzx edx, byte [rcx + r15]
sub r9d, edx
je 0x1400a4d27
jmp 0x1400a4d72
test r9d, r9d
jne 0x1400a4d72
lea rcx, [rbp + 0x20]
mov rdx, r14
lea r8, [rsp + 0x40]
call fcn.1400795a0
test rax, rax
je 0x1400a4d6f
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x1400a4d7d
jmp 0x1400a4d72
xor r11d, r11d
inc ebx
cmp ebx, dword [rdi + 0x28]
jl 0x1400a4ce5
mov rbp, qword [rsp + 0x48]
mov rax, r11
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, r11
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400a4db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, r8
lea r14, [0x1401bc4d0]
mov rdi, rdx
mov rbp, rcx
xor ebx, ebx
cmp dword [rbp + 0x28], ebx
jle 0x1400a4e7f
nop dword [rax]
mov r9d, ebx
cmp ebx, 2
jge 0x1400a4dec
xor r9d, 1
test rsi, rsi
je 0x1400a4e45
mov rax, qword [rbp + 0x20]
mov r8, rsi
movzx edx, byte [rsi]
movsxd rcx, r9d
shl rcx, 5
mov r10, qword [rcx + rax]
movzx ecx, byte [rdx + r14]
movzx eax, byte [r10]
movzx eax, byte [rax + r14]
sub ecx, eax
jne 0x1400a4e74
movzx eax, dl
sub r10, rsi
nop
test al, al
je 0x1400a4e41
movzx ecx, byte [r10 + r8 + 1]
inc r8
movzx edx, byte [rcx + r14]
movzx eax, byte [r8]
movzx ecx, byte [rax + r14]
sub ecx, edx
je 0x1400a4e20
jmp 0x1400a4e74
test ecx, ecx
jne 0x1400a4e74
mov rax, qword [rbp + 0x20]
lea r8, [rsp + 0x40]
movsxd rcx, r9d
mov rdx, rdi
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.1400795a0
test rax, rax
je 0x1400a4e74
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400a4eb3
inc ebx
cmp ebx, dword [rbp + 0x28]
jl 0x1400a4de0
movzx edx, byte [rdi]
cmp byte [rdx + r14], 0x73
jne 0x1400a4eb1
lea r8, str.sqlite_master
sub r8, rdi
test dl, dl
je 0x1400a4ec6
movzx eax, byte [r8 + rdi + 1]
inc rdi
movzx ecx, byte [rax + r14]
movzx edx, byte [rdi]
movzx eax, byte [rdx + r14]
cmp eax, ecx
je 0x1400a4e93
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rbp + 0x20]
mov r9, qword [rax + 0x20]
test rsi, rsi
jne 0x1400a4eda
neg r9
sbb eax, eax
jmp 0x1400a4f20
test r9, r9
je 0x1400a4eb1
movzx eax, byte [r9]
mov rdx, rsi
movzx r8d, byte [rsi]
movzx ecx, byte [rax + r14]
movzx eax, byte [r8 + r14]
sub eax, ecx
jne 0x1400a4f20
sub r9, rsi
nop dword [rax + rax]
test r8b, r8b
je 0x1400a4f20
movzx eax, byte [r9 + rdx + 1]
inc rdx
movzx ecx, byte [rax + r14]
movzx r8d, byte [rdx]
movzx eax, byte [r8 + r14]
sub eax, ecx
je 0x1400a4f00
test eax, eax
jne 0x1400a4eb1
lea rdi, str.sqlite_temp_master
jmp 0x1400a4dd2
Function at 0x1400cdb70
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rcx + 0x38]
xor ebx, ebx
mov r14, qword [rcx + 0x40]
mov r15, r9
mov ebp, r8d
mov r13, rdx
mov rdi, qword [rsi + 0x30]
test rdi, rdi
jne 0x1400cdc08
movzx eax, word [r14 + 6]
imul ecx, eax, 0x38
mov rax, qword [r14 + 0x10]
add ecx, 0x50
test rax, rax
je 0x1400cdbca
mov edx, ecx
mov rcx, rax
call fcn.14009c080
jmp 0x1400cdbcf
call fcn.1400ae3a0
mov rdi, rax
test rax, rax
jne 0x1400cdbdc
mov rdi, rbx
jmp 0x1400cdbf3
lea rax, [rdi + 0x18]
mov qword [rdi], r14
mov qword [rdi + 8], rax
movzx eax, word [r14 + 6]
inc ax
mov word [rdi + 0x10], ax
mov qword [rsi + 0x30], rdi
test rdi, rdi
jne 0x1400cdc04
lea eax, [rdi + 7]
jmp 0x1400cdc8a
mov word [rdi + 0x10], bp
cmp byte [rsi + 0x58], bl
je 0x1400cdc42
cmp byte [rsi + 0x59], bl
je 0x1400cdc20
mov rax, qword [rsi + 0x10]
mov r8, qword [rax + 0x28]
add rax, 0x14
jmp 0x1400cdc4a
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rcx + rcx*4]
shl rax, 4
add rax, qword [rdx + 0x18]
mov r8, qword [rax + 0x28]
add rax, 0x14
jmp 0x1400cdc4a
mov rax, qword [rsi + 0x38]
lea r8, [rax + 0x10]
mov edx, dword [rax]
mov r9, rdi
mov rcx, r14
call fcn.1400cd330
test ebp, ebp
jle 0x1400cdc72
mov rax, qword [rdi + 8]
add rax, 8
test byte [rax], 1
jne 0x1400cdca9
inc ebx
add rax, 0x38
cmp ebx, ebp
jl 0x1400cdc63
mov rdx, qword [r13 + 0x10]
xor r9d, r9d
mov ecx, dword [r13 + 0xc]
mov r8, rdi
call fcn.1400ccbb0
mov dword [r15], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
mov dword [r15], 0xffffffff
jmp 0x1400cdc88
Function at 0x1400d9ae0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x20], 0
mov rbx, rcx
je 0x1400d9b3d
mov rcx, qword [rcx]
call fcn.1400dbc70
mov ecx, eax
test eax, eax
jne 0x1400d9b5b
movups xmm1, xmmword [rbx + 0x28]
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbx + 0x38], xmm1
movups xmmword [rbx + 0x28], xmm0
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x30], rax
jne 0x1400d9b26
mov eax, ecx
mov dword [rbx + 0x1c], 1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx]
lea rdx, [0x1400d9ac0]
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400bda90
call fcn.1400d97a0
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbx + 0x28], xmm0
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x30], rcx
jne 0x1400d9b5b
mov dword [rbx + 0x1c], 1
add rsp, 0x20
pop rbx
ret
Function at 0x140115414
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x1401cd720]
xor ecx, ecx
lea r8, [0x1401cd718]
lea rdx, str.FlsAlloc
call fcn.140114f90
mov rbx, rax
test rax, rax
je 0x140115454
mov rcx, rax
call fcn.1400ebdd4
mov rcx, rdi
call rbx
jmp 0x14011545a
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401154bc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1401cd730]
mov ecx, 2
lea r8, [0x1401cd728]
lea rdx, str.FlsGetValue
call fcn.140114f90
mov rdi, rax
test rax, rax
je 0x1401154fd
mov rcx, rax
call fcn.1400ebdd4
mov ecx, ebx
call rdi
jmp 0x140115505
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140115510
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401cd738]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1401cd730]
call fcn.140114f90
mov rsi, rax
test rax, rax
je 0x14011555c
mov rcx, rax
call fcn.1400ebdd4
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x140115567
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1401440c4
Capabilities:
Parse pe header

Disassembly:
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 0x140143eab
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140143eab
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140143eab
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140143eab
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140143eab
cmp dword [rcx + 0x84], 0xe
jbe 0x140143eab
cmp dword [rcx + 0xf8], 0
je 0x140143eab
mov ecx, ebx
call fcn.140143fdc
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.140143c24
cmp dword [rbp + 0x20], 0
je 0x140143ef8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140143f00
int3
xor r8d, r8d
xor edx, edx
jmp 0x140143e44
Function at 0x14017c134
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
test eax, eax
je 0x14017c147
add rsp, 0x48
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14017d254
lea rdx, [0x14021ed70]
lea rcx, [rsp + 0x20]
call fcn.140113dc4
int3

Function at 0x14018cb38
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14022ecfc]
xor edx, edx
jmp fcn.14017c134

Function at 0x14018e648
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14022ecfc]
jmp fcn.14017c134
Function at 0x140011361
Capabilities:
Terminate process

Disassembly:
jmp 0x14001c320
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]
add rsp, 0x28
ret
Function at 0x140011429
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001d670
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001d690
xor al, al
jmp 0x14001d711
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001d6a3
xor al, al
jmp 0x14001d711
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 0x14001d6cd
xor al, al
jmp 0x14001d711
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001d6e1
xor al, al
jmp 0x14001d711
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001d6f3
xor al, al
jmp 0x14001d711
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001d70f
xor al, al
jmp 0x14001d711
mov al, 1
add rsp, 0x38
ret
Function at 0x1400016c0
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Create thread

Disassembly:
sub rsp, 0x38
call fcn.140001550
lea r9, [0x140011550]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x1400016f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400017bc
mov qword [rsp + 0x50], rbx
lea r8, section..text
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x48]
cmp rax, 0x186a0
jle 0x14000176a
call fcn.140001550
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x38
ret
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 0x1d4c0
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub edi, eax
cmp edi, 0x1d4c0
mov rdi, qword [rsp + 0x30]
jae 0x1400017b2
call fcn.140001550
call fcn.1400011d0
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140001f38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f82
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f82
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f82
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f82
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f84
xor al, al
add rsp, 0x28
ret

Function at 0x1400066bc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400064b8
Function at 0x14000977c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400097ac
xor eax, eax
jmp 0x14000986f
mov rbp, rbx
cmp word [rax], si
je 0x1400097d1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400097b8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400097b4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000969c
movsxd r14, eax
test eax, eax
jne 0x14000980f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400097a5
mov rcx, r14
call fcn.14000a658
mov rdi, rax
test rax, rax
jne 0x140009828
xor ecx, ecx
call fcn.140007cfc
jmp 0x140009804
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000969c
test eax, eax
jne 0x140009859
mov rcx, rdi
call fcn.140007cfc
jmp 0x140009863
xor ecx, ecx
call fcn.140007cfc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret