joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002380
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400023ad
xor eax, eax
jmp 0x140002519
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400023e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400023e7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002519
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000250c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000242a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002455
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002511
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400024c4
sub eax, 1
je 0x1400024c4
cmp eax, 2
jne 0x14000250c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002511
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400024f2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000250c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002511
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003cb0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400028e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400029b3
cmp byte [rcx + 0x71], 0
je 0x1400029b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400029af
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002974
sub eax, 1
je 0x140002978
cmp eax, 2
jne 0x1400029af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003cb0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400029a6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400029af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000295c
xor al, al
jmp 0x14000295c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003cb0
add rsp, 0x60
pop rbx
ret

Function at 0x140002f10
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140002ff8
nop dword [rax]
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx + 0x40]
lea rcx, [rsp + 0x230]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, rsi
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov edx, 0x104
lea rcx, [rsp + 0x230]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x230]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
jne 0x14000301f
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140002f60
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140003cb0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x140002ffa
Function at 0x140003030
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xf0
mov edi, edx
mov r8, rcx
test rcx, rcx
je 0x140003174
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140003174
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140003174
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp]
xor r9d, r9d
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov eax, dword [rsp + 0x70]
add rax, r8
mov r10d, dword [rax + 0x20]
mov ebp, dword [rax + 0x1c]
add r10, r8
mov r11d, dword [rax + 0x24]
add rbp, r8
mov esi, dword [rax + 0x14]
add r11, r8
test esi, esi
je 0x140003174
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r11]
mov ecx, dword [r10]
add rcx, r8
mov ebx, dword [rbp + rax*4]
mov eax, 0x9d
add rbx, r8
movsx edx, byte [rcx]
test edx, edx
je 0x140003160
nop dword [rax]
imul eax, eax, 0x21
lea rcx, [rcx + 1]
add eax, edx
movsx edx, byte [rcx]
test edx, edx
jne 0x140003150
cmp edi, eax
je 0x14000318f
inc r9d
add r11, 2
add r10, 4
cmp r9d, esi
jb 0x140003130
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, rbx
jmp 0x140003176
Function at 0x140003550
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp - 8], rax
mov cl, 0x5d
mov word [rbp - 0x38], 0x5d
movsx edx, cl
xor r13d, r13d
movzx ecx, dx
mov word [rbp - 0x24], r13w
xor cx, 0x39
movzx eax, dx
xor ax, 0x33
mov word [rbp - 0x32], cx
mov word [rbp - 0x36], ax
movzx eax, dx
xor ax, 0x29
mov word [rbp - 0x2a], cx
mov word [rbp - 0x34], ax
lea rcx, [rbp - 0x36]
movzx eax, dx
xor dx, 0x73
xor ax, 0x31
mov word [rbp - 0x2c], dx
mov word [rbp - 0x30], ax
mov word [rbp - 0x2e], ax
mov word [rbp - 0x28], ax
mov word [rbp - 0x26], ax
call fcn.140002f10
mov ebx, 0x9d
mov dword [rbp - 0x50], 0x54744e27
mov edi, 0x4e
mov dword [rbp - 0x4c], 0x65636172
mov r15, rax
mov dword [rbp - 0x48], 0x6e657645
lea rax, [rbp - 0x4f]
mov word [rbp - 0x44], 0x74
mov edx, ebx
mov ecx, edi
imul edx, edx, 0x21
lea rax, [rax + 1]
add edx, ecx
movsx ecx, byte [rax]
test ecx, ecx
jne 0x140003610
mov rcx, r15
call fcn.140003030
movdqa xmm0, xmmword [0x1400056f0]
mov rsi, rax
mov qword [rbp - 0x20], rax
mov edx, ebx
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x18], 0xc3
lea rax, [rbp - 0x4f]
mov dword [rbp - 0x14], r13d
mov ecx, edi
mov qword [rbp - 0x10], 0x1000
mov dword [rbp - 0x40], 0x6d654d6c
mov dword [rbp - 0x3c], 0x79726f
imul edx, edx, 0x21
lea rax, [rax + 1]
add edx, ecx
movsx ecx, byte [rax]
test ecx, ecx
jne 0x140003662
mov rcx, r15
call fcn.140003030
mov r14, rax
movzx ecx, byte [rax + 4]
lea r12, [rax + 0x12]
mov dword [0x140008950], ecx
mov qword [0x140008958], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x40
lea r8, [rbp - 0x10]
mov rcx, rax
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x20], rax
call fcn.140003c40
movdqa xmm0, xmmword [str.2NtWriteVirtualMxRtlInitUnicodeSNtProtectVirtua_]
lea rax, [rbp - 0x4f]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0x726f6d65
mov word [rbp - 0x3c], 0x79
nop word [rax + rax]
imul ebx, ebx, 0x21
lea rax, [rax + 1]
add ebx, edi
movsx edi, byte [rax]
test edi, edi
jne 0x1400036e0
mov edx, ebx
mov rcx, r15
call fcn.140003030
movzx ecx, byte [rax + 4]
add rax, 0x12
mov qword [0x140008958], rax
mov dword [0x140008950], ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], r13
mov rcx, rax
lea r8, [rbp - 0x18]
mov rdx, rsi
call fcn.140003c40
movzx eax, byte [r14 + 4]
mov dword [0x140008950], eax
mov qword [0x140008958], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rbp - 0x14]
lea r8, [rbp - 0x10]
mov rcx, rax
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x20], rax
call fcn.140003c40
lea rcx, str.___ETW_patched___n
call fcn.140001020
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140003cb0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400073a0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140100ec0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x14000742e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x1400073d2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x140007440
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140100ec0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140007544
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x14000753f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140007514
cmp qword [rsp + 0x38], 2
jb 0x140007514
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140007514
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140007514
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140007487
jmp 0x1400075d6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x1400075d6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x1400075ac
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400075ac
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400075ac
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140007544
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x140021af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x80]
call fcn.140001ce0
mov eax, dword [rsp + 0x88]
and eax, 1
test eax, eax
je 0x140021bc9
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400218c0
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_send
call fcn.1400218c0
movss xmm1, dword [rsp + 0x20]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_select
call fcn.1400218c0
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.1400218c0
movss xmm1, dword [rsp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x2c], xmm0
movss xmm2, dword [rsp + 0x28]
movss xmm1, dword [rsp + 0x2c]
lea rcx, [rsp + 0x50]
call fcn.140001ce0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140002b40
mov eax, dword [rsp + 0x88]
and eax, 2
test eax, eax
je 0x140021c77
mov edx, dword [rsp + 0x90]
mov ecx, 7
call fcn.1400218c0
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 6
call fcn.1400218c0
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 5
call fcn.1400218c0
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 4
call fcn.1400218c0
movss xmm1, dword [rsp + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x3c]
lea rcx, [rsp + 0x58]
call fcn.140001ce0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140002b40
mov eax, dword [rsp + 0x88]
and eax, 4
test eax, eax
je 0x140021d25
mov edx, dword [rsp + 0x90]
mov ecx, ntohs
call fcn.1400218c0
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0xa
call fcn.1400218c0
movss xmm1, dword [rsp + 0x40]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x48], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 9
call fcn.1400218c0
movss dword [rsp + 0x44], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 8
call fcn.1400218c0
movss xmm1, dword [rsp + 0x44]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
movss xmm2, dword [rsp + 0x48]
movss xmm1, dword [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.140001ce0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140002b40
movss xmm0, dword [rsp + 0x98]
ucomiss xmm0, dword [0x140146e40]
jp 0x140021d39
je 0x140021d60
mov ecx, reloc.WS2_32.dll_ntohl
call fcn.140006220
movzx eax, al
test eax, eax
je 0x140021d60
movss xmm1, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
call fcn.140002af0
movss xmm0, dword [rsp + 0xa0]
ucomiss xmm0, dword [0x140146e40]
jp 0x140021d74
je 0x140021d9b
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.140006220
movzx eax, al
test eax, eax
je 0x140021d9b
movss xmm1, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.140002af0
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret
Function at 0x140035080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov rax, qword [0x1403646f8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x140035199
mov rax, qword [rsp + 0x40]
add rax, 0x2fe0
mov rcx, rax
call fcn.140037990
mov qword [rsp + 0x28], rax
jmp 0x1400350f0
mov rax, qword [rsp + 0x40]
add rax, 0x2fe0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.140037930
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140035199
cmp dword [rsp + 0x80], 0
je 0x140035121
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x14], ecx
je 0x140035121
mov dword [rsp + 0x38], 0
jmp 0x140035129
mov dword [rsp + 0x38], 1
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14003517f
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x14], 0
je 0x14003517f
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x48]
call fcn.14002ae40
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14003517f
mov rcx, qword [rsp + 0x50]
call fcn.1400062b0
mov ecx, dword [rsp + 0x80]
cmp dword [rax], ecx
jne 0x14003517f
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140035194
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x14], 0
jmp 0x1400350cc
mov dword [rsp + 0x24], 0
jmp 0x1400351ad
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1b38]
cmp dword [rsp + 0x24], eax
jge 0x14003529b
mov rax, qword [rsp + 0x40]
add rax, 0x1b38
mov qword [rsp + 0x68], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
call fcn.1400373f0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x80], 0
je 0x14003524d
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x448], 0
je 0x14003521d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x448]
call fcn.1400062b0
mov ecx, dword [rsp + 0x80]
cmp dword [rax], ecx
je 0x14003524d
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x450], 0
je 0x140035243
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x450]
mov ecx, dword [rsp + 0x80]
cmp dword [rax], ecx
je 0x14003524d
mov dword [rsp + 0x3c], 0
jmp 0x140035255
mov dword [rsp + 0x3c], 1
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140035296
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x458]
mov dword [rsp + 0x58], eax
movzx r8d, byte [rsp + 0x88]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call fcn.14002c260
movzx eax, byte [rsp + 0x88]
jmp 0x1400351a3
add rsp, 0x78
ret
Function at 0x140056b40
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140155080]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.14000c6d0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140364f10]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x3c]
call fcn.140001ce0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x140056bb8
call fcn.140056b00
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x140364f18]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x140364f20]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x140364f18], rax
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140056c1c
mov dword [rsp + 0x28], 1
jmp 0x140056c24
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x134], cl
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140056c53
mov dword [rsp + 0x2c], 1
jmp 0x140056c5b
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x135], cl
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140056c8a
mov dword [rsp + 0x30], 1
jmp 0x140056c92
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x136], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x137], 0
call fcn.1400560c0
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc8]
test eax, eax
je 0x140056ccd
mov dword [rsp + 0x34], 0xffffffff
jmp 0x140056cd6
call fcn.1400121e0
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x140056cf9
mov eax, dword [rsp + 0x38]
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.140055f90
call fcn.1400562d0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ea150
add rsp, 0x78
ret