joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002c00
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 4
lea rdx, str.PORT
lea rcx, [rsp + 0x40]
call fcn.1400032d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 7
lea rdx, str.LIVEAPI
lea rcx, [rsp + 0x20]
call fcn.1400032d0
cmp qword [rbx + 0x18], 8
jb 0x140002c64
mov rbx, qword [rbx]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov r9, rbx
mov ebx, 0x4e70
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0x400
jbe 0x140002caa
cmp eax, 0xffff
cmova ax, bx
movzx ebx, ax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140002ce8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ce3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d4a
call fcn.14014e5d4
movdqa xmm0, xmmword [0x1401b4ff0]
movdqu xmmword [rsp + 0x30], xmm0
xor eax, eax
mov word [rsp + 0x20], ax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140002d3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d44
call fcn.14014e5d4
movzx eax, bx
add rsp, 0x60
pop rbx
ret
call fcn.140155214
nop
call fcn.140155214
nop

Function at 0x140002f20
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 4
lea rdx, str.PORT
lea rcx, [rsp + 0x40]
call fcn.1400032d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 6
lea rdx, str.WEBAPI
lea rcx, [rsp + 0x20]
call fcn.1400032d0
cmp qword [rbx + 0x18], 8
jb 0x140002f84
mov rbx, qword [rbx]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov r9, rbx
mov ebx, 0x4e71
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0x400
jbe 0x140002fca
cmp eax, 0xffff
cmova ax, bx
movzx ebx, ax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140003008
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003003
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000306a
call fcn.14014e5d4
movdqa xmm0, xmmword [0x1401b4ff0]
movdqu xmmword [rsp + 0x30], xmm0
xor eax, eax
mov word [rsp + 0x20], ax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000305b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003056
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003064
call fcn.14014e5d4
movzx eax, bx
add rsp, 0x60
pop rbx
ret
call fcn.140155214
nop
call fcn.140155214
nop
Function at 0x140003070
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, listen
lea rdx, str.CONNECTIONS
lea rcx, [rsp + 0x40]
call fcn.1400032d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 6
lea rdx, str.WEBAPI
lea rcx, [rsp + 0x20]
call fcn.1400032d0
cmp qword [rbx + 0x18], 8
jb 0x1400030d4
mov rbx, qword [rbx]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov r9, rbx
mov ebx, 0x10
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0x400
jbe 0x14000311a
cmp eax, 0xffff
cmova ax, bx
movzx ebx, ax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140003158
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003153
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031ba
call fcn.14014e5d4
movdqa xmm0, xmmword [0x1401b4ff0]
movdqu xmmword [rsp + 0x30], xmm0
xor eax, eax
mov word [rsp + 0x20], ax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400031ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031b4
call fcn.14014e5d4
movzx eax, bx
add rsp, 0x60
pop rbx
ret
call fcn.140155214
nop
call fcn.140155214
nop

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
cmp qword [rcx + 0x18], 0x10
mov rsi, rcx
mov rbp, qword [rcx + 0x10]
mov rdx, rcx
jb 0x14000468e
mov rdx, qword [rcx]
xor edi, edi
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
mov ecx, edi
movabs r15, 0x100000001b3
test rbp, rbp
je 0x1400046c3
nop
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r15
cmp rcx, rbp
jb 0x1400046b0
mov r8, rsi
lea rdx, [rsp + 0x20]
call fcn.140013ec0
cmp qword [rax + 8], rdi
je 0x140004723
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
jb 0x1400046e3
mov rcx, qword [rsi]
test rbp, rbp
je 0x140004703
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rdi
xor rbx, rax
imul rbx, r15
cmp rdi, rbp
jb 0x1400046f0
mov r9, rbx
lea rdx, [rsp + 0x20]
mov r8, rsi
call fcn.140013ec0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140004740
movzx eax, byte [rax + 0x30]
jmp 0x140004725
xor al, al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.14014b838
int3
Function at 0x140011dc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
lea rbx, [rcx + 0x1f8]
mov qword [rcx], rdx
lea rsi, [rbx + 0x10]
mov rbp, rdx
mov rdi, rcx
cmp rbx, rsi
je 0x140011e11
nop dword [rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
test rax, rax
je 0x140011e30
add rbx, 8
cmp rbx, rsi
jne 0x140011df0
lea rcx, [rdi + 0x208]
mov rdx, rbp
call fcn.14005e7b0
test al, al
jne 0x140011e3c
lea rdx, str.Error:_Failed_to_run_liveapi_thread.
jmp 0x140011fe0
lea rdx, str.Error:_shared_context::init___failed.
jmp 0x140011fe0
lea rcx, [rdi + 0x258]
mov rdx, rbp
call fcn.14005e7b0
test al, al
jne 0x140011e5b
lea rdx, str.Error:_Failed_to_run_webapi_thread.
jmp 0x140011fe0
lea rbx, [rdi + 0x2a8]
xor r9d, r9d
xor r8d, r8d
mov qword [rbx + 8], rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x140011e99
mov ecx, dword [rbx]
lea rdx, str.Error:_CreateEvent___failed.
call fcn.14005a260
lea rdx, str.Error:_Failed_to_run_local_thread.
jmp 0x140011fe0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0xe0], rax
test rax, rax
je 0x140011e7f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0xe8], rax
test rax, rax
je 0x140011e7f
xor esi, esi
lea r8, [0x140039d50]
mov qword [rsp + 0x28], rsi
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140011f05
lea rdx, str.Error:_Failed_to_run_local_thread.
jmp 0x140011fe0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x440], rax
test rax, rax
je 0x140011fd9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x448], rax
test rax, rax
je 0x140011fd9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x450], rax
test rax, rax
je 0x140011fd9
mov qword [rsp + 0x28], rsi
lea r9, [rdi + 0x438]
lea r8, [0x14002e710]
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x438], rax
test rax, rax
je 0x140011fd9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x140011fb0
lea rdx, str.Error:_CreateEvent___failed.
jmp 0x140011fe0
mov qword [rsp + 0x28], rsi
lea r8, [0x140005140]
mov r9, rdi
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov qword [rdi + 8], rax
setne al
jmp 0x140011fec
lea rdx, str.Error:_Failed_to_run_filedump_thread.
mov ecx, 1
call fcn.14005a260
xor al, al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001a000
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 0x14001a0cc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001a0cc
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 0x14001a0e5
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 0x14001a0bc
cmp byte [rax], 0x5c
jne 0x14001a0b6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14001a0b6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14001a0a2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14001a0b3
test r8b, 0x10
jne 0x14001a0b6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14001a0b6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140016710
test edi, edi
jne 0x14001a020
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.140016700
int3
Function at 0x140039a40
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov dword [rcx], 3
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
lea rdi, [rcx + 0x20]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x28]
call fcn.14005bf50
nop
lea r8d, [rbp + 5]
lea rdx, str.data
mov rcx, rax
call fcn.140003420
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140039b04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039aff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039c6f
call fcn.14014e5d4
movdqa xmm0, xmmword [0x1401b4ff0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bp
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140039b24
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rcx, [rsi + 0x40]
mov edx, 2
call fcn.14014d0d0
nop
lea rcx, [rsi + 0x90]
mov edx, 2
call fcn.14014d0d0
nop
mov qword [rsi + 0xe0], rbp
mov qword [rsi + 0xe8], rbp
lea rbx, [rsi + 0xf0]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rsp + 0x20], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov ecx, 0x10
call fcn.14014e590
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
lea rbx, [rsi + 0x118]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rsp + 0x20], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov ecx, 0x10
call fcn.14014e590
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
lea rbx, [rsi + 0x140]
mov qword [rsp + 0x20], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov ecx, 0x60
call fcn.14014e590
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
lea r8, str._tournaments
mov rdx, rdi
call fcn.140042cb0
nop
lea rcx, [rbx + 0x30]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
xor r8d, r8d
lea rdx, [0x1401ac0a8]
call fcn.140014460
nop
mov rcx, rbx
call fcn.140033d40
mov rcx, rbx
call fcn.140033fc0
mov rcx, rbx
call fcn.140034640
nop
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140155214
int3
Function at 0x14003e1c0
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 0x14003e1e2
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 0x14003e25c
mov rdi, r14
mov rcx, rbx
call fcn.14002fec0
test rax, rax
jle 0x14003e234
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.140150980
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 0x14003e24c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14003e254
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14003e1f6
sub r14, rdi
jmp 0x14003e33f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14003e273
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003e275
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003e2a7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140150980
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 0x14003e33c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003e2e2
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 0x14003e31d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140162634
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14003e33c
cmp rbp, rax
ja 0x14003e2f0
test rbp, rbp
je 0x14003e33c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140162634
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 0x140045c10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140045c54
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140045c40
ret
Function at 0x1400570b0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x140057193
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140057193
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 0x1400571b1
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 0x140057183
cmp word [rax], 0x5c
jne 0x14005717c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14005717c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140057167
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x140057179
test r8b, 0x10
jne 0x14005717c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14005717c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.140050b70
test edi, edi
jne 0x1400570e0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140016700
int3
Function at 0x14005a700
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x660]
sub rsp, 0x760
mov rax, qword [0x1401dd930]
xor rax, rsp
mov qword [rbp + 0x650], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x698
call fcn.1401511b0
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.14005a960
mov ebx, 1
lea r8, str.apexliveapi_proxy_mutex
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14005a8e4
mov qword [rsp + 0x770], rsi
mov ecx, 0xffffffff
mov qword [rsp + 0x778], rdi
call qword [sym.imp.IMM32.dll_ImmDisableIME]
lea rcx, [rbx - 6]
call qword [sym.imp.USER32.dll_IsValidDpiAwarenessContext]
test eax, eax
je 0x14005a7a0
lea rcx, [rbx - 6]
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
lea rax, [0x14005b430]
mov dword [rsp + 0x60], 0x50
mov qword [rsp + 0x68], rax
xor esi, esi
mov rax, qword [rbp - 0x50]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x64], 3
mov qword [rsp + 0x70], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x80], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x1401b4fe0]
lea rdi, [0x1401b4340]
mov edx, 0x7f00
movdqa xmmword [rbp - 0x70], xmm0
xor ecx, ecx
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x60], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x58], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rax, [rbp - 0x50]
mov r9d, 0xcf0000
mov qword [rsp + 0x58], rax
lea r8, str.apexliveapi_proxy
mov rax, qword [rbp - 0x50]
mov rdx, rdi
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, qword [rsp + 0x778]
mov rsi, qword [rsp + 0x770]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x14005a8e4
mov edx, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
lea rcx, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14005a8e0
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14005a8b3
mov ebx, dword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [rbp + 0x28]
call fcn.140005070
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14005a92f
mov rcx, qword [rbp + 8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a92a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a951
call fcn.14014e5d4
mov eax, ebx
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.14014e570
mov rbx, qword [rsp + 0x780]
add rsp, 0x760
pop rbp
ret
call fcn.140155214
int3
Function at 0x14005a960
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x230
mov rax, qword [0x1401dd930]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r12, rcx
mov qword [rsp + 0x50], rcx
mov qword [rcx], rdx
xor ecx, ecx
mov qword [r12 + 8], rcx
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r12 + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r12 + 0x20], xmm1
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r12 + 0x30], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r12 + 0x40], xmm1
mov qword [r12 + 0x50], rcx
lea rcx, [r12 + 0x58]
call fcn.140002550
nop
lea rcx, [r12 + 0x58]
call fcn.140003070
movzx ebp, ax
lea rcx, [r12 + 0x58]
call fcn.140002f20
movzx esi, ax
lea rdx, [rsp + 0x60]
lea rcx, [r12 + 0x58]
call fcn.140002d50
mov rdi, rax
lea rcx, [r12 + 0x58]
call fcn.140002c00
movzx ebx, ax
lea rdx, [rsp + 0x30]
lea rcx, [r12 + 0x58]
call fcn.140002a30
nop
mov word [rsp + 0x28], bp
mov word [rsp + 0x20], si
mov r9, rdi
movzx r8d, bx
mov rdx, rax
lea rcx, [r12 + 0x78]
call fcn.140004990
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14005aaa4
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005aa9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ab39
call fcn.14014e5d4
movdqa xmm0, xmmword [0x1401b5000]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14005aaf0
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005aaeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ab33
call fcn.14014e5d4
mov ecx, 0x202
lea rdx, [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_WSAStartup]
nop
mov rax, r12
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14014e570
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140155214
nop
call fcn.140155214
int3