joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029ae0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140029c6d
cmp ecx, 0x7c
je 0x140029c6d
cmp ecx, 0x29
jne 0x140029b5a
cmp dword [rdi + 0x1c], 0
jne 0x140029c6d
lea rbx, [rdi + 0x80]
test dword [rbx], 0x10000000
je 0x140029c86
cmp ecx, 0x5d
jne 0x140029b37
test dword [rbx], 0x10000000
je 0x140029c94
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.1400290cc
mov rcx, rdi
call fcn.14002dc2c
mov rcx, rdi
call fcn.14002dca0
mov ecx, dword [rdi + 0x7c]
mov al, 1
jmp 0x140029af2
lea rbx, [rdi + 0x80]
cmp ecx, 0x2e
jne 0x140029b71
lea rcx, [rdi + 0x40]
call fcn.140029354
jmp 0x140029b43
cmp ecx, 0x5c
jne 0x140029bbf
mov rcx, rdi
call fcn.14002dc2c
test byte [rbx], 0x80
je 0x140029bb5
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x140029b9d
lea rcx, [rdi + 0x40]
call fcn.140029ad4
mov rcx, rdi
call fcn.14002dc2c
jmp 0x140029b53
cmp al, 0x42
jne 0x140029bb5
lea rcx, [rdi + 0x40]
call fcn.140029ad4
lea rcx, [rdi + 0x40]
call fcn.14002dbc8
jmp 0x140029b93
mov rcx, rdi
call fcn.140029cb0
jmp 0x140029b4b
cmp ecx, 0x5b
jne 0x140029bea
mov rcx, rdi
call fcn.14002dc2c
mov rcx, rdi
call fcn.14002a6b8
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.14002c3ac
jmp 0x140029b4b
cmp ecx, 0x28
jne 0x140029c1f
mov rcx, rdi
call fcn.14002dc2c
mov rcx, rdi
call fcn.14002e468
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.14002c3ac
test bl, bl
je 0x140029b53
jmp 0x140029b4b
cmp ecx, 0x5e
jne 0x140029c32
lea rcx, [rdi + 0x40]
call fcn.1400290c0
jmp 0x140029b93
cmp ecx, 0x24
jne 0x140029c45
lea rcx, [rdi + 0x40]
call fcn.140029454
jmp 0x140029b93
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140029ca2
cmp ecx, 0x3f
je 0x140029ca2
cmp ecx, 0x7b
je 0x140029ca2
cmp ecx, 0x7d
jne 0x140029b26
test dword [rbx], 0x10000000
je 0x140029c78
jmp 0x140029b37
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 6
mov rcx, rdi
call fcn.14002c3a0
int3
mov edx, 5
mov rcx, rdi
call fcn.14002c3a0
int3
mov edx, 4
mov rcx, rdi
call fcn.14002c3a0
int3
mov edx, 0xa
mov rcx, rdi
call fcn.14002c3a0
int3
Function at 0x14002fa0c
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
and dword [rax - 0x38], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov dword [rax - 0x38], 1
mov rax, qword [rdx + 0x10]
cmp rax, 0xf
jbe 0x14002fa78
mov r8b, byte [rsp + 0x60]
mov rdx, rax
call fcn.140014ee4
and qword [rbx + 0x10], 0
mov rax, qword [rdi + 0x10]
xor esi, esi
lea r14d, [rsi - 6]
cmp qword [rdi + 0x18], 0x10
jb 0x14002fa90
mov rbp, qword [rdi]
mov rcx, rbp
mov rdi, rbp
jmp 0x14002fa96
mov rbp, rdi
mov rcx, rdi
lea r12, [rcx + rax]
cmp rdi, r12
je 0x14002fbbb
lea r8, [0x140066530]
shl esi, 8
movzx eax, byte [rbp]
add esi, eax
add r14d, 8
js 0x14002fb33
movsxd r13, esi
movsxd rdi, r14d
lea ecx, [r14 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov r15d, edx
imul eax, edx, 0xfffffffa
add r14d, eax
mov rax, r13
mov rcx, rdi
sar rax, cl
and eax, 0x3f
mov r9b, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14002fb10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002fb05
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14002fb29
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.14000ee00
lea r8, [0x140066530]
sub rdi, 6
sub r15, 1
jne 0x14002fad6
inc rbp
cmp rbp, r12
jne 0x14002faaa
cmp r14d, 0xfffffffa
jle 0x14002fbbb
lea ecx, [r14 + 8]
shl esi, 8
movsxd rdx, esi
sar rdx, cl
and edx, 0x3f
mov r9b, byte [rdx + r8]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14002fba9
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002fb78
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14002fbbb
cmp rcx, qword [rbx + 0x18]
jae 0x14002fba6
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002fb9e
mov rax, qword [rbx]
mov word [rcx + rax], 0x3d
jmp 0x14002fbbb
mov r9b, 0x3d
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.14000ee00
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x14002fb83
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140033368
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword [0x140080178]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r14d, 2
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp word [rcx], r14w
je 0x1400333a9
cmp word [rcx], 0x17
jne 0x14003344d
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
mov dword [rsi], eax
lea rcx, [rsp + 0x50]
mov esi, 0x401
mov r8d, esi
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x50]
xor r14d, r14d
mov r9d, esi
mov dword [rsp + 0x28], r14d
mov edx, ebp
mov rcx, rbx
mov qword [rsp + 0x20], r14
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x14003344d
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1400333fe
cmp rbx, qword [rdi + 0x18]
ja 0x140033434
cmp qword [rdi + 0x18], 0x10
mov rsi, rdi
jb 0x14003341a
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], r14b
jmp 0x140033449
mov r8b, byte [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.14000ef60
mov al, 1
jmp 0x14003344f
xor al, al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14005dc60
add rsp, 0x470
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140033470
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14003347c
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140080178]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, r8
mov dword [rsp + 0x20], 0x80
mov rbx, rdx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1400334d1
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.140033368
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14005dc60
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret

Function at 0x14003347c
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14003347c
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140080178]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, r8
mov dword [rsp + 0x20], 0x80
mov rbx, rdx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1400334d1
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.140033368
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14005dc60
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret
Function at 0x14005427c
Capabilities:
Encode data using xor

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
xor r15d, r15d
lea r12, [0x140000000]
movzx eax, byte [r15 + r12 + 0x6bf30]
mov edi, eax
mov r8d, eax
shr edi, 5
mov r11d, eax
shr r8d, 6
mov ebp, edi
lea edx, [rax + rax]
shr r11d, 7
xor edx, eax
and ebp, 4
mov r10d, edi
mov r9d, r8d
and edi, 1
and r10d, 2
imul ecx, edi, 0x1b000000
and r8d, 1
lea ebx, [rdx + rdx]
and r9d, 2
lea edx, [rdx*4]
xor ebx, eax
xor edx, eax
shl ebx, 0x19
shl edx, 8
mov esi, eax
xor rbx, rcx
mov r14d, eax
imul ecx, r10d, 0x1b000000
xor rbx, rcx
imul ecx, r8d, 0x1b000000
xor rbx, rcx
imul ecx, r9d, 0x1b000000
xor rbx, rcx
imul ecx, ebp, 0x1b000000
xor rbx, rcx
imul ecx, r11d, 0x1b000000
xor rbx, rcx
imul ecx, edi, 0x11b00
xor rdx, rcx
imul ecx, r10d, 0x11b00
xor rdx, rcx
imul ecx, r8d, 0x11b00
xor rdx, rcx
imul ecx, r9d, 0x11b00
xor rdx, rcx
imul ecx, ebp, 0x11b00
xor rdx, rcx
imul ecx, edi, 0x11b0000
or rbx, rdx
lea edx, [rax*8]
xor edx, eax
lea eax, [rax*4]
shl edx, 0x10
xor eax, r14d
xor rdx, rcx
imul ecx, r10d, 0x11b0000
xor rdx, rcx
imul ecx, ebp, 0x11b0000
xor rdx, rcx
imul ecx, edi, 0x11b
or rbx, rdx
lea edx, [rax + rax]
xor rdx, rcx
imul ecx, r10d, 0x11b
xor rdx, rcx
imul ecx, ebp, 0x11b
xor rdx, rcx
imul ecx, r11d, 0x11b
xor rdx, rcx
xor rdx, rsi
or rdx, rbx
shl rdx, 0x20
or rdx, rbx
or rdx, rsi
mov qword [r12 + r15*8 + 0x866a0], rdx
inc r15
cmp r15, 0x100
jl 0x14005429f
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov byte [0x140086ea1], 1
pop r15
pop r14
pop r12
ret

