joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002ea5c
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x48
mov eax, 4
imul rax, rax, 2
lea rcx, [0x14004b570]
add rcx, rax
mov rax, rcx
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x14004b570]
add rdx, rcx
mov rcx, rdx
mov edx, 4
imul rdx, rdx, 0
lea r8, [0x14004b570]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rdx
movss xmm2, dword [0x14004b308]
movss xmm1, dword [0x14004b304]
movss xmm0, dword [0x140049170]
call fcn.140006a10
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14004b57c]
cmp eax, 1
jb 0x14002eb44
mov eax, dword [0x14004b57c]
cmp dword [0x14004b580], eax
je 0x14002eb38
movss xmm0, dword [0x140043398]
mulss xmm0, dword [0x14004916c]
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004b570]
movss xmm1, dword [rcx + rax]
addss xmm1, xmm0
movaps xmm0, xmm1
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004b570]
movss dword [rcx + rax], xmm0
mov eax, dword [0x14004b57c]
mov dword [0x14004b580], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14004b57c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004b570]
xorps xmm0, xmm0
comiss xmm0, dword [rcx + rax]
jbe 0x14002eb8f
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004b570]
movss xmm0, dword [rcx + rax]
addss xmm0, dword [0x14003dbbc]
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004b570]
movss dword [rcx + rax], xmm0
mov eax, 4
imul rax, rax, 2
lea rcx, [0x14004b570]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x14004b570]
mov r9d, 4
imul r9, r9, 0
mov qword [rsp + 0x30], r9
lea r10, [0x14004b570]
lea r11, [0x14004b308]
mov qword [rsp + 0x28], r11
lea r11, [0x14004b304]
mov qword [rsp + 0x20], r11
lea r9, [0x140049170]
movss xmm2, dword [rcx + rax]
movss xmm1, dword [r8 + rdx]
mov rax, qword [rsp + 0x30]
movss xmm0, dword [r10 + rax]
call fcn.1400068c4
add rsp, 0x48
ret
Function at 0x140033f48
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x14004aa78]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x140033fa1
cmp dword [rsp + 0x90], 0x7c
jge 0x140033fa1
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x140049700]
call fcn.1400340cc
lea rcx, [rsp + 0x50]
call fcn.14002d36c
nop
cmp qword [rsp + 0x30], 0
jne 0x140033fc7
lea rdx, [0x1400431c8]
lea rcx, [rsp + 0x50]
call fcn.14002e1a0
jmp 0x140033fd6
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14002e1a0
cmp dword [rsp + 0xa0], 1
jne 0x140033ff1
lea rdx, [0x1400431d8]
lea rcx, [rsp + 0x50]
call fcn.14002e1a0
movss xmm2, dword [0x140041950]
movss xmm1, dword [0x140043464]
lea rcx, [rsp + 0x48]
call fcn.14002d9bc
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.140036d38
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.14002229c
movzx eax, al
test eax, eax
je 0x140034066
cmp dword [rsp + 0xa0], 0
jne 0x140034066
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.14002de10
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003aed0
add rsp, 0x88
ret
Function at 0x1400394dc
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400356f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x140035f94]
mov qword [rsp + 0x78], rax
lea rax, [0x140041e58]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x140039594
lea rdx, str._n_n_Bluestacks
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140029d08
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.Bluestacks_5
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14004b558], rax
mov edx, 5
mov rcx, qword [0x14004b558]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x140041e48]
mov rcx, qword [0x14004b558]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x14004b558]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14004b558]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc0
pop rdi
ret
Function at 0x14003b5dc
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140225b08]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x140004a7f
call fcn.14015ed2c
cmp dword [rax], 4
je 0x140004a50
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401439f0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x140004ab0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140225b08]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x140004b1e
call fcn.14015ed2c
cmp dword [rax], 4
je 0x140004af0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401439f0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x140004b50
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x140225b08]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, rdx
mov rdi, rcx
call fcn.1401418b8
mov rbx, rax
call fcn.14014189c
cmp rbx, 0x989680
jne 0x140004b9a
imul rbx, rax, 0x64
jmp 0x140004bbb
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rbx, rax
imul rax, rcx, 0x3b9aca00
add rbx, rax
xor r14d, r14d
mov qword [rsp + 0x280], rsi
movabs r15, 0x431bde82d7b634db
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], 0x2710
nop word [rax + rax]
lea rax, [rsp + 0x38]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x140004c20
call fcn.14015ed2c
cmp dword [rax], 4
je 0x140004bf0
xor al, al
jmp 0x140004c9c
jne 0x140004c9a
call fcn.1401418b8
mov rsi, rax
call fcn.14014189c
cmp rsi, 0x989680
jne 0x140004c3e
imul rcx, rax, 0x64
jmp 0x140004c5f
cqo
idiv rsi
mov r8, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
mov rcx, rax
imul rax, r8, 0x3b9aca00
add rcx, rax
sub rcx, rbx
mov rax, r15
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rbp, 0x3e8
cmp rdx, rax
jg 0x140004c1c
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 1
call fcn.14001f790
jmp 0x140004bd0
mov al, 1
mov rsi, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401439f0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14000a390
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
mov rsi, qword [rcx + 0x50]
mov eax, 0x7fffffff
cmp r8, rax
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmova rdi, rax
mov rax, qword [rcx + 0x48]
cmp rax, rsi
jae 0x14000a401
mov rcx, qword [rcx + 0x30]
sub rsi, rax
lea rdx, [rax + rcx]
mov rcx, r14
cmp rdi, rsi
ja 0x14000a3e8
mov r8, rdi
call fcn.1401458c0
add qword [rbx + 0x48], rdi
mov rax, rdi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov r8, rsi
call fcn.1401458c0
add qword [rbx + 0x48], rsi
mov rax, rsi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
test al, al
jne 0x14000a41c
mov rax, 0xffffffffffffffff
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
mov qword [rsp + 0x68], rbp
mov rbp, qword [rbx + 8]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
cmp rdi, 0x1000
jae 0x14000a4d0
mov qword [rsp + 0x20], r15
mov r15, qword [rbx + 0x30]
nop word [rax + rax]
xor r9d, r9d
mov r8d, 0x1000
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rsi, eax
test eax, eax
jns 0x14000a476
call fcn.14015ed2c
cmp dword [rax], 4
je 0x14000a450
mov r15, qword [rsp + 0x20]
test rsi, rsi
jle 0x14000a494
mov rdx, qword [rbx + 0x30]
mov rcx, r14
cmp rsi, rdi
jg 0x14000a4a6
mov r8, rsi
call fcn.1401458c0
mov rbp, qword [rsp + 0x68]
mov rax, rsi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov r8, rdi
call fcn.1401458c0
mov rbp, qword [rsp + 0x68]
mov rax, rdi
mov qword [rbx + 0x48], rdi
mov qword [rbx + 0x50], rsi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
xor r9d, r9d
mov r8d, edi
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x14000a4f3
call fcn.14015ed2c
cmp dword [rax], 4
je 0x14000a4d0
mov rbp, qword [rsp + 0x68]
mov rax, rbx
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14000a549
mov rax, 0xffffffffffffffff
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsi + 8]
mov eax, 0x7fffffff
cmp rdi, rax
mov qword [rsp + 0x38], rbx
cmova rdi, rax
nop
xor r9d, r9d
mov r8d, edi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x14000a583
call fcn.14015ed2c
cmp dword [rax], 4
je 0x14000a560
mov rbp, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a5a0
Capabilities:
Resolve dns

Disassembly:
push rbx
push rsi
sub rsp, 0x4f8
mov rax, qword [0x140225b08]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rbx, r8
mov dword [rsp + 0x40], 0x80
mov rsi, rdx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x140004dba
movzx eax, word [rsp + 0x50]
mov qword [rsp + 0x4f0], rdi
mov edi, dword [rsp + 0x40]
cmp ax, 2
je 0x140004d2f
cmp ax, 0x17
jne 0x140004d3f
movzx ecx, word [rsp + 0x52]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rbx], eax
xor edx, edx
lea rcx, [rsp + 0xd0]
mov r8d, 0x401
call fcn.140145f60
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0xd0]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, edi
lea rcx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov rdi, qword [rsp + 0x4f0]
test eax, eax
jne 0x140004dba
lea rax, [rsp + 0xd0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004da0
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call fcn.14001a6e0
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1401439f0
add rsp, 0x4f8
pop rsi
pop rbx
ret
mov rcx, qword [rcx + 8]
jmp 0x140004cd0

Function at 0x1400179c0
Capabilities:
Hash data using murmur3

Disassembly:
mov rcx, qword [rcx + 0xd0]
jmp 0x14012a000
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x1402c2f6c], 0
mov rbx, rdx
mov rdi, rcx
jne 0x14012a01e
call fcn.14013cb00
cmp byte [0x1402c2f76], 0
mov rdx, rbx
mov rcx, rdi
je 0x14012a043
xor r9d, r9d
lea r8d, [r9 + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14013cf00
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401292c0
Function at 0x140018290
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400182b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14001832c
mov rdi, r14
mov rcx, rbx
call fcn.14001d3a0
test rax, rax
jle 0x140018304
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.1401458c0
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 0x14001831c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140018324
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400182c6
sub r14, rdi
jmp 0x14001840f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140018343
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140018345
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140018377
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1401458c0
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 0x14001840c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400183b2
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 0x1400183ed
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14015fbfc
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14001840c
cmp rbp, rax
ja 0x1400183c0
test rbp, rbp
je 0x14001840c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14015fbfc
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140021150
Capabilities:
Get socket status
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140225b08]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r12, rcx
mov rdi, r9
mov rcx, r8
mov r13, r8
mov rbx, rdx
call fcn.1401429d0
test eax, eax
jne 0x1400213ad
mov eax, dword [r13 + 0x4c]
cmp eax, 0x7fffffff
je 0x14002139c
mov rcx, rbx
call fcn.14003c480
mov rcx, r13
mov rsi, rax
call fcn.1401429f4
test rsi, rsi
je 0x140021397
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], 1
mov edx, 0x8004667e
mov rcx, r12
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, r12d
call fcn.1400685e0
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov rcx, rax
mov rbx, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call fcn.1400687e0
mov r8, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.14003cb70
mov rcx, qword [rdi + 8]
mov rbp, qword [rcx + 0x68]
mov r14, qword [rcx + 0x60]
mov rcx, qword [rdi]
mov rdi, qword [rcx]
mov rcx, rsi
call fcn.14003b910
cmp eax, 1
je 0x140021368
mov edx, eax
mov rcx, rsi
call fcn.14003c1e0
sub eax, 2
je 0x14002128f
cmp eax, 1
jne 0x1400212e9
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], ebp
nop dword [rax + rax]
lea rax, [rsp + 0x38]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x1400212e1
call fcn.14015ed2c
cmp dword [rax], 4
je 0x140021260
jmp 0x1400212e1
mov qword [rsp + 0x268], rdi
mov dword [rsp + 0x260], 1
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], ebp
nop dword [rax + rax]
lea rax, [rsp + 0x40]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x260]
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x1400212e1
call fcn.14015ed2c
cmp dword [rax], 4
je 0x1400212b0
test ebx, ebx
jg 0x140021220
mov rcx, rsi
call fcn.14003cdd0
mov rcx, r13
call fcn.1401429d0
test eax, eax
jne 0x1400213ad
mov eax, dword [r13 + 0x4c]
cmp eax, 0x7fffffff
je 0x14002139c
mov rcx, rsi
call fcn.14003bec0
mov rcx, r13
call fcn.1401429f4
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], 0
mov edx, 0x8004667e
mov rcx, r12
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1401439f0
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x66]
call fcn.1400687e0
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], 0
mov edx, 0x8004667e
mov rcx, r12
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, rsi
jmp 0x14002133d
dec eax
mov ecx, 6
mov dword [r13 + 0x4c], eax
call fcn.140141c4c
int3
mov ecx, 5
call fcn.140141c4c
int3

Function at 0x140023360
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140023394
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140023380
ret
Function at 0x140030e10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov rbp, rcx
sar rdi, 2
test rdi, rdi
je 0x140030fef
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x30], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x140030e60
mov eax, ntohs
jmp 0x140030e8e
cmp rdi, 0x44
jb 0x140030e6d
mov eax, 7
jmp 0x140030e8e
cmp rdi, 0x27
jb 0x140030e7a
mov eax, 5
jmp 0x140030e8e
cmp rdi, 7
jb 0x140030e87
mov eax, 3
jmp 0x140030e8e
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x140030ea7
mov r15, rdi
mov r8, rdi
mov edx, 0x8b8b8b8b
shl r8, 2
mov rcx, rsi
call fcn.140145f60
xor ecx, ecx
test r15, r15
je 0x140030f5f
mov qword [rsp + 0x38], r12
nop dword [rax + rax]
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea r12, [rsi + rdx*4]
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [r12]
xor r8d, r11d
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x140030f1d
mov rax, rbx
jmp 0x140030f32
cmp rcx, rbx
ja 0x140030f2f
mov rax, qword [rbp]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140030f32
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [r12], r8d
cmp rcx, r15
jb 0x140030ed0
mov r12, qword [rsp + 0x38]
add r15, rdi
cmp rcx, r15
jae 0x140030fdb
inc r14
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x140030f71
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400386c0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14003878c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14003878c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400387a5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14003877c
cmp byte [rax], 0x5c
jne 0x140038776
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140038776
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140038762
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140038773
test r8b, 0x10
jne 0x140038776
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140038776
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140030540
test edi, edi
jne 0x1400386e0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140030530
int3
Function at 0x140053090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
mov eax, 0x20
call fcn.140144180
sub rsp, rax
lea rdx, [rsp + 0x38]
mov rbx, rcx
call fcn.140052f70
test rax, rax
je 0x140053159
cmp dword [rsp + 0x38], 0
jg 0x140053159
cmp dword [rsp + 0x3c], 0
jg 0x140053159
mov rcx, qword [rbx + 0x98]
movzx eax, word [rcx + 0x1bc]
add ax, ax
mov word [rcx + 0x1bc], ax
mov rax, qword [rbx + 0x98]
cmp word [rax + 0x1bc], 0x3c
jbe 0x140053100
mov ecx, 0x3c
mov word [rax + 0x1bc], cx
mov rcx, rbx
call fcn.140053480
mov rcx, rbx
call fcn.140052b50
test eax, eax
jns 0x14005311d
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0x98]
inc dword [rax + 0x1a8]
mov rax, qword [rbx + 0x98]
cmp dword [rax + 0x1a8], 2
jbe 0x140053144
mov dword [rax + 0x1a8], 1
mov rcx, rbx
call fcn.140053480
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400581e0
xor eax, eax
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x30
call fcn.140144180
sub rsp, rax
mov edi, edx
mov rbx, rcx
test edx, edx
jle 0x140057e1c
lea r9, str.....openssl_1.1.0f_ssl_statem_statem_dtls.c
mov dword [rsp + 0x20], 0x39f
mov edx, 0x153
lea ecx, [rax - 0x1c]
lea r8d, [rax + 0x14]
call fcn.14006a020
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call fcn.140053170
test eax, eax
je 0x140057e46
mov rcx, rbx
call fcn.140042d70
mov rcx, rbx
test eax, eax
jne 0x140057e53
call fcn.14003c370
mov rcx, rax
mov edx, 1
call fcn.1400691e0
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140053090