joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026880
Capabilities:
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, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x1400268cd
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x1400268d2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x1400268fd
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x1400268fd
mov rax, qword [rax + 0x388]
test rax, rax
je 0x1400268fd
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x140026902
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14002691c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140026921
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x1400269a3
inc ecx
test r8d, r8d
je 0x14002698e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140026993
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.140027d20
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1400269e2
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140026880
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x1400269f2
inc esi
jmp 0x1400268b0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x14003d410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
mov rax, qword [0x1400b6390]
mov r11, qword [rax + 0x44b8]
mov r9d, dword [r11 + 4]
bt r9d, 0x18
jae 0x14003d43e
mov edx, dword [r11 + 0x74]
cmp ecx, edx
movzx r8d, dl
movzx eax, cl
cmovl r8d, eax
jmp 0x14003d441
xor r8b, r8b
mov rcx, qword [r11 + 0x190]
xorps xmm1, xmm1
mov byte [r11 + 0x1f3], r8b
movss xmm0, dword [rcx + 0x98]
ucomiss xmm0, xmm1
jp 0x14003d465
jne 0x14003d465
xor al, al
jmp 0x14003d469
movzx eax, r8b
shr r9d, 0x19
and r9b, 1
mov byte [r11 + 0x1f4], al
mov byte [r11 + 0x1f1], r9b
movss xmm0, dword [rcx + 0x9c]
ucomiss xmm0, xmm1
jp 0x14003d491
jne 0x14003d491
xor r9b, r9b
mov byte [r11 + 0x1f2], r9b
xor ebx, ebx
xor r9b, 1
mov byte [r11 + 0x204], r9b
test r8b, r8b
jle 0x14003d51d
mov qword [rsp + 0x10], rdi
mov edi, ebx
mov rdx, qword [r11 + 0x28]
movsx r10, byte [rdx + rdi]
cmp r10d, ebx
je 0x14003d503
movsx eax, r8b
cmp r10d, eax
jl 0x14003d503
movsx rax, byte [r10 + rdx]
mov r9, qword [r11 + 0x18]
imul r8, r10, 0x68
imul rdx, rax, 0x68
movzx eax, byte [r8 + r9 + 0x52]
movzx ecx, byte [rdx + r9 + 0x52]
mov byte [rdx + r9 + 0x52], al
mov byte [r8 + r9 + 0x52], cl
mov rdx, qword [r11 + 0x28]
movzx eax, byte [rdx + rdi]
movzx ecx, byte [r10 + rdx]
mov byte [r10 + rdx], al
mov byte [rdx + rdi], cl
movsx eax, byte [r11 + 0x1f3]
inc ebx
inc rdi
movzx r8d, al
cmp ebx, eax
jl 0x14003d4b1
mov rdi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x14003df80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx + 0x190]
mov r10, rcx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x7c], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x14003dfbc
addss xmm0, dword [rcx + 0x94]
lea rsi, [r9 + 0x118]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r9 + 0x130], xmm0
subss xmm0, dword [r9 + 0x48]
movss dword [r9 + 0x11c], xmm1
subss xmm0, dword [r9 + 0x158]
movss dword [r9 + 0x15c], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x62]
mov dword [r9 + 0x16c], eax
movss dword [r9 + 0x234], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x230], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1d4], eax
cmp byte [rbx + 0x5a], 0
jne 0x14003e057
maxss xmm1, dword [rcx + 0x88]
movss dword [r9 + 0x11c], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r9 + 0xd0], al
cmp byte [rbx + 0x60], 0
je 0x14003e07d
mov rax, qword [0x1400b6390]
xor ecx, ecx
mov dword [rax + 0x40b0], ecx
mov dword [rax + 0x40b8], ecx
test dword [r10 + 4], 0x100000
je 0x14003e092
mov r8d, 2
jmp 0x14003e112
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2b8]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x250], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2b8]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [r9 + 0x2b8]
mov rcx, qword [r10 + 0x1a8]
call fcn.140035600
mov rdi, qword [0x1400b6390]
cmp byte [rdi + 0x55c4], 0
je 0x14003e157
cmp byte [rbx + 0x60], 0
jne 0x14003e157
xor r8d, r8d
lea rdx, [0x14009da80]
mov rcx, rsi
call fcn.14001ad90
mov dword [rdi + 0x55f8], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400405f0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1400b6390]
mov rdx, qword [rax + 0x44b8]
cmp ecx, 0xffffffff
jne 0x14004060a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x140040689
mov r10d, dword [rdx]
lea r8, [0x14009da71]
movzx eax, word [rdx + 0x80]
lea r11, [0x140099760]
not r10d
mov byte [rdx + 0x1f0], cl
mov ecx, r10d
mov byte [rdx + 0x1fe], 1
mov word [rdx + 0x82], ax
mov r9b, 0x23
cmp r9b, 0x23
jne 0x140040663
cmp byte [r8], r9b
jne 0x140040663
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 0x140040650
not ecx
xor edx, edx
jmp fcn.1400157a0
ret
Function at 0x140053540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400b3040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140053580
cmp al, 0x25
jne 0x140053574
cmp byte [r8 + 1], al
jne 0x140053580
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x140053567
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400536d8
cmp byte [r8 + 1], dl
je 0x1400536d8
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400535bd
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400535e5
sub dl, 0x61
cmp dl, 0x19
ja 0x1400535d7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400535e5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400535a0
jmp 0x1400535e8
inc r9
cmp r8, r9
jae 0x14005361f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140053614
bt rdx, rax
jb 0x14005361a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140053600
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.140003490
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140053658
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140053650
cmp ebx, 8
je 0x1400536c6
movzx eax, byte [rcx]
xor edx, edx
cmp al, 0x2d
jne 0x140053675
lea rax, [rcx + 1]
mov edx, 1
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
jne 0x140053680
movzx eax, byte [rcx + 1]
inc rcx
xorps xmm1, xmm1
cmp al, 0x30
jl 0x1400536b6
movss xmm2, dword [0x1400a2064]
nop
cmp al, 0x39
ja 0x1400536b6
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140053690
test edx, edx
je 0x1400536d3
xorps xmm1, xmmword [0x1400a2290]
movaps xmm0, xmm1
jmp 0x1400536db
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400536db
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140092450
add rsp, 0x90
pop rbx
ret
Function at 0x140064b90
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400b3040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], r12
mov rsi, rcx
mov qword [rsp + 0x40], r13
mov r14, r9
mov qword [rsp + 0x38], r15
mov r13, r8
lea r15, [r8 - 1]
mov rdi, rdx
sar r15, 1
mov rbp, rdx
mov rcx, rdx
cmp rdx, r15
jge 0x140064c0d
lea rbx, [rcx + rcx]
mov r8d, dword [rsi + rbx*4 + 4]
lea rcx, [rsp + 0xa0]
mov edx, dword [rsi + rbx*4 + 8]
call fcn.140054690
movzx eax, al
lea rcx, [rbx + 1]
xor rax, 1
add rcx, rax
mov eax, dword [rsi + rcx*4]
mov dword [rsi + rdi*4], eax
mov rdi, rcx
cmp rcx, r15
jl 0x140064bd7
cmp rcx, r15
mov rdi, rcx
mov r15, qword [rsp + 0x38]
jne 0x140064c2c
test r13b, 1
jne 0x140064c2c
mov eax, dword [rsi + r13*4 - 4]
lea rdi, [r13 - 1]
mov dword [rsi + rcx*4], eax
mov rax, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
cmp rbp, rdi
jge 0x140064c81
nop dword [rax + rax]
mov r8d, dword [r14]
lea rbx, [rdi - 1]
sar rbx, 1
lea rcx, [rsp + 0x20]
mov edx, dword [rsi + rbx*4]
call fcn.140054690
test al, al
je 0x140064c81
mov eax, dword [rsi + rbx*4]
mov dword [rsi + rdi*4], eax
mov rdi, rbx
cmp rbp, rbx
jl 0x140064c50
mov eax, dword [r14]
mov dword [rsi + rbx*4], eax
jmp 0x140064c87
mov eax, dword [r14]
mov dword [rsi + rdi*4], eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140092450
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140073190
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x28], rdx
xor r14d, r14d
mov r8, qword [r8 + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400731c0
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r14
test r8, r8
je 0x1400731f3
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400731e0
mov r8, rbx
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x4d8]
call fcn.140081f90
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x140073217
mov rdx, qword [rbp + 0x4e0]
cmp rdx, qword [rbp + 0x4e0]
je 0x140073231
add rdx, 0x30
mov rcx, rsi
call fcn.140054030
jmp 0x140073304
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbp
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140054030
nop
mov qword [rsp + 0xa0], r14
mov ecx, 0x30
call fcn.140092bb4
mov rbx, rax
mov qword [rsp + 0x58], rax
lea rax, str._4_b_
mov qword [rbx], rax
mov rdx, qword [rsp + 0x30]
mov qword [rbx + 8], rdx
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x38]
call fcn.140054030
nop
mov qword [rsp + 0xa0], rbx
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x3c8]
call fcn.1400657d0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400732e4
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400732df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400732df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400928a0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
xor r8d, r8d
lea rdx, [0x140098ee6]
mov rcx, rsi
call fcn.140053d90
mov rax, rsi
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140087460
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400b3040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.14007d240
mov rdi, rax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140054030
mov rdx, rax
lea rcx, [0x1400b6448]
call fcn.1400693a0
nop
movzx edx, byte [rax]
movzx ecx, byte [rdi]
mov byte [rax], cl
mov byte [rdi], dl
lea rcx, [rdi + 8]
mov rdx, qword [rax + 8]
mov r8, qword [rcx]
mov qword [rax + 8], r8
mov qword [rcx], rdx
movzx edx, byte [rdi]
call fcn.1400602a0
nop
mov r8d, 2
lea rdx, [rsp + 0x70]
lea rcx, [0x1400b6448]
call fcn.14007cf90
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.settings.json
lea rcx, [rsp + 0x40]
call fcn.140053d90
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140087599
mov dword [rsp + 0x68], edi
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0xf
cmova rdx, qword [rsp + 0x70]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400875da
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400875d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400875d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400928a0
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x14008761d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140087618
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140087618
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400928a0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140092450
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret
Function at 0x140090370
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400b3040]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400903c2
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140092450
add rsp, 0x58
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, str.G5WL_Assistant
mov qword [rsp + 0x50], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x50]
sete al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140092450
add rsp, 0x58
ret
Function at 0x140091a50
Capabilities:
Initialize winhttp library

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.G5_Worklog_Assistant_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [0x1400b5d70], rax
add rsp, 0x38
ret
Function at 0x140093348
Capabilities:
Parse pe header

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