Function at 0x140054408
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r11d, r11d
lea rbx, [0x140000000]
movzx r9d, byte [r11 + rbx + 0x6be30]
mov edx, r9d
shr edx, 7
imul r10d, edx, 0x1b000000
lea r8d, [r9 + r9]
imul ecx, edx, 0x11b
mov eax, r8d
shl eax, 0x18
xor r10, rax
mov eax, r9d
shl eax, 8
or eax, r9d
shl eax, 8
or r10, rax
mov eax, r8d
xor rcx, rax
xor rcx, r9
or rcx, r10
shl rcx, 0x20
or rcx, r10
mov qword [rbx + r11*8 + 0x85e90], rcx
inc r11
cmp r11, 0x100
jl 0x140054417
and qword [0x140086698], 0
and qword [0x140086690], 0
mov rbx, qword [rsp + 8]
mov byte [0x140086ea0], 1
ret
Function at 0x140055eb8
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140080178]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x140086fa0]
mov rax, qword gs:[0x58]
mov edx, 0x130
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140086eb0], ecx
jg 0x140055f9a
mov eax, ebx
cmp rbx, rax
jne 0x140055f5c
xor ecx, ecx
test rbx, rbx
setne cl
xor eax, eax
test ebx, ebx
setne al
cmp ecx, eax
jne 0x140055f5c
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x140086ea8]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x140055fdd
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005dc60
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.14000db40
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140055be8
lea rdx, [0x14007d220]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [0x140086eb0]
call fcn.14005e4d4
cmp dword [0x140086eb0], 0xffffffff
jne 0x140055f04
lea rcx, [0x140086ea8]
call fcn.140055afc
lea rcx, [0x1400620bc]
call fcn.14005df5c
nop
lea rcx, [0x140086eb0]
call fcn.14005e468
jmp 0x140055f04
mov ecx, eax
call fcn.140056020
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x14006a9b8]
lea rcx, [rsp + 0x20]
call fcn.14000db40
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140055be8
lea rdx, [0x14007d220]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140057424
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp r8, 8
jb 0x140057497
mov rbp, r8
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rdi, rax
mov r8d, 8
lea rcx, [rsp + 0x58]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 8
lea rcx, [rsp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
add rsi, 8
xor rax, qword [rsp + 0x58]
add rbx, 8
or r14, rax
sub rbp, 1
jne 0x140057456
mov rcx, r14
shr rcx, 0x20
or ecx, r14d
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test rdi, rdi
je 0x1400574d9
sub rsi, rbx
movzx ecx, byte [rsi + rbx]
movzx eax, byte [rbx]
inc rbx
xor ecx, eax
or edx, ecx
sub rdi, 1
jne 0x1400574c5
mov rbx, qword [rsp + 0x40]
test edx, edx
mov rbp, qword [rsp + 0x48]
sete al
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400574f4
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x1400575ba
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15d, 4
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, r15
jb 0x140057585
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x24]
xor eax, dword [rsp + 0x20]
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy
add r14, r15
add rsi, r15
add rdi, r15
sub rbp, 1
jne 0x14005753a
test rbx, rbx
je 0x1400575a2
sub rsi, rdi
sub r14, rdi
mov al, byte [rsi + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rbx, 1
jne 0x140057590
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x1400575bc
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140057669
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r8
mov r14d, 4
mov rsi, rdx
mov rdi, rcx
cmp rbx, r14
jb 0x140057641
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r14
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
xor eax, dword [rsp + 0x68]
mov r8, r14
mov rcx, rdi
mov dword [rsp + 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
add rdi, r14
add rsi, r14
sub rbp, 1
jne 0x1400575f9
test rbx, rbx
je 0x140057657
sub rsi, rdi
mov al, byte [rsi + rdi]
xor byte [rdi], al
inc rdi
sub rbx, 1
jne 0x140057649
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14005d5ac
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
mov r9d, 4
shl edx, 2
mov r8, rcx
movdqu xmm0, xmmword [rcx + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + rdx*4], xmm1
add edx, 0xfffffffc
cmp edx, r9d
jbe 0x14005d5fb
aesimc xmm0, xmmword [r8 + rdx*4]
mov ecx, r9d
add r9d, 4
aesimc xmm1, xmmword [r8 + rcx*4]
movdqu xmmword [r8 + rcx*4], xmm0
movdqu xmmword [r8 + rdx*4], xmm1
add edx, 0xfffffffc
cmp r9d, edx
jb 0x14005d5d2
mov eax, r9d
aesimc xmm0, xmmword [r8 + rax*4]
movdqu xmmword [r8 + rax*4], xmm0
ret

Function at 0x14005ebf0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005ec3a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005ec3a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005ec3a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005ec3a
cmp dword [rcx + 0x84], 0xe
jbe 0x14005ec3a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005ec3c
xor al, al
add rsp, 0x28
ret
Function at 0x1400015bc
Capabilities:
Accept command line arguments

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
xor ebx, ebx
mov r15d, ebx
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
je 0x140001776
lea r12d, [rbx + 2]
movzx ecx, word [rax]
cmp cx, 0x20
je 0x140001609
cmp cx, 9
jne 0x14000160e
add rax, r12
jmp 0x1400015fa
test cx, cx
je 0x140001776
test cx, cx
je 0x14000163b
inc r15d
mov rcx, rax
call fcn.1400017b4
movzx ecx, word [rax]
cmp cx, 0x20
je 0x140001636
cmp cx, 9
jne 0x140001617
add rax, r12
jmp 0x140001627
movsxd rcx, r15d
mov eax, 8
mul rcx
mov r14, 0xffffffffffffffff
cmovo rax, r14
mov rcx, rax
call fcn.14000c904
mov rsi, rax
test rax, rax
je 0x140001766
mov rdi, r14
inc rdi
cmp word [rbp + rdi*2], bx
jne 0x140001668
inc rdi
mov rax, r12
mul rdi
cmovo rax, r14
mov rcx, rax
call fcn.14000c904
mov r14, rax
test rax, rax
je 0x14000175e
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call fcn.140001530
test eax, eax
js 0x140001798
mov r8d, ebx
mov rax, r14
mov r9, rsi
cmp word [rax], bx
je 0x1400016ea
mov qword [r9], rax
mov rcx, rax
add r9, 8
inc r8d
call fcn.1400017b4
test rax, rax
je 0x1400016ea
cmp word [rax], bx
je 0x1400016e5
mov word [rax], bx
add rax, r12
cmp word [rax], 0x20
je 0x1400016d6
cmp word [rax], 9
je 0x1400016d6
test rax, rax
jne 0x1400016b2
movsxd rbp, r8d
test r8d, r8d
jle 0x14000172c
mov rdi, rbx
mov r12d, 0x22
mov rcx, qword [rsi + rdi*8]
cmp word [rcx], r12w
jne 0x140001724
add rcx, 2
mov edx, r12d
mov qword [rsi + rdi*8], rcx
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x140001724
mov word [rax], bx
inc rdi
cmp rdi, rbp
jl 0x1400016fb
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
nop dword [rax + rax]
mov r8d, 3
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.MSDTCTM.dll_Ordinal_4]
nop dword [rax + rax]
mov ebx, eax
mov rcx, r14
call fcn.14000c944
mov rcx, rsi
call fcn.14000c944
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
mov eax, ebx
jmp 0x140001778
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 r12
ret
mov ecx, eax
call fcn.140001968
lea rcx, str.failed_in_TracedStringCchCopyW
call fcn.140001f7c
int3
Function at 0x140001d70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x98
call sub.msvcrt.dll_memset
test rbx, rbx
jne 0x140001dec
lea rax, [rbp - 0x30]
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rax
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
nop dword [rax + rax]
and qword [rsp + 0x38], rbx
lea rax, [rsp + 0x30]
and dword [rsp + 0x48], ebx
lea rbx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rax, [fcn.140001d70]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0xc00000e5
mov dword [rsp + 0x34], 1
lea rcx, str.GenerateErrorDumps
call fcn.140001ec0
test eax, eax
je 0x140001e6f
mov rcx, qword [0x1400179f0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
nop dword [rax + rax]
test eax, eax
jne 0x140001e23
lea r8d, [rax + 0x7f]
lea rcx, str.ResetEvent_fails_in_CEventSem::Reset__
call fcn.140008998
xor r8d, r8d
lea rcx, [0x140002090]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
nop dword [rax + rax]
test eax, eax
je 0x140001e6f
mov rcx, qword [0x1400179f0]
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObjectEx]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x140001e6f
mov r8d, 0x74
lea rcx, str.WaitForSingleObjectEx_fails_in_CEventSem::Wait__
call fcn.140008998
mov rdx, qword [rbx + 8]
mov r8d, 1
mov rcx, qword [rbx]
call qword [sym.imp.ntdll.dll_RtlReportException]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x5b8]
add rsp, 0x5a0
pop rbp
ret

Function at 0x140001ec0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
and dword [rbp + 0x20], 0
lea rdx, str.SoftwareMicrosoftMSDTC
and dword [rbp + 0x18], 0
mov rbx, rcx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
mov dword [rbp + 0x28], 4
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
nop dword [rax + rax]
test eax, eax
jne 0x140001f52
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x18]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
nop dword [rax + rax]
test eax, eax
jne 0x140001f4e
cmp dword [rbp + 0x20], 4
je 0x140001f52
and dword [rbp + 0x18], 0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140001f67
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, dword [rbp + 0x18]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x140008430
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140015508]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r15, rdx
and qword [rdx], 0
xor r14d, r14d
mov r8, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001530
lea r8, [0x14000f880]
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001b34
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x14000851d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x140008505
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14000cd20
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.140003bb8
mov esi, eax
jmp 0x140008602
and dword [rsp + 0x24], 0
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.14000475c
mov esi, eax
test eax, eax
jns 0x14000855c
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.140003b7c
nop
mov rcx, rbx
call fcn.140004444
jmp 0x140008602
lea r8, [0x14000f888]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140001b34
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400085aa
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.140003bb8
mov esi, eax
jmp 0x14000854f
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000475c
mov esi, eax
test eax, eax
jns 0x1400085df
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.140003b7c
nop
mov rcx, rdi
call fcn.140004444
jmp 0x14000854f
mov rcx, rdi
call fcn.140004444
movsxd rax, dword [rsp + 0x20]
shl rax, 0x1f
movsxd r14, dword [rsp + 0x24]
or r14, rax
mov rcx, rbx
call fcn.140004444
xor esi, esi
test esi, esi
jns 0x1400084d3
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, 0x62
call fcn.140003b7c
mov eax, esi
jmp 0x1400084d8