joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013430
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword [0x1400ea7f0]
mov edi, ecx
mov esi, ecx
shr edi, 0x18
mov ebp, ecx
shr esi, 0x10
shr ebp, 8
mov r14, qword [rax + 0x1d18]
mov ebx, ecx
cmp dword [r14 + 0x108], 0
jg 0x140013484
mov r8d, 0x6d1
lea rdx, str.C:UserskajusOneDriveDesktopImGui_Loader_Base_masterimguiimgui.h
lea rcx, str.Size___0
call fcn.140081a70
movsxd rcx, dword [r14 + 0x108]
lea r9, [0x1400d2da0]
mov rax, qword [r14 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx eax, bl
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, bpl
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, sil
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor rcx, rax
mov eax, edi
xor r8d, dword [r9 + rcx*4]
lea rcx, [r14 + 0x108]
movzx edx, r8b
xor rdx, rax
shr r8d, 8
xor r8d, dword [r9 + rdx*4]
lea rdx, [rsp + 0x40]
not r8d
mov dword [rsp + 0x40], r8d
call fcn.14002a370
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140014ca0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400ea7f0]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140014d00
cmp byte [rbx + 0x20d6], 0
jne 0x140014d00
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400036f0
test dil, 1
je 0x140014e27
jmp 0x140014d91
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400da1cc]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x1400da1c0]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x1400da11c]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
mov r9d, dword [rbx + 0x3178]
call fcn.1400036f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014de1
lea r11, [0x1400d2da0]
cmp r9b, 0x23
jne 0x140014dc4
cmp byte [r8], r9b
jne 0x140014dc4
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140014db1
not ecx
call fcn.14000c2c0
test rax, rax
je 0x140014e27
cmp byte [rax + 0xcf], 0
je 0x140014e27
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.1400036f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000eec0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140051ec0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001aac0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400ea7f0]
cmp byte [rbx + 0x31f8], 0
jne 0x14001ac29
cmp dword [rbx + 0x3220], 0
je 0x14001ab0a
mov r8d, 0x2b0c
lea rdx, str.C:UserskajusOneDriveDesktopImGui_Loader_Base_masterimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call fcn.140081a70
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001ac22
lea rdx, [0x1400d0c48]
call fcn.140003820
mov rdi, rax
test rax, rax
je 0x14001ac22
mov rcx, rax
call fcn.14005fbe0
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001ac1a
xor edx, edx
mov r8d, 2
mov rcx, rdi
call fcn.1400617d0
test eax, eax
jne 0x14001ac1a
mov rcx, rdi
call fcn.14005fbe0
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001ac1a
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call fcn.1400617d0
test eax, eax
jne 0x14001ac1a
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x14001ac1a
mov rax, qword [0x1400ea7f0]
test rax, rax
je 0x14001aba2
inc dword [rax + 0x3b0]
mov rcx, rbp
call fcn.140081b60
mov rsi, rax
test rax, rax
je 0x14001ac1a
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.140077380
mov rcx, rdi
cmp rax, rbp
je 0x14001abee
call fcn.140061030
mov rax, qword [0x1400ea7f0]
test rax, rax
je 0x14001abe4
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.1400769a0
jmp 0x14001ac22
call fcn.140061030
mov rdx, rbp
mov rcx, rsi
call fcn.14001af30
mov rax, qword [0x1400ea7f0]
test rax, rax
je 0x14001ac10
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.1400769a0
jmp 0x14001ac22
mov rcx, rdi
call fcn.140061030
mov byte [rbx + 0x31f8], 1
movss xmm0, dword [rbx + 0x31fc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001acb8
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x31fc], xmm0
jb 0x14001acb8
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x14001acab
mov rax, qword [0x1400ea7f0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x31fc], ebp
call fcn.14001b410
lea rdx, [0x1400d0c4c]
mov rcx, rdi
mov rsi, rax
call fcn.140003820
mov rdi, rax
test rax, rax
je 0x14001acb2
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call fcn.140062f90
mov rcx, rdi
call fcn.140061030
jmp 0x14001acb2
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x31fc], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001aeb0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rbx]
lea r8, [rbx + 1]
test r9b, r9b
je 0x14001af06
lea r11, [0x1400d2da0]
cmp r9b, 0x23
jne 0x14001aee9
cmp byte [r8], r9b
jne 0x14001aee9
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001aed6
not ecx
call fcn.14001adc0
test rax, rax
jne 0x14001af1f
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14001acd0
add rsp, 0x20
pop rbx
ret
Function at 0x14001f6d0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001f90e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400d2da0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001f8d6
mov rcx, rbp
call fcn.14001e9b0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001f7a1
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001f791
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001f789
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001f78c
mov rdx, rcx
test rdx, rdx
jne 0x14001f760
cmp r8, r10
je 0x14001f7a1
cmp dword [r8], r9d
jne 0x14001f7a1
mov rcx, qword [r8 + 8]
jmp 0x14001f7a3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001f837
cmp qword [rcx + 0x18], 0
jne 0x14001f82c
mov qword [rcx + 0x18], rbx
jmp 0x14001f837
cmp qword [rcx + 0x20], 0
jne 0x14001f837
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001f86c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001f860
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.1400036f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001f8c8
cmp r9b, 0x23
jne 0x14001f8ab
cmp byte [r8], r9b
jne 0x14001f8ab
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001f898
not ecx
call fcn.14000c2c0
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001f720
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140051ec0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140052c60
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140052420
movzx eax, al
test eax, eax
jne 0x140052c80
mov ecx, 7
call fcn.1400534a0
nop
mov byte [rsp + 0x20], 0
call fcn.1400523b0
mov byte [rsp + 0x21], al
cmp dword [0x1400e8f60], 1
jne 0x140052ca4
mov ecx, 7
call fcn.1400534a0
nop
jmp 0x140052cfc
cmp dword [0x1400e8f60], 0
jne 0x140052cf7
mov dword [0x1400e8f60], 1
lea rdx, [0x1400b6580]
lea rcx, [0x1400b6548]
call fcn.140084a20
test eax, eax
je 0x140052cd8
mov eax, 0xff
jmp 0x140052e01
lea rdx, [0x1400b6540]
lea rcx, [0x1400b6528]
call fcn.1400849b0
mov dword [0x1400e8f60], 2
jmp 0x140052cfc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140052610
call fcn.140053a60
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140052d59
mov rcx, qword [rsp + 0x30]
call fcn.140052580
movzx eax, al
test eax, eax
je 0x140052d59
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 [str.__v_]
nop
call fcn.140053a70
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140052d8d
mov rcx, qword [rsp + 0x38]
call fcn.140052580
movzx eax, al
test eax, eax
je 0x140052d8d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140082560
nop
call fcn.140052e10
mov dword [rsp + 0x28], eax
call fcn.1400536c0
movzx eax, al
test eax, eax
jne 0x140052dac
mov ecx, dword [rsp + 0x28]
call fcn.1400825b0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140052dbb
call fcn.140082520
nop
xor edx, edx
mov cl, 1
call fcn.140052640
mov eax, dword [rsp + 0x28]
jmp 0x140052e01
add rsp, 0x68
ret

