joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
push r12
push r14
push r15
sub rsp, 0x10
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov qword [rsp + 0x48], rsi
movzx ebx, r9b
mov qword [rsp + 8], rdi
mov r14, rcx
movsxd rdi, r8d
mov esi, r10d
mov qword [rsp], r13
mov r11, rdi
mov r13d, r10d
mov r12d, r10d
cmp r9b, 1
jne 0x14000a3d9
mov r8d, 1
jmp 0x14000a41a
mov edx, 3
movzx eax, bl
mov r9d, edx
mov r8d, 2
sub r9d, eax
sub rdx, rax
cmp rdx, rdi
jge 0x14000a406
cmp byte [rdx + rcx], sil
jne 0x14000a406
add r9d, r8d
add rdx, r8
cmp rdx, rdi
jl 0x14000a3f5
cmp r9d, edi
movsxd r11, r9d
setl r12b
and ebx, 1
add rcx, rbx
xor r11, 1
lea r9, [r14 + r11]
cmp rcx, r9
jae 0x14000a444
lea rdx, [0x14010a2d0]
nop word [rax + rax]
movzx eax, byte [rcx]
test byte [rax + rdx], 1
je 0x14000a444
mov eax, r8d
add rcx, rax
cmp rcx, r9
jb 0x14000a430
mov r14d, 1
cmp rcx, r9
jae 0x14000a468
movzx eax, byte [rcx]
cmp al, 0x2d
jne 0x14000a45e
mov r13d, r14d
mov r14d, r10d
jmp 0x14000a462
cmp al, 0x2b
jne 0x14000a468
mov eax, r8d
add rcx, rax
mov r15, rcx
cmp rcx, r9
jae 0x14000a480
cmp byte [rcx], 0x30
jne 0x14000a480
mov eax, r8d
add rcx, rax
cmp rcx, r9
jb 0x14000a470
mov r11d, r10d
cmp rcx, r9
jae 0x14000a4d7
mov qword [rsp + 0x40], rbp
mov rdi, rcx
mov ebp, r8d
movsx rbx, byte [rdi]
lea eax, [rbx - 0x30]
cmp al, 9
ja 0x14000a4bb
add r11d, r8d
lea rsi, [rsi + rsi*4]
movsxd rax, r11d
lea rsi, [rsi - 0x18]
add rax, rcx
lea rsi, [rbx + rsi*2]
add rdi, rbp
cmp rax, r9
jb 0x14000a493
mov rbp, qword [rsp + 0x40]
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
jbe 0x14000a4d7
mov esi, r13d
add rsi, rax
jmp 0x14000a4df
test r13d, r13d
je 0x14000a4df
neg rsi
mov rax, qword [rsp + 0x38]
mov qword [rax], rsi
mov r13, qword [rsp]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x30]
movsxd rax, r11d
add rax, rcx
cmp rax, r9
jb 0x14000a584
test r11d, r11d
jne 0x14000a50f
cmp r15, rcx
je 0x14000a584
imul eax, r8d, 0x13
cmp r11d, eax
jg 0x14000a584
test r12d, r12d
jne 0x14000a584
cmp r11d, eax
jl 0x14000a577
lea r9, str.922337203685477580
mov r11d, r10d
nop dword [rax]
cmp r10d, 0x12
jge 0x14000a555
movsxd rax, r11d
inc r10d
add r11d, r8d
movsx edx, byte [rax + rcx]
movsx eax, byte [r9]
inc r9
sub edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
je 0x14000a530
jmp 0x14000a562
lea eax, [r8 + r8*8]
add eax, eax
movsx eax, byte [rax + rcx]
sub eax, 0x38
test eax, eax
js 0x14000a577
jg 0x14000a584
lea eax, [r14 + r14]
add rsp, 0x10
pop r15
pop r14
pop r12
ret
xor eax, eax
add rsp, 0x10
pop r15
pop r14
pop r12
ret
mov eax, 1
add rsp, 0x10
pop r15
pop r14
pop r12
ret
Function at 0x140053c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14d, dword [rcx + 0x28]
xor edi, edi
xor ebx, ebx
mov rsi, r8
mov r15, rdx
mov rbp, rcx
test r14d, r14d
jle 0x140053d0c
mov qword [rsp + 0x58], r12
lea r12, [0x14010afe0]
nop word [rax + rax]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
movsxd r10, eax
test rsi, rsi
je 0x140053cb8
mov rcx, qword [rbp + 0x20]
mov rdx, r10
movzx r8d, byte [rsi]
mov rax, rsi
shl rdx, 5
movzx r9d, byte [r8 + r12]
mov r11, qword [rdx + rcx]
movzx ecx, byte [r11]
movzx ecx, byte [rcx + r12]
sub r9d, ecx
jne 0x140053ce8
sub r11, rsi
nop
test r8b, r8b
je 0x140053cb3
movzx r8d, byte [rax + 1]
inc rax
movzx ecx, byte [r11 + rax]
movzx r9d, byte [r8 + r12]
movzx edx, byte [rcx + r12]
sub r9d, edx
je 0x140053c90
jmp 0x140053ce8
test r9d, r9d
jne 0x140053ce8
mov rax, qword [rbp + 0x20]
lea r8, [rsp + 0x50]
shl r10, 5
mov rdx, r15
mov rcx, qword [r10 + rax + 0x18]
add rcx, 8
call fcn.14000b1a0
test rax, rax
je 0x140053ce6
mov rdi, qword [rax + 0x10]
test rdi, rdi
jne 0x140053cf3
jmp 0x140053ce8
xor edi, edi
inc ebx
cmp ebx, r14d
jl 0x140053c50
mov r12, qword [rsp + 0x58]
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x60]
mov rax, rdi
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140053e40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov esi, dword [rcx + 0x28]
xor r10d, r10d
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
test esi, esi
jle 0x140053f2a
mov qword [rsp + 0x48], r14
mov r14, qword [rcx + 0x20]
mov qword [rsp + 0x50], r15
lea r15, [0x14010afe0]
nop word [rax + rax]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
movsxd r9, eax
shl r9, 5
mov r11, qword [r9 + r14 + 0x18]
test rdi, rdi
je 0x140053ee2
mov r9, qword [r9 + r14]
mov rax, rdi
movzx r8d, byte [rdi]
movzx ecx, byte [r9]
movzx edx, byte [rcx + r15]
movzx ecx, byte [r8 + r15]
cmp ecx, edx
jne 0x140053f06
sub r9, rdi
nop dword [rax]
test r8b, r8b
je 0x140053ee2
movzx ecx, byte [r9 + rax + 1]
inc rax
movzx edx, byte [rcx + r15]
movzx r8d, byte [rax]
movzx ecx, byte [r8 + r15]
cmp ecx, edx
je 0x140053ec0
jmp 0x140053f06
lea rcx, [r11 + 0x20]
mov rdx, rbp
lea r8, [rsp + 0x40]
call fcn.14000b1a0
test rax, rax
je 0x140053f03
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x140053f10
jmp 0x140053f06
xor r10d, r10d
inc ebx
cmp ebx, esi
jl 0x140053e80
mov r14, qword [rsp + 0x48]
mov rax, r10
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x58]
mov rax, r10
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400898e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [rcx + 0xa0]
mov r10, rcx
test rax, rax
cmovne r10, rax
mov rax, qword [r10 + 0x240]
test rax, rax
je 0x140089914
nop dword [rax]
cmp qword [rax], rdx
jne 0x14008990b
cmp dword [rax + 0x18], r9d
je 0x140089919
mov rax, qword [rax + 8]
test rax, rax
jne 0x140089900
jmp fcn.140089330
ret
Function at 0x1400b7b90
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x1400b7bb4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x1400b7c42
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400b7c10
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x1400b7c10
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400f3c40
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400b7c2d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400b7c35
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x1400b7bd1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x1400b7d20
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x1400b7c59
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400b7c5b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400b7c8d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400f3c40
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400b7d1d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400b7cc8
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 rsi, 0xfff
jbe 0x1400b7cfe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1400da288
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x1400b7d1d
cmp rsi, rax
ja 0x1400b7cd1
test rsi, rsi
je 0x1400b7d1d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400da288
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x1400beae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140123080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x20], 0x46476475
mov dword [rsp + 0x24], 0x3738304a
mov dword [rsp + 0x28], 0x556f5256
mov word [rsp + 0x2c], 0x4834
mov byte [rsp + 0x2e], 0x43
lea rcx, [rsp + 0x38]
call fcn.1400028e0
mov rdx, rax
mov rcx, rbx
call fcn.1400b8bc0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400beb7f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400beb7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bec50
call fcn.1400d180c
mov rdx, rbx
mov rcx, rdi
call fcn.1400b8c50
xor r9d, r9d
cmp qword [rbx + 0x10], r9
jbe 0x1400bebe9
xor r8d, r8d
xor ecx, ecx
movabs r11, 0x8888888888888889
mov r10, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400bebaf
mov r10, qword [rbx]
mov rax, r11
mul rcx
shr rdx, 3
imul rax, rdx, 0xf
sub rcx, rax
movzx edx, byte [rsp + rcx + 0x20]
xor dl, byte [r8 + r10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400bebd6
mov rax, qword [rdi]
mov byte [r8 + rax], dl
inc r9d
inc r8
movsxd rcx, r9d
cmp rcx, qword [rbx + 0x10]
jb 0x1400beba2
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400bec1f
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400bec1a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400bec56
mov rcx, r8
call fcn.1400d180c
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d12d0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
call fcn.1400d75d4
nop
call fcn.1400d75d4
int3
Function at 0x1400bec60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140123080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x60], rdx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x20], 0x6b373839
mov dword [rsp + 0x24], 0x73696f6a
mov dword [rsp + 0x28], 0x38686975
mov word [rsp + 0x2c], 0x3239
mov byte [rsp + 0x2e], 0x68
call fcn.1400b8c50
mov dword [rsp + 0x30], 1
mov r9d, ebp
cmp qword [rbx + 0x10], r9
jbe 0x1400bed27
mov r8d, ebp
mov ecx, ebp
movabs r11, 0x8888888888888889
nop word [rax + rax]
mov r10, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400beced
mov r10, qword [rbx]
mov rax, r11
mul rcx
shr rdx, 3
imul rax, rdx, 0xf
sub rcx, rax
movzx edx, byte [rsp + rcx + 0x20]
xor dl, byte [r8 + r10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400bed14
mov rax, qword [rdi]
mov byte [r8 + rax], dl
inc r9d
inc r8
movsxd rcx, r9d
cmp rcx, qword [rbx + 0x10]
jb 0x1400bece0
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400bed34
mov rdx, qword [rdi]
mov r8d, dword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140002530
mov rsi, rax
cmp rdi, rax
je 0x1400bedb0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400bed84
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400bed7f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400bee4f
mov rcx, r8
call fcn.1400d180c
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], send
mov byte [rdi], 0
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400bedea
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bede4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bee4f
call fcn.1400d180c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400bee20
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400bee1b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400bee55
mov rcx, r8
call fcn.1400d180c
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400d12d0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
call fcn.1400d75d4
nop
call fcn.1400d75d4
int3
Function at 0x1400c9570
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400c95a4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400c9590
ret
Function at 0x1400cb980
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 0x1400cba45
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400cba45
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 0x1400cba5e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1400cba35
cmp byte [rcx], 0x5c
jne 0x1400cba2e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x1400cba2e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400cba1c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1400cba2b
test r8b, 0x10
jne 0x1400cba2e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x1400cba2e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400ca2a0
test edi, edi
jne 0x1400cb9a0
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.1400ca290
int3

Function at 0x1400cee60
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 0x1400cee9a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400cee9f
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 0x1400ceee8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400f8ed0]
cmp byte [rcx + rax], 0
je 0x1400ceee8
dec r8
sub rdx, 1
jne 0x1400ceece
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400d208c
Capabilities:
Parse pe header

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

Function at 0x1400d7784
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400d77bb
call fcn.1400d8cf0
mov dword [rax], socket
call fcn.1400d75b4
xor eax, eax
jmp 0x1400d7849
mov rdx, r9
mov rcx, r8
call fcn.1400d7720
mov rbx, rax
test rax, rax
je 0x1400d7846
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400d764c]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400d7833
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400d8c64
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400d781a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400d7829
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400e2100
jmp 0x1400d7846
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400d7843
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400daa9c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400d1bd0
sub rsp, rax
mov rax, qword [0x140123080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400e3db4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400daaeb
mov rax, rbp
jmp 0x1400dabf3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x127a00]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400e6788
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x127a00]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400dabef
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400dabef
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400e6788
test rax, rax
js 0x1400dabef
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400dabef
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400dabe1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400dabe1
cmp byte [rcx], 0xd
jne 0x1400dabc7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400dabd6
cmp byte [rcx + 1], 0xa
jne 0x1400dabd6
inc rcx
jmp 0x1400dabd6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x123680]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400daba9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400dabf3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400d12d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400deaf0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400deb5f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400deb5f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400deb5f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400deb5f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400deb5f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400deb5f
cmp dword [rcx + 0xf8], 0
je 0x1400deb5f
mov ecx, ebx
call fcn.1400dec10
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400de9ec
nop
cmp dword [rbp + 0x20], 0
je 0x1400debad
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400debb8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400deaf0
Function at 0x1400decf4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400deaf0

Function at 0x1400e3ed4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400e3eea
mov al, 1
jmp 0x1400e3f4a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400e3efb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400e3f48
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400ebcc4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400e3f48
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400e3f48
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e3f48
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400e3f4a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400e5908
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140127a00]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400e595f
cmp word [rdx], r13w
jne 0x1400e595f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400e5964
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400e5a89
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400e5aaa
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400e599d
mov rdx, r9
mov word [rbx], cx
jmp 0x1400e59c4
cmp r9, r8
jae 0x1400e59d4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400e597e
jmp 0x1400e5a89
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e5a7e
cmp dword [rsp + 0x80], esi
je 0x1400e5a7e
lea r8, [0x140127a00]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400e5a56
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400e5a26
mov word [rbx], r13w
jmp 0x1400e5a86
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400e5a33
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400e5a86
cmp word [rsp + 0x70], r13w
jne 0x1400e5a63
cmp rbx, r14
je 0x1400e5a20
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400e6790
cmp word [rsp + 0x70], r13w
je 0x1400e5a89
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140127a00]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400e5a83
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400e5a89