joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f4100
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800e566c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800e566c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800f424d
cmp rax, 0xffffffffffffffff
je 0x1800f424d
xor edi, edi
test rbp, rbp
jle 0x1800f41fb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800ede80
mov rbx, rax
test rax, rax
jne 0x1800f4188
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800f41f1
mov edx, 0x8000
mov ecx, r14d
call fcn.1800f3960
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800ea754
cmp eax, 0xffffffff
je 0x1800f41d1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800f4198
mov edx, r15d
mov ecx, r14d
call fcn.1800f3960
jmp 0x1800f41f1
cmp byte [rsi + 0x38], dil
je 0x1800f41e8
cmp dword [rsi + 0x34], 5
jne 0x1800f41e8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1800f41f1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800ee400
jmp 0x1800f425f
jns 0x1800f425f
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800e566c
cmp rax, 0xffffffffffffffff
jne 0x1800f4219
cmp byte [rsi + 0x30], dil
je 0x1800f425f
jmp 0x1800f4255
mov ecx, r14d
call fcn.1800f3ef0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800f425f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1800f425f
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800f425a
mov edi, dword [rsi + 0x2c]
jmp 0x1800f425f
mov edi, socket
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800e566c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1800f63bc
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 0x1800f63ec
xor eax, eax
jmp 0x1800f64af
mov rbp, rbx
cmp word [rax], si
je 0x1800f6411
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800f63f8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800f63f4
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.1800f36fc
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1800f6452
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800f63e5
call fcn.1800f09e0
mov rdi, rax
test rax, rax
jne 0x1800f6468
xor ecx, ecx
call fcn.1800ee400
jmp 0x1800f6447
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.1800f36fc
test eax, eax
jne 0x1800f6499
mov rcx, rdi
call fcn.1800ee400
jmp 0x1800f64a3
xor ecx, ecx
call fcn.1800ee400
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 0x1800f64cc
Capabilities:
Query environment variable

Disassembly:
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 ebp, ebp
mov rbx, rax
test rax, rax
je 0x1800f6553
mov rsi, rbx
cmp word [rax], bp
je 0x1800f6512
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1800f64fc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1800f64f8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1800f09e0
mov rdi, rax
test rax, rax
je 0x1800f6540
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180189ea0
mov rbp, rdi
xor ecx, ecx
call fcn.1800ee400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800f70f0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800f7110
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800da830
or eax, 0xffffffff
jmp 0x1800f7112
xor eax, eax
add rsp, 0x28
ret

Function at 0x1800f99d8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x1800f9a4b
cmp word [rcx], si
je 0x1800f9a4b
lea rdx, [0x1801bc3b8]
call fcn.1800fc508
test eax, eax
je 0x1800f9a4b
lea rdx, [0x1801bc3d0]
mov rcx, rbx
call fcn.1800fc508
test eax, eax
jne 0x1800f9a41
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800f9a68
mov eax, dword [rsp + 0x30]
jmp 0x1800f9a7a
mov rcx, rbx
call fcn.1800db058
jmp 0x1800f9a7a
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1800f9a6c
xor eax, eax
jmp 0x1800f9a7a
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1800f9a7a
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800f9a8c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1800ebb20
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800f9b2f
cmp edi, dword [rsp + 0x30]
je 0x1800f9b28
test ebp, ebp
je 0x1800f9b28
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x1800f9b04
sub dx, 0x61
cmp dx, 0x19
ja 0x1800f9b10
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1800f9af1
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x1800f9b14
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x1800f9b31
mov eax, 1
jmp 0x1800f9b31
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800fbf34
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x18022a880]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1800fbf7e
call fcn.1800da87c
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1800da8a0
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1800e1ed4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800c24e0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1800fbf89
lea eax, [rbx + 1]
jmp 0x1800fbf6b
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1800fbf69
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1800fbf6b
Function at 0x1800fc090
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.1800ca844
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1800fc11a
cmp byte [rbp - 0x21], r15b
je 0x1800fc115
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1800fc150
call fcn.1800ee76c
test eax, eax
jne 0x1800fc13c
cmp byte [rbp - 0x21], r15b
je 0x1800fc134
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1800fc150
cmp byte [rbp - 0x21], r15b
je 0x1800fc14d
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.1800e2b18
test eax, eax
jne 0x1800fc1f0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1800ca844
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1800fc18f
cmp byte [rbp - 0x21], r15b
je 0x1800fc1c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1800fc1c4
call fcn.1800ee76c
test eax, eax
jne 0x1800fc1b0
cmp byte [rbp - 0x21], r15b
je 0x1800fc1a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1800fc1c4
cmp byte [rbp - 0x21], r15b
je 0x1800fc1c1
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.1800e2b18
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1800fc1f0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1800fc1f3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1800fc201
mov rcx, rdi
call fcn.1800ee400
cmp byte [rbp + 0x3f], r15b
je 0x1800fc210
mov rcx, qword [rbp + 0x27]
call fcn.1800ee400
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 0x1800fef00
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x180231750]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x180232400], eax
jg 0x1800fef51
lea rax, [0x1802323d0]
add rsp, 0x28
ret
mov dword [0x1802323f8], eax
lea rcx, [0x180232400]
call fcn.1800c182c
lea rax, [0x1802323d0]
add rsp, 0x28
ret
lea rcx, [0x180232400]
call fcn.1800c1898
cmp dword [0x180232400], 0xffffffff
jne 0x1800fef27
lea rcx, [0x1801b5680]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1801b7d68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1802323d0], rax
mov qword [0x1802323d8], 0
lea rcx, [0x1801b5680]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1801b7d80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1802323e0], rax
lea rcx, [0x1801b5680]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1801b7d90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1802323e8], rax
lea rcx, [0x1801b5680]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1801b7da8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1802323f0], rax
mov rdx, qword [0x1802323d0]
test rdx, rdx
je 0x1800ff034
cmp qword [0x1802323e0], 0
je 0x1800ff034
cmp qword [0x1802323e8], 0
je 0x1800ff034
test rax, rax
je 0x1800ff034
lea rcx, [0x1800febf0]
call rdx
jmp 0x1800fef33
mov qword [0x1802323d0], 0
mov rax, qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov qword [0x1802323d8], rax
mov rax, qword [sym.imp.KERNEL32.dll_TlsFree]
mov qword [0x1802323e0], rax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [0x1802323e8], rax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [0x1802323f0], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x1800fef33