Disassembly:
push rbx
push r14
sub rsp, 0x48
lea rdx, [rsp + 0x30]
xor r14d, r14d
mov rcx, r8
mov dword [rsp + 0x30], r14d
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
test rax, rax
jne 0x140001241
lea eax, [rbx + 1]
add rsp, 0x48
pop r14
pop rbx
ret
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov esi, dword [rsp + 0x30]
cmp esi, 1
mov qword [rsp + 0x70], rdi
mov edi, r14d
setle bpl
test esi, esi
jle 0x140001361
mov qword [rsp + 0x40], r15
lea r15, str.__directory
test bpl, bpl
jne 0x14000135c
mov r11, qword [rbx]
mov r10d, r14d
mov r9, r15
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [r9 - 0x10]
mov rax, r11
sub r8, r11
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400012b4
add rax, 2
test ecx, ecx
jne 0x1400012a0
test edx, edx
je 0x14000131e
mov r8, qword [r9 - 8]
mov rax, r11
sub r8, r11
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400012d6
add rax, 2
test ecx, ecx
jne 0x1400012c2
test edx, edx
je 0x14000131e
mov r8, qword [r9]
test r8, r8
je 0x140001308
mov rax, r11
sub r8, r11
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140001304
add rax, 2
test ecx, ecx
jne 0x1400012f0
test edx, edx
je 0x14000131e
inc r10d
add r9, 0x30
movsxd rax, r10d
cmp rax, 0xb
jb 0x140001290
jmp 0x14000134b
mov rcx, r14
cmp byte [r9 + 0x18], cl
je 0x140001338
lea eax, [rsi - 1]
cmp edi, eax
jge 0x14000134b
mov rcx, qword [rbx + 8]
inc edi
add rbx, 8
mov rax, qword [r9 + 0x10]
test rax, rax
je 0x14000134b
call rax
mov esi, dword [rsp + 0x30]
test al, al
jne 0x14000134e
mov bpl, 1
inc edi
add rbx, 8
cmp edi, esi
jl 0x140001272
mov r15, qword [rsp + 0x40]
cmp word [0x140046f10], r14w
mov rsi, qword [rsp + 0x68]
je 0x140001468
test bpl, bpl
jne 0x140001468
cmp word [0x140046c80], r14w
lea rdx, [0x140046d00]
setne cl
call fcn.140006f90
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvContainer.cpp
mov r9d, 3
mov rdi, rax
mov eax, dword [section..data]
mov r8d, 0x144
mov dword [rdi + 8], eax
lea rax, [0x140035b14]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, str.Container_main_v_s
mov qword [rsp + 0x20], rax
call fcn.140006ce0
mov ecx, dword [0x140046f08]
lea rdx, [0x140046c80]
mov r8, rdi
call fcn.140002150
lea rdx, [0x140046f10]
mov rcx, rax
mov eax, dword [0x140046f0c]
mov dword [rcx + 0x360], eax
mov r8d, dword [0x140045004]
call fcn.140002600
lea rcx, str.error
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvContainer.cpp
movzx ebx, al
lea rax, str.success
mov r9d, 3
test bl, bl
mov r8d, 0x14d
cmovne rcx, rax
lea rax, str.Container_main_exited_with__s
mov qword [rsp + 0x28], rcx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140006ce0
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
test bl, bl
sete r14b
mov eax, r14d
add rsp, 0x48
pop r14
pop rbx
ret
call fcn.140001160
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov eax, 2
add rsp, 0x48
pop r14
pop rbx
ret
Function at 0x140001f30
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x290
mov rax, qword [0x140045270]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, rcx
xor ebp, ebp
xor edx, edx
lea ecx, [rbp + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001f9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [r14 + 0x10]
lea r9d, [rbp + 1]
mov dword [rsp + 0x28], eax
lea rax, str.Failed_to_create_TH_snapshot._System_error__lu
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcHost.cpp
mov r8d, 0x1b8
mov qword [rsp + 0x20], rax
call fcn.140006ce0
jmp 0x1400020e9
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x234
call fcn.140009800
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov dword [rsp + 0x40], 0x238
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x140001ffd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [r14 + 0x10]
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcHost.cpp
mov dword [rsp + 0x28], eax
lea rax, str.Failed_start_walking_TH_snapshot._System_error__lu
mov r9d, 1
mov r8d, 0x1c1
mov qword [rsp + 0x20], rax
call fcn.140006ce0
jmp 0x1400020e0
mov qword [rsp + 0x2b8], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x2c0], rsi
mov ebx, eax
cmp dword [rsp + 0x48], ebx
je 0x14000202e
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140002015
jmp 0x140002036
mov esi, dword [rsp + 0x60]
test esi, esi
jne 0x140002064
mov rcx, qword [r14 + 0x10]
lea rax, str.Failed_find_our_PID__lu_in_TH_snapshot
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcHost.cpp
mov r9d, 1
mov r8d, 0x1d2
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.140006ce0
jmp 0x1400020d0
mov r8d, esi
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x14000209a
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
mov r9d, 3
lea rax, str.Open_parent_process__p_for_PID__lu
mov r8d, 0x1d9
jmp 0x1400020bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 1
mov r8d, 0x1dd
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
lea rax, str.Failed_open_parent_process_for_PID__lu._System_error__lu
mov rcx, qword [r14 + 0x10]
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcHost.cpp
mov qword [rsp + 0x20], rax
call fcn.140006ce0
mov rsi, qword [rsp + 0x2c0]
mov rbx, qword [rsp + 0x2b8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbp
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400097d0
add rsp, 0x290
pop r14
pop rdi
pop rbp
ret