joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a7510
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x1402f2300]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rbx, rcx
mov dword [rsp + 0x34], 0x186a0
mov rcx, qword [rcx]
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.14008a830
test eax, eax
js 0x1400a7624
mov rcx, qword [rbx]
mov dword [rbp + 0x360], edi
mov dword [rbp + 0x150], edi
mov dword [rsp + 0x40], edi
call fcn.14008a830
movsxd rcx, eax
mov eax, dword [rbp + 0x360]
mov qword [rbp + rax*8 + 0x368], rcx
mov rcx, qword [rbx]
inc dword [rbp + 0x360]
call fcn.14008a840
mov rcx, rax
call fcn.1400a8390
test al, al
jne 0x1400a75c7
cmp dword [rbp + 0x150], 0x40
jae 0x1400a75c7
mov rcx, qword [rbx]
call fcn.14008a830
movsxd rcx, eax
mov eax, dword [rbp + 0x150]
mov qword [rbp + rax*8 + 0x158], rcx
inc dword [rbp + 0x150]
cmp dword [rsp + 0x40], 0x40
jae 0x1400a75e6
mov rcx, qword [rbx]
call fcn.14008a830
movsxd rcx, eax
mov eax, dword [rsp + 0x40]
mov qword [rsp + rax*8 + 0x48], rcx
inc dword [rsp + 0x40]
mov rcx, qword [rbx]
call fcn.14008a830
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x150]
lea ecx, [rax + 1]
lea rdx, [rbp + 0x360]
call sub.WS2_32.dll_select
test eax, eax
je 0x1400a7624
mov rcx, qword [rbx]
jns 0x1400a764a
mov rax, qword [rcx]
mov dl, 1
call qword [rax + reloc.WS2_32.dll_htonl]
xor al, al
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14014d830
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14008a830
test eax, eax
js 0x1400a7624
mov rcx, qword [rbx]
call fcn.14008a830
movsxd rcx, eax
lea rdx, [rsp + 0x40]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1400a7674
mov rcx, qword [rbx]
call fcn.14008ab20
mov rcx, qword [rbx]
call fcn.14008a830
test eax, eax
js 0x1400a7624
mov rcx, qword [rbx]
call fcn.14008a830
movsxd rcx, eax
lea rdx, [rbp + 0x150]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1400a76a4
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rbx]
call fcn.14008a830
test eax, eax
js 0x1400a7624
mov rcx, qword [rbx]
call fcn.14008a830
movsxd rcx, eax
lea rdx, [rbp + 0x360]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1400a772b
mov edx, dword [rbx + 0xa0]
lea rcx, [rbx + 0x78]
mov qword [rsp + 0x698], rsi
mov esi, dword [rbx + 0x80]
sub esi, dword [rbx + 0x78]
call fcn.1400a7d70
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x80]
sub r8, qword [rbx + 0x78]
movsxd rdx, esi
mov rax, qword [rcx]
sub r8, rdx
add rdx, qword [rbx + 0x78]
mov r9, qword [rax + 0x10]
call r9
test eax, eax
jle 0x1400a7723
add eax, esi
lea rcx, [rbx + 0x78]
movsxd rdx, eax
call fcn.1400a7d70
mov rsi, qword [rsp + 0x698]
mov al, 1
jmp 0x1400a7626

