joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006d778
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov r13, r8
mov rsi, rdx
mov rbp, rcx
movzx eax, byte [r8]
mov edx, eax
movabs rcx, 0xcbf29ce484222325
xor rdx, rcx
movabs rcx, 0x100000001b3
imul rdx, rcx
mov qword [rsp + 0x60], rdx
mov rcx, qword [rbp + 0x30]
and rcx, rdx
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rbx, qword [rdx + rcx*8 + 8]
lea r8, [rbp + 8]
mov r12, qword [r8]
cmp rbx, r12
jne 0x18006d7e4
mov rbx, r12
mov r14, r12
jmp 0x18006d81f
mov rdx, qword [rdx + rcx*8]
jmp 0x18006d7f3
cmp rbx, rdx
je 0x18006d819
mov rbx, qword [rbx + 8]
cmp al, byte [rbx + 0x10]
jne 0x18006d7ea
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov r12, rbx
mov r14, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [rbp + 0x10], rax
je 0x18006d96f
mov qword [rsp + 0x20], r8
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.1800c0af4
mov rdi, rax
mov qword [rsp + 0x28], rax
mov cl, byte [r13]
mov byte [rax + 0x10], cl
and qword [rax + 0x18], 0
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x18006d870
cvtsi2ss xmm0, rcx
jmp 0x18006d885
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18006d898
cvtsi2ss xmm1, rcx
jmp 0x18006d8ad
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x18006d913
mov rcx, rbp
call fcn.18006d97c
mov rcx, qword [rbp + 0x30]
mov r9, qword [rsp + 0x60]
and rcx, r9
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x18006d8fd
mov r8, qword [rdx + rcx*8]
mov cl, byte [rdi + 0x10]
jmp 0x18006d8f5
mov rbx, rax
cmp rax, r8
je 0x18006d90c
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x18006d8e9
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
jmp 0x18006d918
mov qword [rsp + 0x20], rax
jmp 0x18006d902
mov r9, qword [rsp + 0x60]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r9
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x18006d94c
mov qword [rcx + rax*8], rdi
jmp 0x18006d95e
cmp r8, r14
jne 0x18006d957
mov qword [rcx + rax*8], rdi
jmp 0x18006d963
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18006d963
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18006d7ff
lea rcx, str.unordered_map_set_too_long
call fcn.1800bdbd4
int3
Function at 0x18006d97c
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov edi, 1
add rdx, rdi
mov rbx, qword [rcx + 0x38]
mov rsi, rcx
xorps xmm0, xmm0
js 0x18006d9b0
cvtsi2ss xmm0, rdx
jmp 0x18006d9c5
mov rax, rdx
and rdx, rdi
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1800eae84
movss xmm1, dword [0x18016faf8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18006d9f3
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18006d9f3
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x18006da21
cmp rbx, 0x200
jae 0x18006da1e
shl rbx, 3
cmp rbx, rcx
jae 0x18006da21
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rdi
shl rax, cl
cmp rbx, rax
ja 0x18006db79
lea rax, [rbx - 1]
mov rbx, qword [rsi + 8]
or rax, rdi
mov r8, rbx
bsr rcx, rax
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001d384
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18006db3d
movzx r8d, byte [rax + 0x10]
movabs r9, 0xcbf29ce484222325
mov r11, qword [rsi + 0x30]
mov edx, r8d
mov rdi, qword [rsi + 0x18]
xor rdx, r9
mov rcx, qword [rcx]
movabs r9, 0x100000001b3
imul rdx, r9
and r11, rdx
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18006dac6
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18006db31
mov r10, qword [rdi + r11*8 + 8]
cmp r8b, byte [r10 + 0x10]
jne 0x18006db06
mov r10, qword [r10]
cmp r10, rax
je 0x18006dabf
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18006dabf
mov r10, qword [r10 + 8]
cmp r8b, byte [r10 + 0x10]
je 0x18006db53
cmp qword [rdi + r11*8], r10
jne 0x18006dafc
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18006da81
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18006db31
lea rcx, str.invalid_hash_bucket_count
call fcn.1800bdbd4
int3
Function at 0x18006e8f8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x180188140]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r10, qword [rcx]
xor ebp, ebp
mov r9d, ebp
mov rsi, rcx
movabs r8, 0xcbf29ce484222325
movzx eax, byte [r10 + r9]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 8
jb 0x18006e940
mov rax, qword [rdx + 0x30]
mov rcx, qword [rdx + 0x18]
and rax, r8
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, qword [rdx + 8]
je 0x18006e992
mov r8, qword [rcx + rax*8]
mov rax, qword [r10]
jmp 0x18006e98a
cmp rbx, r8
je 0x18006e992
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x18006e981
jmp 0x18006e995
mov rbx, rbp
test rbx, rbx
cmove rbx, qword [rdx + 8]
cmp rbx, qword [rdx + 8]
je 0x18006eaeb
cmp qword [rbx + 0x38], rbp
je 0x18006eaeb
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
dec rcx
and rcx, qword [rbx + 0x30]
mov rdx, qword [rax + rcx*8]
movups xmm7, xmmword [rdx]
movups xmm6, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x28], xmm7
movups xmmword [rsp + 0x38], xmm6
mov qword [rdx + 0x10], rbp
mov qword [rdx + 0x18], send
mov byte [rdx], bpl
movups xmm8, xmmword [rdx + 0x20]
mov rcx, qword [rbx + 0x28]
mov rax, qword [rbx + 0x20]
dec rcx
and rcx, qword [rbx + 0x30]
movups xmmword [rsp + 0x48], xmm8
mov rdi, qword [rax + rcx*8]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x18006ea3c
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x18006ea37
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006eb22
mov rcx, r8
call fcn.1800c0630
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], send
mov byte [rdi], bpl
sub qword [rbx + 0x38], 1
jne 0x18006ea58
mov qword [rbx + 0x30], rbp
jmp 0x18006ea5c
inc qword [rbx + 0x30]
mov rax, qword [rsi + 8]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsi + 0x10]
movq rbx, xmm7
mov rdi, qword [rax]
movq rax, xmm6
mov rcx, qword [rcx]
cmp rax, rdi
psrldq xmm6, 8
cmovb rdi, rax
movq rbp, xmm6
cmp rbp, 0xf
mov r8, rdi
cmova rdx, rbx
call fcn.1800eb000
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rax, qword [rsi + 0x20]
movdqu xmmword [rcx], xmm8
mov rcx, qword [rax]
mov dword [rcx], reloc.WS2_32.dll_recv
cmp rbp, 0xf
jbe 0x18006eae6
lea rdx, [rbp + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18006eade
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006eb22
mov rcx, rbx
call fcn.1800c0630
mov rax, rdi
jmp 0x18006eaed
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800c0610
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
ret
call fcn.1800c6ae4
int3
Function at 0x18006f3e4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x18006f414
cvtsi2ss xmm0, rdx
jmp 0x18006f429
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1800eae84
movss xmm1, dword [0x18016faf8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18006f457
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18006f457
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x18006f485
cmp rbx, 0x200
jae 0x18006f482
shl rbx, 3
cmp rbx, rcx
jae 0x18006f485
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x18006f5f0
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001d384
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18006f5b4
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r9, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r9
cmp r8, 8
jb 0x18006f4fd
and r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18006f539
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18006f5a8
mov r10, qword [rdi + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x18006f57d
mov r10, qword [r10]
cmp r10, rax
je 0x18006f532
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18006f532
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x18006f5ca
cmp qword [rdi + r11*8], r10
jne 0x18006f573
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18006f4ed
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18006f5a8
lea rcx, str.invalid_hash_bucket_count
call fcn.1800bdbd4
int3
Function at 0x180076234
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1801923cc]
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x180199670], eax
jg 0x18007627d
cmp byte [0x180199674], 0
jne 0x180076278
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
lea rcx, [0x180199670]
call fcn.1800c06e0
cmp dword [0x180199670], 0xffffffff
jne 0x18007625b
call fcn.1800762ac
mov byte [0x180199674], al
lea rcx, [0x180199670]
call fcn.1800c0674
jmp 0x18007625b
Function at 0x180078308
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x180188140]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov ebx, 0x104
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1800eb6a0
mov edx, ebx
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._XInput9_1_0.dll
lea rcx, [rsp + 0x48]
call fcn.18001b374
nop
lea rax, [rbp - 0x70]
or r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x180078383
lea r8, [rbp - 0x70]
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.180028614
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov esi, 0x1000
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180078427
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, rsi
jb 0x180078422
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007852b
call fcn.1800c0630
movdqa xmm0, xmmword [0x18016fb40]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x18007847b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, rsi
jb 0x18007846e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180078531
call fcn.1800c0630
movdqa xmm0, xmmword [0x18016fb40]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, 0x15
lea rdx, [0x180168d70]
lea rcx, [rsp + 0x68]
call fcn.18001b374
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1800784fe
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, rsi
jb 0x1800784f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180078525
call fcn.1800c0630
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800c0610
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1800c6ae4
nop
call fcn.1800c6ae4
nop
call fcn.1800c6ae4
int3
Function at 0x1800785b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x180188140]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov ebx, 0x104
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1800eb6a0
mov edx, ebx
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._XInput9_1_0.dll
lea rcx, [rsp + 0x68]
call fcn.18001b374
nop
lea rax, [rbp - 0x70]
or r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x18007862b
lea r8, [rbp - 0x70]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.180028614
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov esi, 0x1000
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1800786cf
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, rsi
jb 0x1800786ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800787d8
call fcn.1800c0630
movdqa xmm0, xmmword [0x18016fb40]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180078722
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, rsi
jb 0x180078715
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800787de
call fcn.1800c0630
movdqa xmm0, xmmword [0x18016fb40]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
and word [rsp + 0x56], 0
movdqa xmm0, xmmword [0x18016fc00]
movdqu xmmword [rsp + 0x58], xmm0
movsd xmm0, qword [0x180168d88]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x180168d90]
mov dword [rsp + 0x50], eax
movzx eax, word [0x180168d94]
mov word [rsp + 0x54], ax
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1800787ab
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, rsi
jb 0x1800787a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800787d2
call fcn.1800c0630
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800c0610
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1800c6ae4
nop
call fcn.1800c6ae4
nop
call fcn.1800c6ae4
int3
Function at 0x18007885c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x180188140]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov ebx, 0x104
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1800eb6a0
mov edx, ebx
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._XInput9_1_0.dll
lea rcx, [rsp + 0x68]
call fcn.18001b374
nop
lea rax, [rbp - 0x70]
or r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x1800788d7
lea r8, [rbp - 0x70]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.180028614
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov esi, 0x1000
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x18007897b
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, rsi
jb 0x180078976
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180078a84
call fcn.1800c0630
movdqa xmm0, xmmword [0x18016fb40]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1800789ce
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, rsi
jb 0x1800789c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180078a8a
call fcn.1800c0630
movdqa xmm0, xmmword [0x18016fb40]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
and word [rsp + 0x56], 0
movdqa xmm0, xmmword [0x18016fc00]
movdqu xmmword [rsp + 0x58], xmm0
movsd xmm0, qword [0x180168d98]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x180168da0]
mov dword [rsp + 0x50], eax
movzx eax, word [0x180168da4]
mov word [rsp + 0x54], ax
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x180078a57
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, rsi
jb 0x180078a52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180078a7e
call fcn.1800c0630
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800c0610
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1800c6ae4
nop
call fcn.1800c6ae4
nop
call fcn.1800c6ae4
int3
Function at 0x180080e8c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
xor r14d, r14d
mov dword [rax - 0x38], r14d
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
lea r15d, [r14 + 1]
mov dword [rax - 0x38], r15d
mov rax, qword [rcx]
test rax, rax
je 0x180080eda
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180080eda
movsxd rdi, dword [rax + 0x3c]
add rdi, rax
jmp 0x180080edd
mov rdi, r14
movzx eax, word [rdi + 0x14]
lea rsi, [rdi + 0x18]
add rsi, rax
mov qword [rsp + 0x60], rsi
movzx ebp, r14w
cmp r14w, word [rdi + 6]
jae 0x180080f46
mov rax, rsi
test rax, rax
je 0x180080f23
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x180080f14
mov qword [rdx], rsi
add qword [rbx + 8], 8
jmp 0x180080f30
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.18002ed38
jmp 0x180080f30
lea rcx, str.There_was_an_invalid_section_:O
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add bp, r15w
add rsi, 0x28
mov qword [rsp + 0x60], rsi
mov rax, rsi
cmp bp, word [rdi + 6]
jb 0x180080efb
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x180081498
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
lea rdx, [fcn.180081498]
lea rcx, [rax + 0x18]
call fcn.180080e5c
movzx edx, bx
mov r8d, 0xa
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
jne 0x1800814fd
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
and qword [rdi + 0x10], 0
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], send
mov byte [rdi], 0
jmp 0x180081546
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x1800814e0
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
xorps xmm0, xmm0
mov r8d, ebx
movups xmmword [rdi], xmm0
and qword [rdi + 0x10], 0
mov rdx, rax
and qword [rdi + 0x18], 0
mov rcx, rdi
call fcn.18001b374
mov rbx, qword [rsp + 0x40]
mov rax, rdi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18008215c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and dword [rsp + 0x40], 0
lea r9, [rsp + 0x40]
mov r8d, 0x40
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rbx
mov edx, 0x90
mov rcx, rdi
call fcn.1800eb6a0
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret