joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011ab0
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 0x140011b0d
lea rbx, [0x14003e580]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140011af4
cmp r10, 2
jb 0x140011af4
cmp byte [r9], r8b
jne 0x140011af4
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 0x140011ad0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140011b4f
lea rbx, [0x14003e580]
cmp r8b, 0x23
jne 0x140011b33
cmp byte [r9], r8b
jne 0x140011b33
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 0x140011b20
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140011c90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140011caa
mov qword [r8], 0
lea rdx, [0x140043fac]
call fcn.140011b60
mov rbx, rax
test rax, rax
jne 0x140011cca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140011da1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140011da1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140011da1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140011da1
cmp rdi, 0xffffffffffffffff
je 0x140011da1
mov rax, qword [0x140070af8]
test rax, rax
je 0x140011d3e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140011da1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140011d8e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140070af8]
test rax, rax
je 0x140011d83
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140011daa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140011d9c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140011dac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140014120
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14003e580]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x140070af8]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x1400141b6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140025d30
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14001fad0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004f010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140070af8]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x14001fb31
cmp byte [rbx + 0x4a2e], 0
jne 0x14001fb31
movsx r9d, word [rbx + 0x5b2a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140011a30
test dil, 1
je 0x14001fc58
jmp 0x14001fbba
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b2a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140044444]
mulss xmm1, dword [0x140044438]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400443c0]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.140011a30
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001fc10
lea r11, [0x14003e580]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14001fbf3
cmp byte [r8], r9b
jne 0x14001fbf3
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 0x14001fbe0
not ecx
call fcn.1400177d0
test rax, rax
je 0x14001fc58
cmp byte [rax + 0xae], 0
je 0x14001fc58
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b2a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b2a]
call fcn.140011a30
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140019f80
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003a0c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400246d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c10], 0
lea rbx, [rcx + 0x5c18]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140024777
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002472a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140026950
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140012060
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c10]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c20]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140070af0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002477f
mov rcx, rbx
call fcn.140012060
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140024cf0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140070af8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140024d53
mov qword [rsp], rbx
lea rbx, [0x14003e580]
nop dword [rax]
cmp r9b, 0x23
jne 0x140024d33
cmp byte [r8], r9b
jne 0x140024d33
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 0x140024d20
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b88]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140024d87
mov r10, qword [r10 + 0x5b90]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140024d8e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140024d74
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140039aec
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140039b70
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14003d910]
cmp byte [rcx + rax], 0
je 0x140039b70
dec r8
sub rdx, 1
jne 0x140039b56
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14003ad50
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003ad9a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003ad9a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003ad9a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003ad9a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003ad9a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003ad9c
xor al, al
add rsp, 0x28
ret
Function at 0x141510058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1415101df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141510089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14151006f
add dl, dl
jne 0x141510096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415100f6
xor eax, eax
add dl, dl
jne 0x1415100a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415101ad
add dl, dl
jne 0x1415100b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415100c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415100d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415100dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415100ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14151007e
mov eax, 1
add dl, dl
jne 0x141510106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141510113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415100fb
sub eax, ebx
mov ebx, 1
jne 0x14151014c
mov ecx, 1
add dl, dl
jne 0x14151012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14151013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141510123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14151007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141510168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141510175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14151015d
cmp eax, 0x7d00
jae 0x14151019b
cmp eax, 0x500
jb 0x141510196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14151007e
cmp eax, 0x7f
ja 0x14151019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14151007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415101d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14151007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001510
Capabilities:
Create thread
Get common file path
Log keystrokes via application hook

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xbb0
xor ebx, ebx
mov ecx, 0xa
mov qword [rax - 0x18], rbx
mov qword [rax - 0x10], rbx
lea rax, [rax - 0x7e8]
mov qword [0x140005120], rax
lea rax, [rsp + 0x78]
nop dword [rax]
mov qword [rax], rbx
lea rax, [rax + 0x20]
sub rcx, 1
jne 0x140001540
lea rax, [rsp + 0x60]
mov qword [rsp + 0x1a0], rbx
mov qword [0x140005128], rax
xor r9d, r9d
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x1a8], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x1c
mov qword [rsp + 0x1b0], rbx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, str.BraveSoftwareBrave_BrowserUser_DataDefaultCookies
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x1400014b0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
lea rdx, [0x140001330]
xor r8d, r8d
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x14000162f
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x140001602
xor eax, eax
add rsp, 0xbb0
pop rbx
ret

Function at 0x140001d9c
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x1401524f0], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x140002bdd
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x30
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.140002c10]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret

Function at 0x140003120
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1f0
movzx ebx, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x1401524f8], eax
inc eax
cmp eax, 1
jne 0x14000315d
mov ecx, 0x202
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1401524fc], eax
test bl, bl
je 0x140003201
xor ebx, ebx
lock xadd dword [0x1401524fc], ebx
test ebx, ebx
je 0x140003201
movabs rcx, 0x4d54ee85da812030
mov qword [rsp + 0x200], rsi
add rcx, qword [0x14010cef8]
lea rsi, [0x14010cef0]
mov dword [rsp + 0x3c], 0
cmp rcx, 1
jbe 0x1400031b6
mov rax, qword [0x14010cef0]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400031b8
mov al, 1
lea rcx, str.C:Program_FilesBoost_boost_asiodetailimplwinsock_init.ipp
movzx eax, al
add rax, 2
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x40], rsi
lea rcx, str.throw_on_error
mov rsi, qword [rsp + 0x200]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 0x48
mov dword [rsp + 0x34], 0x1a
test al, 1
jne 0x140003215
mov rbx, qword [rsp + 0x208]
mov rax, rdi
add rsp, 0x1f0
pop rdi
ret
lea r8, [rsp + 0x20]
lea rdx, str.winsock
lea rcx, [rsp + 0x38]
call fcn.140002920
int3
Function at 0x1400059b0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x60
xor r12d, r12d
mov r15, r9
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffffffffffff
je 0x140005b86
mov qword [rsp + 0x98], rbx
test r8b, r8b
je 0x140005a1c
movzx eax, byte [rdx]
test al, 8
je 0x140005a1c
or al, 8
mov dword [rbp + 0x30], r12d
mov byte [rdx], al
lea r9, [rbp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea rcx, [rbp - 0x18]
setne dl
call fcn.1400058f0
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, r15
mov ebx, eax
setne dl
call fcn.1400058f0
test ebx, ebx
je 0x140005b82
mov qword [rsp + 0xa0], r13
movabs rcx, 0x4d54ee85da812030
mov qword [rsp + 0xa8], r14
lea r13, [0x14010cef0]
mov r14, qword [0x14010cef8]
add rcx, r14
mov dword [rbp - 0x2c], r12d
cmp rcx, 1
jbe 0x140005a8c
mov rax, qword [0x14010cef0]
mov edx, 0x2733
mov rcx, r13
call qword [rax + 0x30]
mov r14, qword [0x14010cef8]
jmp 0x140005a8e
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x18]
add rax, 2
mov dword [rbp - 0x30], 0x2733
mov qword [rbp - 0x20], rax
mov rcx, r15
movsd xmm1, qword [rbp - 0x20]
mov qword [rbp - 0x28], r13
movups xmm0, xmmword [rbp - 0x30]
movsd qword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
call fcn.140005140
test al, al
jne 0x140005b2b
movabs rax, 0x4d54ee85da812030
mov dword [rbp - 0x2c], r12d
add rax, r14
cmp rax, 1
jbe 0x140005af1
mov rax, qword [0x14010cef0]
mov edx, 0x4d5
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140005af3
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x18]
add rax, 2
mov dword [rbp - 0x30], 0x4d5
mov qword [rbp - 0x20], rax
mov rcx, r15
movsd xmm1, qword [rbp - 0x20]
mov qword [rbp - 0x28], r13
movups xmm0, xmmword [rbp - 0x30]
movsd qword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
call fcn.140005140
test al, al
je 0x140005b5c
lea r8, [rbp + 0x30]
mov dword [rbp + 0x30], r12d
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rsi], 0xfc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, r15
mov ebx, eax
setne dl
call fcn.1400058f0
mov r13, qword [rsp + 0xa0]
mov eax, ebx
mov r14, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, ebx
jmp 0x140005b6e
mov eax, r12d
add rsp, 0x60
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400064c0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], r9d
push rdi
push r14
push r15
sub rsp, 0x60
mov rbx, qword [rsp + 0xa0]
lea r9, [rax + 0x20]
xor r14d, r14d
mov qword [rax - 0x48], r14
mov qword [rax - 0x50], r14
mov dword [rax - 0x58], r14d
mov dword [rax + 0x20], r14d
call qword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x14010cef8]
lea rbp, [0x14010cef0]
movabs r15, 0x4d54ee85da812030
mov dword [rsp + 0x44], r14d
add rdx, r15
mov edi, eax
cmp rdx, 1
jbe 0x140006546
mov rcx, qword [0x14010cef0]
mov edx, eax
mov r8, qword [rcx + 0x30]
mov rcx, rbp
call r8
jmp 0x14000654b
test edi, edi
setne al
movzx eax, al
movabs r10, 0x4800144005b3
add rax, 2
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x48], rbp
movups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov r9, qword [rbx + 0x10]
cmp r9, 1
je 0x14000658e
mov eax, dword [rbx]
mov r8d, eax
jmp 0x1400065be
mov rcx, qword [rbx + 8]
mov rax, r10
mov r8d, dword [rbx]
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add eax, r8d
cmp eax, 0x40
jne 0x140006600
mov rcx, qword [0x14010cef8]
add rcx, r15
mov dword [rsp + 0x44], r14d
cmp rcx, 1
jbe 0x1400065f4
mov rax, qword [0x14010cef0]
mov edx, 0x2746
mov rcx, rbp
call qword [rax + 0x30]
mov dword [rsp + 0x40], 0x2746
jmp 0x14000666f
mov al, 1
mov dword [rsp + 0x40], 0x2746
jmp 0x14000666f
cmp r9, 1
jne 0x140006633
mov rcx, qword [rbx + 8]
mov rax, r10
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add r8d, eax
cmp r8d, 0x4d2
jne 0x140006693
mov rcx, qword [0x14010cef8]
add rcx, r15
mov dword [rsp + 0x44], r14d
cmp rcx, 1
jbe 0x140006665
mov rax, qword [0x14010cef0]
mov edx, 0x274d
mov rcx, rbp
call qword [rax + 0x30]
jmp 0x140006667
mov al, 1
mov dword [rsp + 0x40], 0x274d
movzx eax, al
mov qword [rsp + 0x48], rbp
add rax, 2
movups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
test esi, esi
je 0x14000669e
mov eax, 0xffffffff
jmp 0x1400066bb
mov eax, dword [rsp + 0x98]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rsp + 0x50], r14
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbx + 0x10], xmm0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14001ba50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14001ba81
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14001bafb
mov rdi, r14
mov rcx, rbx
call fcn.140020b40
test rax, rax
jle 0x14001bad3
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400a85c0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14001baeb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14001baf3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14001ba95
sub r14, rdi
jmp 0x14001bbdf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14001bb12
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001bb14
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001bb46
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400a85c0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14001bbdc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001bb81
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
cmp rbp, 0xfff
jbe 0x14001bbbd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400b6b58
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14001bbdc
cmp rbp, rax
ja 0x14001bb90
test rbp, rbp
je 0x14001bbdc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400b6b58
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140055400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
movss dword [rsp + 0x18], xmm2
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rbx, qword [0x140156458]
mov edi, edx
mov rcx, rbx
call fcn.1400554e0
mov ecx, dword [0x140156520]
add rax, 0x24
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 4
mov word [rsp + 0x3c], 0x100
mov byte [rsp + 0x3e], 0
call fcn.140059780
mov edx, dword [rsp + 0x80]
mov rcx, rbx
xor edx, dword [rsp + 0x90]
mov dword [rsp + 0x98], edx
movzx edx, di
call fcn.1400554e0
mov ecx, dword [0x140156520]
add rax, 0x20
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 4
mov word [rsp + 0x3c], 1
mov byte [rsp + 0x3e], 0
call fcn.140059780
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret