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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x14001504c
mov r8d, 0x832
lea rdx, str.C:UsersAdministratorDesktopimgui_spoof_menu_mainimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x110]
lea rdx, [0x140050ce0]
movsxd r8, dword [rsi + 0x108]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x40f8], ebx
jne 0x1400150c7
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140021d80
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400150e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140015113
mov r8d, 0x832
lea rdx, str.C:UsersAdministratorDesktopimgui_spoof_menu_mainimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0x108]
lea r10, [0x140050ce0]
mov rax, qword [rbx + 0x110]
movss xmm0, dword [rdi]
subss xmm0, dword [rbx + 0x128]
movss xmm1, dword [rdi + 4]
mov r9d, dword [rax + rcx*4 - 4]
subss xmm1, dword [rbx + 0x12c]
mov rbx, qword [rsp + 0x38]
not r9d
movzx ecx, r9b
shr r9d, 8
movd r8d, xmm0
movss dword [rsp + 0x30], xmm0
movzx eax, byte [rsp + 0x30]
xor rcx, rax
movss dword [rsp + 0x34], xmm1
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x34]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm1
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x20
pop rdi
ret
Function at 0x140018e30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, qword [0x140061908]
lea r8, [0x14004f3e9]
mov r10d, 0xffffffff
lea r11, [0x140050ce0]
mov ecx, r10d
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140018e73
cmp byte [r8], r9b
jne 0x140018e73
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 0x140018e60
not ecx
call fcn.14000d8c0
cmp byte [rbx + 0xfc], 0
je 0x140018eb3
test rax, rax
je 0x140018eb3
cmp byte [rax + 0xcb], 0
je 0x140018eb3
mov dil, 1
jmp 0x140018eb6
xor dil, dil
movss xmm3, dword [0x140058c3c]
lea rcx, [rbx + 0x4b38]
movss xmm1, dword [rbx + 0x3a58]
lea rdx, [rsp + 0x30]
movss xmm4, dword [0x140058c9c]
xorps xmm2, xmm2
movaps xmm0, xmm4
mov dword [rsp + 0x30], 4
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [rbx + 0x3a5c]
movss dword [rsp + 0x20], xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [rbx + 0x3a60]
subss xmm2, xmm1
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rbx + 0x3a64]
subss xmm4, xmm0
mulss xmm2, xmm3
addss xmm2, xmm1
mulss xmm4, xmm3
addss xmm4, xmm0
movss dword [rsp + 0x28], xmm2
movups xmm0, xmmword [rbx + 0x3a58]
movups xmmword [rsp + 0x34], xmm0
movss dword [rsp + 0x2c], xmm4
call fcn.140022d60
cmp dword [rbx + 0x4b34], 4
je 0x140018f71
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0x3a58], xmm0
test dil, dil
je 0x140018fa7
mov rax, qword [0x140061908]
or dword [rax + 0x4ac0], 1
movsd xmm0, qword [rbx + 0x5394]
xor edx, edx
mov qword [rax + 0x4ad8], rdx
movsd qword [rax + 0x4ad0], xmm0
mov dword [rax + 0x4ac4], 1
xor edx, edx
lea rcx, str.Tooltip_Error
mov r8d, 0x200016f
call fcn.140010d90
mov ecx, 1
movzx edi, al
call fcn.140004a70
test dil, dil
je 0x140019095
mov rcx, qword [rbx + 0x40a0]
cmp word [rcx + 0xd8], 1
jne 0x14001909a
mov rdx, qword [0x140061908]
mov rcx, qword [rdx + 0x40a0]
mov byte [rcx + 0xcc], 1
mov rcx, qword [rdx + 0x40a0]
cmp byte [rcx + 0xcf], 0
jne 0x140019046
lea rdx, str.MESSAGE_FROM_DEAR_IMGUI
mov r8, rdx
cmp rdx, 0xffffffffffffffff
jae 0x14001903e
nop dword [rax + rax]
movzx ecx, byte [r8]
test cl, cl
je 0x14001903e
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x140019035
cmp byte [rax], cl
je 0x14001903e
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x140019020
xorps xmm3, xmm3
call fcn.14003c370
mov rcx, qword [rbx + 0x40a0]
call fcn.140013c80
mov rcx, qword [rbx + 0x40a0]
call fcn.140013a30
mov rax, qword [0x140061908]
mov rcx, qword [rax + 0x40a0]
movzx eax, dil
movss xmm0, dword [rcx + 0x28]
movss xmm1, dword [rcx + 0x2c]
movss dword [rbx + 0x5394], xmm0
movss dword [rbx + 0x5398], xmm1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.140013680
mov rbx, qword [rsp + 0x60]
movzx eax, dil
add rsp, 0x50
pop rdi
ret
Function at 0x14001a150
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140061908]
mov edi, ecx
cmp byte [rbx + 0x4df5], 0
jne 0x14001a1a2
cmp byte [rbx + 0x4df6], 0
jne 0x14001a1a2
movsx r9d, word [rbx + 0x51f0]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400029f0
test dil, 2
je 0x14001a2df
jmp 0x14001a23c
movss xmm0, dword [rbx + 0x3a08]
mov eax, dword [rbx + 0x4ac0]
movaps xmm1, xmm0
mulss xmm1, dword [0x140058cf4]
mulss xmm0, dword [0x140058cec]
addss xmm1, dword [rbx + 0xe0]
addss xmm0, dword [rbx + 0xe4]
test al, 1
jne 0x14001a1fd
xor ecx, ecx
movss dword [rbx + 0x4ad0], xmm1
mov qword [rbx + 0x4ad8], rcx
or eax, 1
movss dword [rbx + 0x4ad4], xmm0
mov dword [rbx + 0x4ac4], 1
movss xmm0, dword [rbx + 0x3a64]
lea r8, str.Tooltip__02d
mulss xmm0, dword [0x140058c68]
lea rcx, [rsp + 0x20]
or eax, 0x40
mov edx, 0x10
mov dword [rbx + 0x4ac0], eax
movss dword [rbx + 0x4b20], xmm0
movsx r9d, word [rbx + 0x51f0]
call fcn.1400029f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001a290
lea r11, [0x140050ce0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001a273
cmp byte [r8], r9b
jne 0x14001a273
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 0x14001a260
not ecx
call fcn.14000d8c0
test rax, rax
je 0x14001a2df
cmp byte [rax + 0xca], 0
je 0x14001a2df
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x51f0]
movsx r9d, word [rbx + 0x51f0]
call fcn.1400029f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140010d90
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140020560
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5358], 0
lea rbx, [rcx + 0x5360]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140020603
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x1400205b6
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140023280
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003540
mov eax, dword [rbx]
lea rcx, [0x140061900]
mov r9, qword [rdi + 0x5358]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x5368]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002060b
mov rcx, rbx
call fcn.140003540
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140020940
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x140061908]
xor ebp, ebp
cmp byte [rbx + 0x52a0], bpl
jne 0x140020a3c
cmp dword [rbx + 0x52c8], ebp
je 0x140020987
mov r8d, 0x37e0
lea rdx, str.C:UsersAdministratorDesktopimgui_spoof_menu_mainimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140020a35
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140002e50
mov rdi, rax
test rax, rax
je 0x140020a35
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400209c1
mov rcx, rax
call fcn.140020b90
mov r8, qword [0x140061908]
test r8, r8
je 0x140020a2c
movsx rdx, word [r8 + 0x5448]
lea rcx, [r8 + 0x544c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140020a21
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5448], cx
movsx rax, cx
lea rcx, [r8 + 0x544c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x5444]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x52a0], 1
movss xmm0, dword [rbx + 0x52a4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140020ad9
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x52a4], xmm0
jb 0x140020ad9
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x140020ac7
mov rax, qword [0x140061908]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x52a4], ebp
call fcn.140020e00
lea rdx, [0x14005045c]
mov rcx, rdi
mov rsi, rax
call fcn.140002cc0
mov rdi, rax
test rax, rax
je 0x140020ace
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140020ace
mov byte [rbx + 0xb4], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x52a4], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140020af0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140061908]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140020b53
mov qword [rsp], rbx
lea rbx, [0x140050ce0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140020b33
cmp byte [r8], r9b
jne 0x140020b33
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140020b20
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x52b8]
not eax
mov r8, qword [r10 + 0x52c0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140020b7f
cmp dword [r8 + 8], eax
je 0x140020b86
add r8, 0x48
cmp r8, rcx
jne 0x140020b70
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140046e20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3e], 0
mov rdx, rcx
je 0x140046f68
movdqa xmm3, xmmword [0x140058d70]
lea r8, [rcx + 8]
movdqa xmm4, xmmword [0x140058e80]
xor eax, eax
mov r9d, 0xd2fb
nop dword [rax]
movd xmm1, dword [r8 - 8]
lea rcx, [r9 - 5]
xorps xmm0, xmm0
lea r8, [r8 + 0x10]
punpcklwd xmm1, xmm0
movq xmm2, rax
punpckldq xmm1, xmm0
add rax, 8
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
lea rcx, [r9 - 3]
movd dword [r8 - 0x18], xmm1
xorps xmm0, xmm0
movd xmm1, dword [r8 - 0x14]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
lea rcx, [r9 - 1]
movd dword [r8 - 0x14], xmm1
xorps xmm0, xmm0
movd xmm1, dword [r8 - 0x10]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
movq xmm0, r9
movd dword [r8 - 0x10], xmm1
add r9, 8
movd xmm1, dword [r8 - 0xc]
punpcklqdq xmm2, xmm0
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [r8 - 0xc], xmm1
cmp r9, 0xd313
jb 0x140046e50
cmp rax, 0x1e
jae 0x140046f64
mov r8d, 0x2d0c
nop word [rax + rax]
movzx ecx, ax
sub cx, r8w
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x1e
jb 0x140046f50
mov byte [rdx + 0x3e], 0
mov rax, rdx
ret

Function at 0x140048214
Capabilities:
Parse pe header

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

Function at 0x140048610
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14004864a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14004864f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140048698
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14004a650]
cmp byte [rcx + rax], 0
je 0x140048698
dec r8
sub rdx, 1
jne 0x14004867e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140001470
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x20], 0x1d00
xor ecx, ecx
mov edi, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
movzx ecx, word [rdx + 0x14]
lea r8, [rdx + 0x18]
movzx r9d, word [rdx + 6]
add r8, rcx
mov rsi, qword [rdx + 0x30]
test r9, r9
je 0x140001577
xor edx, edx
lea rbp, [0x1400133fc]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [r8 + 8]
lea r14, [rsp + 0x60]
movups xmm2, xmmword [r8]
mov r11, r10
movups xmm0, xmmword [r8 + 0x10]
shr r11, 0x20
movsd xmm1, qword [r8 + 0x20]
xor eax, eax
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rsp + 0x70], xmm0
movsd qword [rsp + 0x80], xmm1
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r14 + rax]
inc rax
cmp cl, byte [rax + rbp - 1]
jne 0x140001567
cmp rax, 6
jne 0x140001530
lea rax, [r11 + rdi]
mov qword [rsp + 0x38], rsi
add rax, rbx
mov qword [rsp + 0x28], rax
sub r10d, edi
mov eax, r10d
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x28]
jmp 0x140001581
inc rdx
add r8, 0x28
cmp rdx, r9
jl 0x1400014f0
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x38], rax
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
movsd xmm0, qword [rsp + 0x38]
movsd qword [rsp + 0x50], xmm0
call fcn.140001130
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140001810
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x140002324
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140007d47
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007d47
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007d47
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007d47
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007d47
cmp dword [rcx + 0x84], 0xe
jbe 0x140007d47
cmp dword [rcx + 0xf8], 0
je 0x140007d47
mov ecx, ebx
call fcn.140007df8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140007bd4
nop
cmp dword [rbp + 0x20], 0
je 0x140007d95
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007da0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140007cd8