Function at 0x1400a7e00
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
lea r8, [0x1400a7d60]
mov rbx, rcx
mov qword [rsp + 0x28], rax
mov r9, rcx
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x98], rax
add rsp, 0x30
pop rbx
ret
Function at 0x1400a83a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, rcx
mov rbx, rdx
mov rcx, rdx
call fcn.1400881f0
mov rcx, rbx
mov rdi, rax
call fcn.1400a3910
mov rcx, rbx
sub rdi, rax
call fcn.1400a3910
mov r14, rax
test rdi, rdi
jne 0x1400a83e7
xor ecx, ecx
mov eax, ecx
jmp 0x1400a8462
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x30], rsi
cmp qword [rbp + 0x10], rax
je 0x1400a8412
mov rdx, rax
lea rcx, [rbp + 0x10]
mov r9, rdi
mov r8, r14
call fcn.1400a7fd0
mov rcx, rbp
call fcn.1400a8480
jmp 0x1400a845d
movsxd rcx, dword [rbp + 8]
xor r9d, r9d
mov r8d, edi
mov rdx, r14
call sub.WS2_32.dll_send
xor ecx, ecx
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400a8433
test eax, eax
jg 0x1400a8433
mov ebx, ecx
mov rax, rdi
cmp ebx, eax
jge 0x1400a845b
mov rdx, qword [rbp + 0x18]
test ebx, ebx
mov eax, ebx
cmovs eax, ecx
lea rcx, [rbp + 0x10]
movsxd r8, eax
add r8, r14
sub rdi, r8
lea r9, [r14 + rdi]
call fcn.1400a7fd0
mov eax, ebx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400a8480
Capabilities:
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x40
mov r8, qword [rcx + 0x18]
lea rdi, [rcx + 0x10]
mov rdx, qword [rdi]
cmp rdx, r8
jne 0x1400a849e
xor eax, eax
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x58], rsi
sub r8, rdx
je 0x1400a84cd
movsxd rcx, dword [rcx + 8]
xor r9d, r9d
call sub.WS2_32.dll_send
movsxd rsi, eax
cmp esi, 0xffffffff
jne 0x1400a84c9
mov eax, esi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
test eax, eax
jg 0x1400a84da
mov rsi, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x50], rbx
mov rbx, qword [rdi]
mov qword [rsp + 0x60], r14
mov r14, qword [rdi + 8]
cmp rbx, r14
je 0x1400a8581
mov rax, r14
sub rax, rbx
cmp rsi, rax
jne 0x1400a8562
mov rax, qword [rdi + 0x10]
sub rax, rbx
cmp rax, 0x100000
jb 0x1400a855c
lea rax, [rsp + 0x20]
cmp rax, rdi
je 0x1400a8581
xor eax, eax
mov qword [rdi], rax
mov rdx, qword [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rax
test rbx, rbx
je 0x1400a8581
sub rdx, rbx
cmp rdx, 0x1000
jb 0x1400a8552
mov rcx, qword [rbx - 8]
add rdx, 0x27
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400a8598
mov rbx, rcx
mov rcx, rbx
call fcn.14014d4dc
jmp 0x1400a8581
mov qword [rdi + 8], rbx
jmp 0x1400a8581
lea rdx, [rsi + rbx]
cmp rbx, rdx
je 0x1400a8581
sub r14, rdx
mov rcx, rbx
mov r8, r14
call fcn.140180c80
lea rax, [r14 + rbx]
mov qword [rdi + 8], rax
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.1401538c4
int3
Function at 0x1400afb10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, qword [0x1402f5620]
lea r8, [0x1401943b9]
mov r10d, 0xffffffff
lea r11, [0x1401924a0]
mov ecx, r10d
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400afb53
cmp byte [r8], r9b
jne 0x1400afb53
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 0x1400afb40
not ecx
call fcn.1400b4dc0
cmp byte [rbx + 0x104], 0
je 0x1400afb93
test rax, rax
je 0x1400afb93
cmp byte [rax + 0xcb], 0
je 0x1400afb93
mov dil, 1
jmp 0x1400afb96
xor dil, dil
movss xmm3, dword [0x1401949fc]
lea rcx, [rbx + 0x1e00]
movss xmm1, dword [rbx + 0xd20]
lea rdx, [rsp + 0x30]
movss xmm4, dword [0x14018e3bc]
xorps xmm2, xmm2
movaps xmm0, xmm4
mov dword [rsp + 0x30], 4
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [rbx + 0xd24]
movss dword [rsp + 0x20], xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [rbx + 0xd28]
subss xmm2, xmm1
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rbx + 0xd2c]
subss xmm4, xmm0
mulss xmm2, xmm3
addss xmm2, xmm1
mulss xmm4, xmm3
addss xmm4, xmm0
movss dword [rsp + 0x28], xmm2
movups xmm0, xmmword [rbx + 0xd20]
movups xmmword [rsp + 0x34], xmm0
movss dword [rsp + 0x2c], xmm4
call fcn.140086cd0
cmp dword [rbx + 0x1dfc], 4
je 0x1400afc51
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0xd20], xmm0
test dil, dil
je 0x1400afc87
mov rax, qword [0x1402f5620]
or dword [rax + 0x1d88], 1
movsd xmm0, qword [rbx + 0x2678]
xor edx, edx
mov qword [rax + 0x1da0], rdx
movsd qword [rax + 0x1d98], xmm0
mov dword [rax + 0x1d8c], 1
xor edx, edx
lea rcx, str.Tooltip_Error
mov r8d, 0x200016f
call fcn.1400ad080
mov ecx, 1
movzx edi, al
call fcn.1400bf0f0
test dil, dil
je 0x1400afd19
mov rcx, qword [rbx + 0x1368]
cmp word [rcx + 0xd8], 1
jne 0x1400afd1e
lea rcx, str.MESSAGE_FROM_DEAR_IMGUI
call fcn.1400ebce0
mov rcx, qword [rbx + 0x1368]
call fcn.1400b0440
mov rcx, qword [rbx + 0x1368]
call fcn.1400b04f0
mov rax, qword [0x1402f5620]
mov rcx, qword [rax + 0x1368]
movzx eax, dil
movss xmm0, dword [rcx + 0x28]
movss xmm1, dword [rcx + 0x2c]
movss dword [rbx + 0x2678], xmm0
movss dword [rbx + 0x267c], xmm1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.1400b2ba0
mov rbx, qword [rsp + 0x60]
movzx eax, dil
add rsp, 0x50
pop rdi
ret
Function at 0x1400b4d20
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1402f5620]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400b4d83
mov qword [rsp], rbx
lea rbx, [0x1401924a0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400b4d63
cmp byte [r8], r9b
jne 0x1400b4d63
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 0x1400b4d50
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x2580]
not eax
mov r8, qword [r10 + 0x2588]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1400b4daf
cmp dword [r8 + 8], eax
je 0x1400b4db6
add r8, 0x48
cmp r8, rcx
jne 0x1400b4da0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret

Function at 0x1400b4e40
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x1400b4e90
lea r11, [0x1401924a0]
cmp r9b, 0x23
jne 0x1400b4e73
cmp byte [r8], r9b
jne 0x1400b4e73
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 0x1400b4e60
not ecx
jmp fcn.1400b4dc0

Function at 0x1400b5700
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x1401924a0]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x13c0], ebx
jne 0x1400b579b
mov r8, r10
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.1400b2310
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400b5830
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
movsxd r8, ecx
not ebx
movzx eax, r8b
movzx edx, bl
lea r9, [0x1401924a0]
xor rdx, rax
shr ebx, 8
mov eax, r8d
sar eax, 8
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
sar eax, 0x10
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [0x1402f5620]
xor ebx, dword [r9 + rdx*4]
not ebx
cmp dword [rcx + 0x13c0], ebx
jne 0x1400b58b7
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.1400b2310
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400b64e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x1400b64fb
mov qword [r8], 0
call fcn.1400b6600
mov rbx, rax
test rax, rax
jne 0x1400b6511
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call fcn.140162408
mov esi, eax
cmp eax, 0xffffffff
je 0x1400b65d4
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.140154e3c
test eax, eax
jne 0x1400b65d4
mov rcx, rbx
call fcn.140162408
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400b65d4
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140154e3c
test eax, eax
jne 0x1400b65d4
cmp rdi, 0xffffffffffffffff
je 0x1400b65d4
lea rcx, [rdi + rbp]
call fcn.1400b9330
mov rsi, rax
test rax, rax
je 0x1400b65d4
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140154a34
cmp rax, rdi
je 0x1400b65ad
mov rcx, rbx
call fcn.140153f90
mov rcx, rsi
call fcn.1400b93e0
jmp 0x1400b65dc
test ebp, ebp
jle 0x1400b65bf
lea rcx, [rdi + rsi]
mov r8, rbp
xor edx, edx
call fcn.140181400
mov rcx, rbx
call fcn.140153f90
test r14, r14
je 0x1400b65cf
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400b65de
mov rcx, rbx
call fcn.140153f90
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x1400b6b30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400b6b8d
lea rbx, [0x1401924a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400b6b74
cmp r10, 2
jb 0x1400b6b74
cmp byte [r9], r8b
jne 0x1400b6b74
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400b6b50
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400b6bcf
lea rbx, [0x1401924a0]
cmp r8b, 0x23
jne 0x1400b6bb3
cmp byte [r9], r8b
jne 0x1400b6bb3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400b6ba0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400dbc00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x1402f5620]
mov r10, rcx
mov r9, qword [rcx + 0x188]
movsxd rax, edx
imul rbx, rax, 0x74
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x74], edx
test dword [rbx], 0x10000
movss xmm2, dword [rbx + 0x38]
je 0x1400dbc43
addss xmm2, dword [rcx + 0x90]
movaps xmm0, xmm2
lea rsi, [r9 + 0x118]
subss xmm0, dword [r9 + 0x28]
movss dword [rsi], xmm2
movss xmm1, dword [rcx + 0x88]
addss xmm1, dword [rcx + 0x7c]
movss dword [r9 + 0x130], xmm2
subss xmm0, dword [r9 + 0x15c]
movss dword [r9 + 0x120], xmm2
movss dword [r9 + 0x11c], xmm1
movss dword [r9 + 0x160], xmm0
mov eax, dword [rcx + 0x8c]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x6e]
mov dword [r9 + 0x170], eax
movss dword [r9 + 0x234], xmm1
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x230], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x40]
mov dword [r9 + 0x1d8], eax
movzx eax, byte [rbx + 0x6c]
mov byte [r9 + 0xcf], al
cmp byte [rbx + 0x6c], 0
je 0x1400dbcef
xor eax, eax
mov dword [rdi + 0x1d38], eax
mov dword [rdi + 0x1d40], eax
test dword [rcx + 4], 0x100000
je 0x1400dbd00
mov r8d, 2
jmp 0x1400dbd7a
movups xmm0, xmmword [rbx + 0x24]
mov rax, qword [r9 + 0x2b0]
movss xmm4, dword [rbx + 0x24]
movss xmm3, dword [rbx + 0x28]
movss xmm2, dword [rbx + 0x2c]
movss xmm1, dword [rbx + 0x30]
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 + 0x60], xmm4
movss dword [rax + 0x64], xmm3
movss dword [rax + 0x68], xmm2
movss dword [rax + 0x6c], xmm1
mov rax, qword [r9 + 0x2b0]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x98]
mov rcx, qword [rax + 0xa0]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, word [rbx + 0x60]
mov rdx, qword [r9 + 0x2b0]
mov rcx, qword [r10 + 0x1a0]
call fcn.1400d16c0
cmp byte [rdi + 0x2618], 0
je 0x1400dbdb8
cmp byte [rbx + 0x6c], 0
jne 0x1400dbdb8
xor r8d, r8d
lea rdx, [0x14018f1c8]
mov rcx, rsi
call fcn.1400b8f90
mov dword [rdi + 0x2650], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400de7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1402f5620]
mov r8, qword [rax + 0x2188]
cmp ecx, 0xffffffff
jne 0x1400de800
cmp dword [r8 + 0x74], ecx
cmovne ecx, dword [r8 + 0x74]
cmp ecx, dword [r8 + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [r8 + 4], 7
je 0x1400de84b
movzx eax, word [r8 + 0x78]
xor edx, edx
mov word [r8 + 0x224], cx
lea rcx, str.ContextMenu
mov word [r8 + 0x7a], ax
mov byte [r8 + 0x23b], 1
mov r8d, dword [r8]
call fcn.1400b6b30
xor edx, edx
mov ecx, eax
add rsp, 0x28
jmp fcn.1400be740
add rsp, 0x28
ret
Function at 0x1400f02e0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
xor edx, edx
jmp 0x1400f02f0
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x90
mov rax, qword [0x1402f2300]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbp, rcx
call fcn.1400b5920
mov qword [rsp + 0x30], 2
lea rcx, str.1.91.5
mov qword [rsp + 0x28], socket
mov edx, 0xba0
mov r9d, 8
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r8d, 0x484
mov rdi, rax
call fcn.1400b2280
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400f04de
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400f04de
mov qword [rsp + 0xa0], rbx
mov ecx, 0x50
mov qword [rsp + 0xa8], rsi
call fcn.1400b9330
xor ebx, ebx
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x1400f03b9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x1400f03bc
mov rsi, rbx
or dword [rdi + 4], 6
lea rax, str.imgui_impl_win32
mov qword [rdi + 0x88], rax
xor ecx, ecx
mov qword [rdi + 0x98], rsi
mov qword [rsi], rbp
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x28], 9
mov rdi, qword [rdi + 0x98]
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rdi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400f0423
mov dword [rdi + 0x2c], ebx
call fcn.1400b5e60
mov rcx, qword [rsi]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x28], rcx
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x60], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x80], rax
mov byte [rsi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x1400f049e
inc rbx
cmp rbx, 5
jl 0x1400f0480
jmp 0x1400f04ca
lea rdx, str.XInputGetCapabilities
mov qword [rsi + 0x38], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [rsi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
mov rsi, qword [rsp + 0xa8]
mov al, 1
mov rbx, qword [rsp + 0xa0]
jmp 0x1400f04e0
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14014d830
mov rbp, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x1400f02f0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
xor edx, edx
jmp 0x1400f02f0
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x90
mov rax, qword [0x1402f2300]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbp, rcx
call fcn.1400b5920
mov qword [rsp + 0x30], 2
lea rcx, str.1.91.5
mov qword [rsp + 0x28], socket
mov edx, 0xba0
mov r9d, 8
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r8d, 0x484
mov rdi, rax
call fcn.1400b2280
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400f04de
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400f04de
mov qword [rsp + 0xa0], rbx
mov ecx, 0x50
mov qword [rsp + 0xa8], rsi
call fcn.1400b9330
xor ebx, ebx
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x1400f03b9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x1400f03bc
mov rsi, rbx
or dword [rdi + 4], 6
lea rax, str.imgui_impl_win32
mov qword [rdi + 0x88], rax
xor ecx, ecx
mov qword [rdi + 0x98], rsi
mov qword [rsi], rbp
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x28], 9
mov rdi, qword [rdi + 0x98]
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rdi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400f0423
mov dword [rdi + 0x2c], ebx
call fcn.1400b5e60
mov rcx, qword [rsi]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x28], rcx
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x60], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x80], rax
mov byte [rsi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x1400f049e
inc rbx
cmp rbx, 5
jl 0x1400f0480
jmp 0x1400f04ca
lea rdx, str.XInputGetCapabilities
mov qword [rsi + 0x38], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [rsi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
mov rsi, qword [rsp + 0xa8]
mov al, 1
mov rbx, qword [rsp + 0xa0]
jmp 0x1400f04e0
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14014d830
mov rbp, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x1400f1300
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx + 0x98]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400f1338
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret