joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400699b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov rbp, rcx
sar rdi, 2
test rdi, rdi
je 0x140069b8f
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x60], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x140069a00
mov eax, ntohs
jmp 0x140069a2e
cmp rdi, 0x44
jb 0x140069a0d
mov eax, 7
jmp 0x140069a2e
cmp rdi, 0x27
jb 0x140069a1a
mov eax, 5
jmp 0x140069a2e
cmp rdi, 7
jb 0x140069a27
mov eax, 3
jmp 0x140069a2e
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 0x140069a47
mov r15, rdi
mov r8, rdi
mov edx, 0x8b8b8b8b
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x140069aff
mov qword [rsp + 0x58], 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 r8d, r11d
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [r12]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x140069abd
mov rax, rbx
jmp 0x140069ad2
cmp rcx, rbx
ja 0x140069acf
mov rax, qword [rbp]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140069ad2
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 0x140069a70
mov r12, qword [rsp + 0x58]
add r15, rdi
cmp rcx, r15
jae 0x140069b7b
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 0x140069b11
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140075410
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 0x1400754dc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400754dc
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 0x1400754f5
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 0x1400754cc
cmp byte [rax], 0x5c
jne 0x1400754c6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400754c6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400754b2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400754c3
test r8b, 0x10
jne 0x1400754c6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400754c6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140078be0
test edi, edi
jne 0x140075430
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140076ca0
int3
Function at 0x14007b380
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r10, rcx
movabs rcx, 0x100000001b3
mov r11, rdx
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
mov rdx, qword [r10 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
lea r8, [r10 + 8]
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rcx, qword [rdx + 8]
cmp rcx, qword [r8]
je 0x14007b409
mov eax, dword [r11]
mov r9, qword [rdx]
cmp eax, dword [rcx + 0x10]
je 0x14007b40b
cmp rcx, r9
je 0x14007b405
mov rcx, qword [rcx + 8]
cmp eax, dword [rcx + 0x10]
jne 0x14007b3f1
lea r8, [r10 + 8]
jmp 0x14007b40b
lea r8, [r10 + 8]
xor ecx, ecx
test rcx, rcx
je 0x14007b469
mov rax, qword [rdx]
cmp qword [rdx + 8], rcx
jne 0x14007b434
cmp rax, rcx
jne 0x14007b42a
mov rax, qword [r8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14007b43f
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
jmp 0x14007b43f
cmp rax, rcx
jne 0x14007b43f
mov rax, qword [rcx]
mov qword [rdx], rax
mov rdx, qword [rcx]
dec qword [r10 + 0x10]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, Ordinal_27
call fcn.1400be46c
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

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

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 4], 0
mov rbx, rcx
je 0x14007b616
cmp qword [rdx + 0x18], 0xf
mov r8, rdx
mov r10, qword [rdx + 0x10]
mov qword [rsp + 0x40], rdi
jbe 0x14007b5b5
mov r8, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x14007b5e4
movabs r11, 0x100000001b3
movzx eax, byte [rcx + r8]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x14007b5d0
mov r8, rdx
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x20]
call fcn.140033a50
mov rax, qword [rax + 8]
test rax, rax
jne 0x14007b602
mov rax, qword [rbx + 0x50]
mov rdi, qword [rsp + 0x40]
cmp rax, qword [rbx + 0x50]
je 0x14007b616
mov eax, dword [rax + 0x30]
add rsp, 0x30
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
Function at 0x14007d4d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x190
mov rax, qword [0x140396c80]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x20], ecx
call fcn.14007b470
mov r8, rax
mov r9d, dword [rsp + 0x20]
movzx edx, r9b
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs r10, 0x100000001b3
imul rdx, r10
movzx ecx, byte [rsp + 0x21]
xor rdx, rcx
imul rdx, r10
movzx eax, byte [rsp + 0x22]
xor rdx, rax
imul rdx, r10
movzx eax, byte [rsp + 0x23]
xor rdx, rax
imul rdx, r10
mov rcx, qword [r8 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov rdi, qword [r8 + 8]
cmp rbx, rdi
je 0x14007d581
mov rax, qword [rax + rcx*8]
cmp r9d, dword [rbx + 0x10]
je 0x14007d583
nop dword [rax]
cmp rbx, rax
je 0x14007d581
mov rbx, qword [rbx + 8]
cmp r9d, dword [rbx + 0x10]
jne 0x14007d570
jmp 0x14007d583
xor ebx, ebx
call fcn.14007b470
test rbx, rbx
cmove rbx, rdi
cmp rbx, qword [rax + 8]
je 0x14007d5f7
call fcn.14007b470
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.140040c10
mov rcx, qword [rax]
dec dword [rcx + 0x14]
call fcn.14007b470
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.140040c10
mov rcx, qword [rax]
cmp dword [rcx + 0x14], 0
jne 0x14007d6ed
mov ecx, dword [rsp + 0x20]
call qword [0x1403bdc00]
call fcn.14007b470
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14007b380
jmp 0x14007d6ed
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
movabs rax, 0x726564616853666f
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.14006c610
nop
lea rbx, [rax + 0x40]
lea rdx, str.releaseProgram__:_somethings_wrong_here__releasing_unknown_program_id
mov rcx, rbx
call fcn.140006d80
mov rdi, rax
call fcn.14006ce70
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007d65e
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.1400072b0
mov edx, dword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rbx, rax
call fcn.14006ce70
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007d68c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400072b0
nop
lea rcx, [rsp + 0x50]
call fcn.14006c6d0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14007d6e3
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d6de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d6de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be46c
mov ecx, dword [rsp + 0x20]
call qword [0x1403bdc00]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400be7c0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x190
pop rdi
ret
Function at 0x14007dd10
Capabilities:
Hash data using fnv

Disassembly:
test ecx, ecx
je 0x14007de16
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rdi
call fcn.14007b470
movzx ecx, byte [rsp + 0x41]
mov r8, rax
mov r9d, dword [rsp + 0x40]
movabs r10, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx edx, r9b
xor rdx, rax
movzx eax, byte [rsp + 0x42]
mov rdi, qword [r8 + 8]
imul rdx, r10
xor rdx, rcx
mov rcx, qword [r8 + 0x30]
imul rdx, r10
xor rdx, rax
movzx eax, byte [rsp + 0x43]
imul rdx, r10
xor rdx, rax
mov rax, qword [r8 + 0x18]
imul rdx, r10
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, rdi
je 0x14007ddb1
mov rax, qword [rax + rcx*8]
cmp r9d, dword [rbx + 0x10]
je 0x14007ddb3
cmp rbx, rax
je 0x14007ddb1
mov rbx, qword [rbx + 8]
cmp r9d, dword [rbx + 0x10]
jne 0x14007dda0
jmp 0x14007ddb3
xor ebx, ebx
call fcn.14007b470
test rbx, rbx
cmove rbx, rdi
mov rdi, qword [rsp + 0x30]
cmp rbx, qword [rax + 8]
mov rbx, qword [rsp + 0x48]
je 0x14007ddf1
call fcn.14007b470
lea r8, [rsp + 0x40]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140040c10
mov rcx, qword [rax]
inc dword [rcx + 0x14]
add rsp, 0x38
ret
call fcn.14007b470
lea r8, [rsp + 0x40]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140040c10
mov rcx, qword [rax]
mov dword [rcx + 0x14], 1
add rsp, 0x38
ret

Function at 0x14007de20
Capabilities:
Hash data using fnv

Disassembly:
test ecx, ecx
je 0x14007df26
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rdi
call fcn.14007b500
movzx ecx, byte [rsp + 0x41]
mov r8, rax
mov r9d, dword [rsp + 0x40]
movabs r10, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx edx, r9b
xor rdx, rax
movzx eax, byte [rsp + 0x42]
mov rdi, qword [r8 + 8]
imul rdx, r10
xor rdx, rcx
mov rcx, qword [r8 + 0x30]
imul rdx, r10
xor rdx, rax
movzx eax, byte [rsp + 0x43]
imul rdx, r10
xor rdx, rax
mov rax, qword [r8 + 0x18]
imul rdx, r10
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, rdi
je 0x14007dec1
mov rax, qword [rax + rcx*8]
cmp r9d, dword [rbx + 0x10]
je 0x14007dec3
cmp rbx, rax
je 0x14007dec1
mov rbx, qword [rbx + 8]
cmp r9d, dword [rbx + 0x10]
jne 0x14007deb0
jmp 0x14007dec3
xor ebx, ebx
call fcn.14007b500
test rbx, rbx
cmove rbx, rdi
mov rdi, qword [rsp + 0x30]
cmp rbx, qword [rax + 8]
mov rbx, qword [rsp + 0x48]
je 0x14007df01
call fcn.14007b500
lea r8, [rsp + 0x40]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140040c10
mov rcx, qword [rax]
inc dword [rcx + 0x14]
add rsp, 0x38
ret
call fcn.14007b500
lea r8, [rsp + 0x40]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140040c10
mov rcx, qword [rax]
mov dword [rcx + 0x14], 1
add rsp, 0x38
ret
Function at 0x1400a0830
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x70], 0
mov rdi, rcx
jne 0x1400a0a2d
cmp qword [rcx + 0x40], 0
mov qword [rsp + 0x40], rbx
mov rbx, qword [rcx + 0x38]
mov rbx, qword [rbx]
je 0x1400a0a1c
mov qword [rsp + 0x48], rbp
movabs rbp, 0x100000001b3
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], r15
movabs r15, 0xcbf29ce484222325
mov qword [rsp + 0x28], r14
mov rsi, rbx
cmp rbx, qword [rdi + 0x38]
je 0x1400a0a08
mov rcx, qword [rbx + 0x10]
lea r14, [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test al, al
je 0x1400a0999
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
mov rdx, qword [r14]
mov rbx, qword [rbx]
mov rax, rdx
shr rax, 8
movzx r8d, al
movzx eax, dl
xor rax, r15
imul rax, rbp
xor r8, rax
mov rax, rdx
imul r8, rbp
shr rax, 0x10
movzx ecx, al
mov rax, rdx
xor r8, rcx
shr rax, 0x18
imul r8, rbp
movzx ecx, al
mov rax, rdx
xor r8, rcx
shr rax, 0x20
imul r8, rbp
movzx ecx, al
mov rax, rdx
xor r8, rcx
shr rax, 0x28
imul r8, rbp
movzx ecx, al
mov rax, rdx
xor r8, rcx
shr rdx, 0x38
imul r8, rbp
shr rax, 0x30
movzx ecx, al
xor r8, rcx
imul r8, rbp
xor r8, rdx
mov rdx, qword [rdi + 0x60]
imul r8, rbp
and rdx, r8
shl rdx, 4
add rdx, qword [rdi + 0x48]
mov rax, qword [rdx]
cmp qword [rdx + 8], rsi
jne 0x1400a0964
cmp rax, rsi
jne 0x1400a095a
mov rax, qword [rdi + 0x38]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400a096c
mov rax, qword [rsi + 8]
mov qword [rdx + 8], rax
jmp 0x1400a096c
cmp rax, rsi
jne 0x1400a096c
mov qword [rdx], rbx
mov rdx, qword [rsi]
mov rcx, r14
dec qword [rdi + 0x40]
mov rax, qword [rsi + 8]
mov qword [rax], rdx
mov rax, qword [rsi + 8]
mov qword [rdx + 8], rax
call fcn.14005a0b0
mov edx, gethostbyname
mov rcx, rsi
call fcn.1400be46c
jmp 0x1400a09fd
mov rax, qword [r14 + 8]
xor ecx, ecx
xor edx, edx
test rax, rax
je 0x1400a09b0
mov rcx, qword [r14]
lock inc dword [rax + 0xc]
mov rdx, rax
mov qword [rdi + 0x78], rcx
mov rcx, qword [rdi + 0x80]
mov qword [rdi + 0x80], rdx
test rcx, rcx
je 0x1400a09dc
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400a09dc
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + 0xf0]
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
mov rbx, qword [rbx]
cmp qword [rdi + 0x40], 0
jne 0x1400a0882
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov r15, qword [rsp + 0x20]
lea rcx, [rdi + 0x18]
mov rdx, rdi
call fcn.140088a30
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a7930
Capabilities:
Hash data using fnv

Disassembly:
test ecx, ecx
je 0x1400a7a36
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rdi
call fcn.1400a7520
movzx ecx, byte [rsp + 0x41]
mov r8, rax
mov r9d, dword [rsp + 0x40]
movabs r10, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx edx, r9b
xor rdx, rax
movzx eax, byte [rsp + 0x42]
mov rdi, qword [r8 + 8]
imul rdx, r10
xor rdx, rcx
mov rcx, qword [r8 + 0x30]
imul rdx, r10
xor rdx, rax
movzx eax, byte [rsp + 0x43]
imul rdx, r10
xor rdx, rax
mov rax, qword [r8 + 0x18]
imul rdx, r10
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, rdi
je 0x1400a79d1
mov rax, qword [rax + rcx*8]
cmp r9d, dword [rbx + 0x10]
je 0x1400a79d3
cmp rbx, rax
je 0x1400a79d1
mov rbx, qword [rbx + 8]
cmp r9d, dword [rbx + 0x10]
jne 0x1400a79c0
jmp 0x1400a79d3
xor ebx, ebx
call fcn.1400a7520
test rbx, rbx
cmove rbx, rdi
mov rdi, qword [rsp + 0x30]
cmp rbx, qword [rax + 8]
mov rbx, qword [rsp + 0x48]
je 0x1400a7a11
call fcn.1400a7520
lea r8, [rsp + 0x40]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140040c10
mov rcx, qword [rax]
inc dword [rcx + 0x14]
add rsp, 0x38
ret
call fcn.1400a7520
lea r8, [rsp + 0x40]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140040c10
mov rcx, qword [rax]
mov dword [rcx + 0x14], 1
add rsp, 0x38
ret
Function at 0x1400bd7dc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400bd816
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400bd81b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400bd864
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400bd864
dec r8
sub rdx, 1
jne 0x1400bd84a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400bf12c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400bf176
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400bf176
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400bf176
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400bf176
cmp dword [rcx + 0x84], 0xe
jbe 0x1400bf176
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400bf178
xor al, al
add rsp, 0x28
ret
Function at 0x1400d0a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x218]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1400c05a0
mov dword [rsp + 0x28], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1400d0ac6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x38]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x3c]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x24], r13d
test ebp, ebp
jg 0x1400d0b1d
mov ebp, 0x4b0000
jmp 0x1400d0b2b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1400c26c0
mov ebp, eax
shl r13d, 0x10
mov ecx, ebp
mov dword [rsp + 0x20], r13d
call fcn.1400c2110
mov ecx, edi
mov ebx, eax
call fcn.1400c2110
add ebx, eax
cmp ebx, 0x2e
jl 0x1400d0b50
mov eax, r13d
jmp 0x1400d0b59
mov edx, edi
mov ecx, ebp
call fcn.1400c26c0
mov r8d, dword [rsp + 0x88]
mov ecx, r8d
shl ecx, 0x10
cmp eax, ecx
jge 0x1400d0b75
shl esi, 0x10
mov ecx, esi
jmp 0x1400d0c5d
mov edx, dword [rsp + 0x70]
mov r13d, edx
shl r13d, 0x10
cmp eax, r13d
jge 0x1400d0bcb
mov ebx, edx
mov edx, edi
sub ebx, r8d
call fcn.1400c05a0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1400d0bbc
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1400c24a0
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1400c05a0
add ebx, eax
jmp 0x1400d0c66
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov edx, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1400d0bd8
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1400d0c17
mov eax, esi
mov ecx, r13d
sub eax, edx
mov edx, edi
mov dword [rsp + 0x70], eax
call fcn.1400c05a0
mov r8d, dword [rsp + 0x70]
mov ecx, ebp
sub ecx, eax
test r8d, r8d
je 0x1400d0c1d
sub r12d, r15d
mov edx, r12d
call fcn.1400c24a0
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1400c05a0
add ebx, eax
jmp 0x1400d0c66
cmp eax, dword [rsp + 0x20]
jge 0x1400d0c56
mov r15d, dword [rsp + 0x24]
mov edx, edi
mov ecx, ebx
call fcn.1400c05a0
sub ebp, eax
sub r15d, esi
je 0x1400d0c56
sub r14d, r12d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1400c24a0
shl r12d, 0x10
mov edx, edi
mov ecx, r12d
mov ebx, eax
call fcn.1400c05a0
add ebx, eax
jmp 0x1400d0c66
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1400c05a0
mov ebx, eax
mov edx, dword [rsp + 0x28]
mov ecx, ebx
call fcn.1400c05a0
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400d1260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x60
mov rbx, r8
mov ebp, r9d
mov r14, rcx
mov r8, rdx
mov rcx, qword [rbx + 0x80]
test rcx, rcx
jne 0x1400d128d
lea eax, [rcx + 0x24]
add rsp, 0x60
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x80], rsi
mov esi, dword [rsp + 0xa0]
mov qword [rsp + 0x28], rbx
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x50], r15
xor r15d, r15d
mov dword [rsp + 0x38], r15d
mov edx, r15d
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x34], eax
mov eax, esi
sar eax, 0x10
and eax, 0xf
mov qword [r14], rbx
mov dword [rsp + 0x40], eax
mov rax, qword [rbx + 0xb8]
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x44], r15d
mov qword [r14 + 8], rax
test rax, rax
jne 0x1400d131d
lea rdx, [r14 + 8]
mov rcx, rbx
call fcn.1400cc900
mov edx, eax
test eax, eax
jne 0x1400d131d
mov rax, qword [r14 + 8]
mov qword [rbx + 0xb8], rax
lea rax, [fcn.1400cc810]
mov qword [rbx + 0xc0], rax
jmp 0x1400d1325
test edx, edx
jne 0x1400d1499
mov rdi, qword [r14 + 8]
mov edx, r15d
mov dword [rsp + 0x90], edx
cmp ebp, dword [rdi + 8]
jb 0x1400d1342
mov edx, 6
jmp 0x1400d1499
mov rax, qword [rdi + 0x10]
lea r9, [0x140000000]
movzx r8d, word [rax + rbp*2]
and r8d, 0x3fff
mov rbx, qword [rdi + r8*8 + 0x20]
lea r15, [rdi + r8*8]
test rbx, rbx
jne 0x1400d1425
mov rax, qword [rdi]
mov qword [rsp + 0x98], r12
mov r12, qword [r9 + r8*8 + 0x2a51f0]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x58], r13
mov rcx, qword [rax + 0x98]
mov qword [rsp + 0x20], rcx
movsxd rax, dword [r12 + 4]
mov r13, qword [r9 + rax*8 + 0x2a45b8]
mov edx, dword [r13 + 8]
call fcn.1400c79d0
mov edx, dword [rsp + 0x90]
mov rbx, rax
test edx, edx
jne 0x1400d1411
mov qword [rax], r12
mov qword [rax + 0x30], rdi
mov rax, qword [r13 + 0x10]
test rax, rax
je 0x1400d1406
mov rdx, qword [rdi]
mov rcx, rbx
call rax
mov dword [rsp + 0x90], eax
mov edx, eax
test eax, eax
je 0x1400d140d
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1400d13ee
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
call fcn.1400c7a60
mov edx, dword [rsp + 0x90]
xor ebx, ebx
jmp 0x1400d1411
mov edx, dword [rsp + 0x90]
mov qword [r15 + 0x20], rbx
mov r12, qword [rsp + 0x98]
lea r9, [0x140000000]
mov r13, qword [rsp + 0x58]
test edx, edx
jne 0x1400d1499
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov rdi, qword [r9 + rcx*8 + 0x2a45b8]
mov qword [r14 + 0x18], rbx
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400d1451
lea rdx, [rsp + 0x28]
mov rcx, rbx
call rax
jmp 0x1400d1463
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx + 8], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x18], xmm1
mov rax, qword [rdi + 0x30]
and esi, 0xfffffffb
or esi, 0x801
test rax, rax
je 0x1400d1484
mov rcx, qword [r14 + 0x10]
mov rdx, rbx
call rax
mov edx, eax
test eax, eax
jne 0x1400d1499
mov r9d, esi
lea rdx, [rsp + 0x28]
mov r8d, ebp
mov rcx, r14
call fcn.1400d0ca0
mov edx, eax
mov r15, qword [rsp + 0x50]
mov eax, edx
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop r14
pop rbp
pop rbx
ret