Function at 0x140007edc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007cd8
Function at 0x14000af9c
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 0x14000afcc
xor eax, eax
jmp 0x14000b08f
mov rbp, rbx
cmp word [rax], si
je 0x14000aff1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000afd8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000afd4
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.14000aebc
movsxd r14, eax
test eax, eax
jne 0x14000b02f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000afc5
mov rcx, r14
call fcn.14000be78
mov rdi, rax
test rax, rax
jne 0x14000b048
xor ecx, ecx
call fcn.14000951c
jmp 0x14000b024
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.14000aebc
test eax, eax
jne 0x14000b079
mov rcx, rdi
call fcn.14000951c
jmp 0x14000b083
xor ecx, ecx
call fcn.14000951c
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
Function at 0x14000e580
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140009f8c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000e60a
cmp byte [rbp - 0x21], r15b
je 0x14000e605
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000e640
call fcn.14000c688
test eax, eax
jne 0x14000e62c
cmp byte [rbp - 0x21], r15b
je 0x14000e624
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000e640
cmp byte [rbp - 0x21], r15b
je 0x14000e63d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000956c
test eax, eax
jne 0x14000e6e0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140009f8c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000e67f
cmp byte [rbp - 0x21], r15b
je 0x14000e6b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000e6b4
call fcn.14000c688
test eax, eax
jne 0x14000e6a0
cmp byte [rbp - 0x21], r15b
je 0x14000e699
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000e6b4
cmp byte [rbp - 0x21], r15b
je 0x14000e6b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000956c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000e6e0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000e6e3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000e6f1
mov rcx, rdi
call fcn.14000951c
cmp byte [rbp + 0x3f], r15b
je 0x14000e700
mov rcx, qword [rbp + 0x27]
call fcn.14000951c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140011530
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011558
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011558
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x415bc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415d4b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432800
xorps xmm15, xmm15
mov r14, qword [0x005e39f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415c25
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415c34
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415c53
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415c63
cmp rbx, 0x1000
jae 0x415c2b
jmp 0x415ccd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415c75
xor edx, edx
jmp 0x415cc4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432800
xorps xmm15, xmm15
mov r14, qword [0x005e39f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415c59
jmp 0x415c48
call fcn.00464560
xorps xmm15, xmm15
mov r14, qword [0x005e39f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436940
lea rax, [0x004bc2d6]
mov ebx, 0x18
nop dword [rax]
call fcn.004371c0
mov rax, qword [rsp + 0x38]
call fcn.00436f00
lea rax, [0x004bc6be]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004371c0
mov rax, qword [rsp + 0x30]
call fcn.00436f00
call fcn.00436b80
call fcn.004369a0
lea rax, [0x004be788]
mov ebx, 0x21
call fcn.00434ea0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460e20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415bc0