Function at 0x14005c850
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14005c330
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14005c88f
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 [str.__v_]
jmp 0x14005c899
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14008ca20
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 0x140093740
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400ae270
sub rsp, rax
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1400ea2f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140093932
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x140093886
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140093886
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14009386b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140093808
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400938f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140093951
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14009392d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140093951
jmp 0x1400937de
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140051ec0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140093970
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400ae270
sub rsp, rax
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1400ea2f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140093b7d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x140093ac9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140093ac9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140093aa9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140093a38
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140093b3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140093b9c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x140093b78
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140093b9c
jmp 0x140093a0e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140051ec0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400a0980
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400562f0
lea rcx, [rsp + 0x40]
call fcn.1400a0940
movzx eax, al
test eax, eax
jne 0x1400a09c8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1400a0870
mov rax, qword [rsp + 0x70]
jmp 0x1400a0b99
lea rcx, [rsp + 0x40]
call fcn.140056370
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400a08f0
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.140056370
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.1400a0740
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400a0a6e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1400a0870
mov rax, qword [rsp + 0x80]
jmp 0x1400a0b99
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140087f70
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400562f0
lea rcx, [rsp + 0x48]
call fcn.140056330
movzx eax, al
test eax, eax
jne 0x1400a0ad5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140056310
lea rcx, [rsp + 0x40]
call fcn.1400a0870
mov rax, qword [rsp + 0x88]
jmp 0x1400a0b99
lea rcx, [rsp + 0x48]
call fcn.140056370
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140056370
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.1400a0740
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400a0b6b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140056310
lea rcx, [rsp + 0x40]
call fcn.1400a0870
mov rax, qword [rsp + 0xa0]
jmp 0x1400a0b99
lea rcx, [rsp + 0x48]
call fcn.140056460
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140056310
lea rcx, [rsp + 0x40]
call fcn.1400a0870
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x14000a6f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x1028]
mov eax, 0x1120
call fcn.14007d8b0
sub rsp, rax
movsxd rdi, r8d
mov rbx, rcx
and qword [rsp + 0x58], 0
and qword [rsp + 0x68], 0
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.140014af0
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14000a97c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14000a796
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a791
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a973
call fcn.14007d370
and qword [rsp + 0x68], 0
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x58], 0
mov r12d, 0x400
mov r8d, r12d
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14007f9f0
xor r9d, r9d
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub r8, rdx
je 0x14000a7e9
lea rcx, [rbp - 0x60]
lea rax, [rbp - 0x60]
sub rdx, rax
mov al, byte [rdx + rcx]
mov byte [rcx], al
inc r9d
inc rcx
movsxd rax, r9d
cmp rax, r8
jb 0x14000a7d6
mov r8, r12
xor edx, edx
lea rcx, [rbp + 0xc20]
call fcn.14007f9f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov r8, r12
xor edx, edx
lea rcx, [rbp + 0x820]
call fcn.14007f9f0
mov word [rsp + 0x4e], 0x3939
mov dword [rsp + 0x30], 0x37383843
mov dword [rsp + 0x3f], 0x42324436
mov dword [rsp + 0x35], 0x44433234
mov word [rsp + 0x48], 0x4342
mov dword [rsp + 0x43], 0x42413436
mov word [rsp + 0x3c], 0x3945
mov word [rsp + 0x39], 0x4132
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x3b], 0x37
mov byte [rsp + 0x34], 0x44
mov word [rsp + 0x4b], 0x3836
mov byte [rsp + 0x4a], 0x46
mov byte [rsp + 0x47], 0x43
mov byte [rsp + 0x3e], 0x46
mov byte [rsp + 0x4d], 0x46
lea r8, [rsp + 0x30]
mov rdx, r12
lea rcx, [rbp + 0x820]
call fcn.140086d84
lea rcx, [rbp + 0x3a0]
call fcn.14000b1d4
nop
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, 0x20
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x820]
lea rcx, [rbp + 0x3a0]
call fcn.14000b994
mov r9, qword [rbp - 0x80]
sub r9, qword [rsp + 0x78]
mov dword [rsp + 0x20], 1
lea r8, [rbp + 0xc20]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x3a0]
call fcn.1400ba068
and qword [rbx], 0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], r15
mov byte [rbx], 0
lea rdx, [rbp + 0xc20]
add rdx, rdi
mov rcx, rbx
call fcn.140014af0
nop
lea rcx, [rbp + 0x3a0]
call fcn.14000b1e8
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000a94d
mov rdx, qword [rbp - 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a948
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a96d
call fcn.14007d370
mov rax, rbx
lea r11, [rsp + 0x1120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140083c6c
nop
call fcn.140083c6c
nop
int3