Function at 0x1801161f0
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
xor eax, eax
movzx ecx, word [rcx]
test cx, cx
je 0x18011621f
nop dword [rax]
movzx edx, cx
lea r8, [r8 + 2]
add edx, eax
imul eax, edx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
movzx ecx, word [r8]
test cx, cx
jne 0x180116200
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x180119290
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x18022a880]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov dword [rbp - 0x59], ebx
lea rcx, [rbp - 0x49]
call fcn.1800fd600
mov dword [rbp - 0x59], 1
mov rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x49]
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1801192ea
lea rax, [rbp - 0x49]
cmp rdx, 7
cmova rax, r8
cmp word [rax + rcx*2 - 2], 0xa
je 0x180119324
mov r9d, 0xa
mov dword [rbp - 0x51], r9d
cmp rcx, rdx
jae 0x180119313
lea rax, [rcx + 1]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x49]
cmp rdx, 7
cmova rax, r8
mov dword [rax + rcx*2], r9d
jmp 0x180119324
xor r8d, r8d
mov edx, 1
lea rcx, [rbp - 0x49]
call fcn.180109d20
lea rdx, [0x1801c4aa8]
lea rcx, [rbp + 0x17]
call fcn.1800318c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x37], xmm0
lea rdx, [0x1801b9d80]
lea rcx, [rbp - 0x19]
call fcn.1800318c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
mov r9b, 1
lea r8, [rbp + 0x17]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x49]
call fcn.18010d040
nop
mov rcx, qword [rbp + 7]
call fcn.1800db050
lea rcx, [rbp - 0x19]
call fcn.1800086f0
nop
mov rcx, qword [rbp + 0x37]
call fcn.1800db050
lea rcx, [rbp + 0x17]
call fcn.1800086f0
lea rdx, [0x1801c4abc]
lea rcx, [rbp - 0x19]
call fcn.1800318c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
lea rdx, [0x1801b9d78]
lea rcx, [rbp + 0x17]
call fcn.1800318c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x37], xmm0
mov r9b, 1
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x49]
call fcn.18010d040
nop
mov rcx, qword [rbp + 0x37]
call fcn.1800db050
lea rcx, [rbp + 0x17]
call fcn.1800086f0
nop
mov rcx, qword [rbp + 7]
call fcn.1800db050
lea rcx, [rbp - 0x19]
call fcn.1800086f0
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rcx, qword [rbp - 0x29]
call fcn.1800db050
lea rcx, [rbp - 0x49]
call fcn.1800086f0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800c24e0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rbp
ret
Function at 0x180139150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], 7
mov word [rdx], r15w
mov qword [rdx + 0x20], r15
mov qword [rdx + 0x28], r15
mov dword [rsp + 0x30], 1
lea r12, str.invalid_index
mov eax, dword [rsi + 0x10]
test eax, eax
jne 0x1801391c4
mov rcx, rsi
call fcn.180138f80
movzx ecx, al
mov eax, ecx
xor eax, 1
inc eax
mov dword [rsi + 0x10], eax
jmp 0x1801391ca
cmp eax, 1
sete cl
test cl, cl
je 0x1801392a7
mov dword [rsi + 0x10], r15d
mov rax, qword [rsi + 0x50]
mov rbp, qword [rax]
mov rdi, qword [rsi + 0x58]
mov rax, qword [rsi + 0x60]
cmp qword [rsi + 0x48], rax
jae 0x18013922a
cmp qword [0x18022b5d0], 0
je 0x18013922a
mov qword [rsp + 0x20], r12
lea r9, str.from___end
lea r8, str.find_first_of
mov edx, 0x2e
lea rcx, str.C:UsersSlice_vcpkg_buildtreeswxwidgets_src_v3.2.4_dac430e50d.clean_srccommon_tokenzr.cpp
call fcn.180109a10
cmp byte [0x1802325d0], 0
je 0x18013922a
mov byte [0x1802325d0], 0
int3
mov rbx, qword [rsi + 0x60]
mov r8, qword [rsi + 0x48]
cmp rbx, r8
je 0x180139274
nop word [rax + rax]
movzx edx, word [rbx]
mov rcx, rdi
mov rax, rbp
test rdi, rdi
je 0x18013925f
nop
cmp word [rax], dx
je 0x18013925f
add rax, 2
sub rcx, 1
jne 0x180139250
test rcx, rcx
cmove rax, r15
test rax, rax
jne 0x1801392c4
add rbx, 2
cmp rbx, r8
jne 0x180139240
mov rdx, qword [rsi + 0x60]
sub r8, rdx
sar r8, 1
mov rcx, r14
call fcn.18004c370
mov rax, qword [rsi + 0x48]
mov qword [rsi + 0x60], rax
movzx eax, r15w
mov word [rsi + 0x6c], ax
cmp dword [rsi + 0x68], 4
jne 0x1801392a7
cmp qword [r14 + 0x10], 0
je 0x1801391a6
mov rax, r14
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
cmp rbx, r8
je 0x180139274
mov r8, rbx
lea rdi, [rbx + 2]
cmp dword [rsi + 0x68], 3
jne 0x1801392d9
mov r8, rdi
mov rdx, qword [rsi + 0x60]
sub r8, rdx
sar r8, 1
mov rcx, r14
call fcn.18004c370
mov qword [rsi + 0x60], rdi
cmp rbx, qword [rsi + 0x48]
jne 0x1801392fa
mov eax, r15d
jmp 0x180139292
movzx eax, word [rbx]
jmp 0x180139292

Function at 0x180187a50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180187a78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180187a78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x5d9a80
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x5d9a8d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x5d9a9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x5d9a85
lea eax, [rcx + 1]
jmp 0x5d9aab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x5d9abe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x5d9aa4
sub eax, 3
jb 0x5d9ade
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x5d9b2d
sar eax, 1
movsxd rbp, eax
jb 0x5d9b14
jmp 0x5d9aec
add ebx, ebx
jne 0x5d9aea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x5d9b14
inc ecx
add ebx, ebx
jne 0x5d9afa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x5d9b14
call r11
adc ecx, ecx
add ebx, ebx
jne 0x5d9b0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x5d9afc
add ecx, 2
jmp 0x5d9b19
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.005d9a42
jmp 0x5d9a8d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x88600
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x5d9b79
cmp rsi, rcx
jae 0x5d9b81
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x5d9b60
cmp al, 0x8f
ja 0x5d9b60
cmp byte [rsi - 2], 0xf
je 0x5d9b66
sub al, 0xe8
cmp al, 1
ja 0x5d9b4a
cmp rsi, rcx
jae 0x5d9b81
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x5d9b50
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x5d9b81
lodsb al, byte [rsi]
jmp 0x5d9b60
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1d6000]
mov eax, dword [rdi]
or eax, eax
je 0x5d9bde
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1d9000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x5d9b8e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x5d9bd8
mov qword [rbx], rax
add rbx, 8
jmp 0x5d9bae
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x5d9c18
cmp al, 0xef
ja 0x5d9c0a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x5d9bea
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x5d9bf9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x5d9c6c
sub rsp, 0xffffffffffffff80
jmp 0x463aa0
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400555e0]
mov dword [rax], 1
mov rax, qword [0x1400555f0]
mov dword [rax], 1
mov rax, qword [0x140055600]
mov dword [rax], 1
mov rax, qword [0x140055530]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001e110
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.140038000
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.140030cf0
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14001e169
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret