joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ba170
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp dword [rcx + 0x4a8], 0
mov rax, qword [rsp + 0x130]
mov r14, r9
mov rbp, r8
mov esi, edx
mov rdi, rcx
je 0x1400ba29f
test rax, rax
je 0x1400ba29f
mov rdx, qword [rax + 0xc0]
test rdx, rdx
je 0x1400ba29f
mov ecx, esi
lea r9, str.Data
dec ecx
je 0x1400ba1f7
dec ecx
je 0x1400ba1e7
dec ecx
je 0x1400ba1fe
dec ecx
je 0x1400ba1ee
jmp 0x1400ba29f
lea r9, str.Header
lea rax, [0x140265384]
jmp 0x1400ba205
lea r9, [0x1402655d4]
lea rax, str.from
mov qword [rsp + 0x28], rdx
lea r8, str.__s__s__s_
lea rcx, [rsp + 0x30]
mov edx, 0xa0
mov qword [rsp + 0x20], rax
call fcn.1400be4d0
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400ba230
mov r10, qword [rdi + 0x2c8]
test r10, r10
je 0x1400ba267
mov rax, qword [rdi + 0x218]
lea r8, [rsp + 0x30]
mov r9, rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call r10
test eax, eax
je 0x1400ba29f
jmp 0x1400ba2af
mov r9, qword [rdi + 0x210]
mov edx, 2
lea rcx, [0x1402235f0]
lea r8d, [rdx - 1]
call qword [sym.imp.MSVCR120.dll_fwrite]
mov r9, qword [rdi + 0x210]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fwrite]
mov r9, r14
mov r8, rbp
mov edx, esi
mov rcx, rdi
call fcn.1400ba0d0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401bb2c0
add rsp, 0xe0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400c7ec0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13, qword [rsp + 0x70]
xor r14d, r14d
mov rdi, r9
mov rbp, r8
mov r15, rdx
mov r12, rcx
mov qword [r13], r14
mov rsi, qword [r12]
xor eax, eax
mov ecx, 1
mov r8d, dword [rsi + 0x338]
mov edx, dword [rsi + 0x33c]
mov ebx, 0x493e0
test r8d, r8d
cmovg eax, ecx
test edx, edx
jle 0x1400c7f1e
or eax, 2
dec eax
je 0x1400c7f39
dec eax
je 0x1400c7f35
dec eax
jne 0x1400c7f3c
mov ebx, edx
cmp r8d, edx
cmovl ebx, r8d
jmp 0x1400c7f3c
mov ebx, edx
jmp 0x1400c7f3c
mov ebx, r8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov r10d, edx
shr r10d, 6
mov dword [rsp + 0x70], r10d
imul eax, r10d, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov rcx, qword [rsi + 0x7d0]
mov dword [rsp + 0x74], eax
mov r8, qword [rsp + 0x70]
mov rax, rcx
shr rax, 0x20
shr r8, 0x20
sub ecx, r10d
sub r8d, eax
mov eax, 0x10624dd3
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, ecx, 0x3e8
sub eax, edx
add ebx, eax
je 0x1400c8016
test ebx, ebx
js 0x1400c8016
mov r9d, ebx
or r8, 0xffffffffffffffff
mov rcx, r15
call fcn.1400b9290
test eax, eax
jle 0x1400c8011
xor r9d, r9d
mov r8d, edi
mov rdx, rbp
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1400c7fef
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1400c7ef4
mov eax, 0x38
jmp 0x1400c801b
cmp rdi, rcx
je 0x1400c8006
test eax, eax
je 0x1400c8011
sub rdi, rcx
add rbp, rcx
add r14, rcx
jmp 0x1400c7ef4
add rcx, r14
xor eax, eax
mov qword [r13], rcx
jmp 0x1400c801b
or eax, 0xffffffff
jmp 0x1400c801b
mov eax, 0x1c
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c9540
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400c955f
lea r8, [0x140000000]
cdqe
mov edx, dword [r8 + rax*4 + 0xc95b4]
add rdx, r8
jmp rdx
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
movzx eax, cl
ret

Function at 0x1400c9620
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
movzx r9d, byte [rcx]
mov r11, rdx
mov r10, rcx
test r9b, r9b
je 0x1400c9713
mov qword [rsp + 0x20], rbx
lea rbx, [0x140000000]
movzx edx, byte [r11]
test dl, dl
je 0x1400c970e
movsx eax, r9b
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400c966b
cdqe
mov ecx, dword [rbx + rax*4 + 0xc9738]
add rcx, rbx
jmp rcx
mov r9b, 0x41
jmp case.default.0x1400c966b
mov r9b, 0x42
jmp case.default.0x1400c966b
mov r9b, 0x43
jmp case.default.0x1400c966b
mov r9b, 0x44
jmp case.default.0x1400c966b
mov r9b, 0x45
jmp case.default.0x1400c966b
mov r9b, 0x46
jmp case.default.0x1400c966b
mov r9b, 0x47
jmp case.default.0x1400c966b
mov r9b, 0x48
jmp case.default.0x1400c966b
mov r9b, 0x49
jmp case.default.0x1400c966b
mov r9b, 0x4a
jmp case.default.0x1400c966b
mov r9b, 0x4b
jmp case.default.0x1400c966b
mov r9b, 0x4c
jmp case.default.0x1400c966b
mov r9b, 0x4d
jmp case.default.0x1400c966b
mov r9b, 0x4e
jmp case.default.0x1400c966b
mov r9b, 0x4f
jmp case.default.0x1400c966b
mov r9b, 0x50
jmp case.default.0x1400c966b
mov r9b, 0x51
jmp case.default.0x1400c966b
mov r9b, 0x52
jmp case.default.0x1400c966b
mov r9b, 0x53
jmp case.default.0x1400c966b
mov r9b, 0x54
jmp case.default.0x1400c966b
mov r9b, 0x55
jmp case.default.0x1400c966b
mov r9b, 0x56
jmp case.default.0x1400c966b
mov r9b, 0x57
jmp case.default.0x1400c966b
mov r9b, 0x58
jmp case.default.0x1400c966b
mov r9b, 0x59
jmp case.default.0x1400c966b
mov r9b, 0x5a
movzx ecx, dl
call fcn.1400c9540
cmp r9b, al
jne 0x1400c970e
movzx r9d, byte [r10 + 1]
inc r10
inc r11
test r9b, r9b
jne 0x1400c9643
mov rbx, qword [rsp + 0x20]
movzx ecx, byte [r10]
call fcn.1400c9540
movzx ecx, byte [r11]
movzx r9d, al
call fcn.1400c9540
xor ecx, ecx
cmp r9b, al
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1400c97a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r9d, byte [rcx]
mov r11, r8
mov rbx, rdx
mov r10, rcx
test r9b, r9b
je 0x1400c98a6
lea rdi, [0x140000000]
nop word [rax + rax]
movzx edx, byte [rbx]
test dl, dl
je 0x1400c98a6
test r11, r11
je 0x1400c98ab
movsx eax, r9b
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400c9800
cdqe
mov ecx, dword [rdi + rax*4 + 0xc98e8]
add rcx, rdi
jmp rcx
mov r9b, 0x41
jmp case.default.0x1400c9800
mov r9b, 0x42
jmp case.default.0x1400c9800
mov r9b, 0x43
jmp case.default.0x1400c9800
mov r9b, 0x44
jmp case.default.0x1400c9800
mov r9b, 0x45
jmp case.default.0x1400c9800
mov r9b, 0x46
jmp case.default.0x1400c9800
mov r9b, 0x47
jmp case.default.0x1400c9800
mov r9b, 0x48
jmp case.default.0x1400c9800
mov r9b, 0x49
jmp case.default.0x1400c9800
mov r9b, 0x4a
jmp case.default.0x1400c9800
mov r9b, 0x4b
jmp case.default.0x1400c9800
mov r9b, 0x4c
jmp case.default.0x1400c9800
mov r9b, 0x4d
jmp case.default.0x1400c9800
mov r9b, 0x4e
jmp case.default.0x1400c9800
mov r9b, 0x4f
jmp case.default.0x1400c9800
mov r9b, 0x50
jmp case.default.0x1400c9800
mov r9b, 0x51
jmp case.default.0x1400c9800
mov r9b, 0x52
jmp case.default.0x1400c9800
mov r9b, 0x53
jmp case.default.0x1400c9800
mov r9b, 0x54
jmp case.default.0x1400c9800
mov r9b, 0x55
jmp case.default.0x1400c9800
mov r9b, 0x56
jmp case.default.0x1400c9800
mov r9b, 0x57
jmp case.default.0x1400c9800
mov r9b, 0x58
jmp case.default.0x1400c9800
mov r9b, 0x59
jmp case.default.0x1400c9800
mov r9b, 0x5a
movzx ecx, dl
call fcn.1400c9540
cmp r9b, al
jne 0x1400c98a6
movzx r9d, byte [r10 + 1]
inc r10
dec r11
inc rbx
test r9b, r9b
jne 0x1400c97d0
test r11, r11
jne 0x1400c98bb
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx ecx, byte [r10]
call fcn.1400c9540
movzx ecx, byte [rbx]
movzx r9d, al
call fcn.1400c9540
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
cmp r9b, al
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400c9950
Capabilities:
Parse pe header

Disassembly:
mov r10, rcx
lea r11, [0x140000000]
sub r10, rdx
nop dword [rax]
movsx r9d, byte [rdx]
lea eax, [r9 - 0x61]
cmp eax, 0x19
ja case.default.0x1400c997e
cdqe
mov ecx, dword [r11 + rax*4 + 0xc9a18]
add rcx, r11
jmp rcx
mov r9b, 0x41
jmp case.default.0x1400c997e
mov r9b, 0x42
jmp case.default.0x1400c997e
mov r9b, 0x43
jmp case.default.0x1400c997e
mov r9b, 0x44
jmp case.default.0x1400c997e
mov r9b, 0x45
jmp case.default.0x1400c997e
mov r9b, 0x46
jmp case.default.0x1400c997e
mov r9b, 0x47
jmp case.default.0x1400c997e
mov r9b, 0x48
jmp case.default.0x1400c997e
mov r9b, 0x49
jmp case.default.0x1400c997e
mov r9b, 0x4a
jmp case.default.0x1400c997e
mov r9b, 0x4b
jmp case.default.0x1400c997e
mov r9b, 0x4c
jmp case.default.0x1400c997e
mov r9b, 0x4d
jmp case.default.0x1400c997e
mov r9b, 0x4e
jmp case.default.0x1400c997e
mov r9b, 0x4f
jmp case.default.0x1400c997e
mov r9b, 0x50
jmp case.default.0x1400c997e
mov r9b, 0x51
jmp case.default.0x1400c997e
mov r9b, 0x52
jmp case.default.0x1400c997e
mov r9b, 0x53
jmp case.default.0x1400c997e
mov r9b, 0x54
jmp case.default.0x1400c997e
mov r9b, 0x55
jmp case.default.0x1400c997e
mov r9b, 0x56
jmp case.default.0x1400c997e
mov r9b, 0x57
jmp case.default.0x1400c997e
mov r9b, 0x58
jmp case.default.0x1400c997e
mov r9b, 0x59
jmp case.default.0x1400c997e
mov r9b, 0x5a
mov byte [r10 + rdx], r9b
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1400c9a17
dec r8
jne 0x1400c9960
ret
Function at 0x1400cc100
Capabilities:
Resolve dns

Disassembly:
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov qword [r9], r13
lea r9, [rsp + 0x68]
mov ebx, r13d
mov r15d, r13d
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r14d, eax
test eax, eax
jne 0x1400cc2ce
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x60], rdi
test rsi, rsi
je 0x1400cc2ae
mov qword [rsp + 0x50], rbp
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1400cc15d
lea ebp, [rax + 0xe]
jmp 0x1400cc169
cmp eax, 0x17
jne 0x1400cc211
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], r13
je 0x1400cc211
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400cc211
cmp rax, rbp
jb 0x1400cc211
mov ecx, 0x30
call qword [sub.MSVCR120.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400cc24c
mov ecx, dword [rsi]
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0x10], ebp
mov dword [rax + 0xc], ecx
mov rcx, rbp
mov qword [rax + 0x20], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x28], r13
call qword [sub.MSVCR120.dll_malloc]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x1400cc23b
mov rdx, qword [rsi + 0x20]
mov r8, rbp
mov rcx, rax
call sub.MSVCR120.dll_memcpy
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1400cc1fe
call qword [case.0x1400bb044.0]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x1400cc220
test rbx, rbx
cmove rbx, rdi
test r15, r15
je 0x1400cc20e
mov qword [r15 + 0x28], rdi
mov r15, rdi
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1400cc150
jmp 0x1400cc252
mov rcx, qword [rdi + 0x20]
mov r14d, 8
call qword [sub.MSVCR120.dll_free]
mov rcx, rdi
call qword [sub.MSVCR120.dll_free]
jmp 0x1400cc252
mov rcx, rdi
mov r14d, 8
call qword [sub.MSVCR120.dll_free]
jmp 0x1400cc252
mov r14d, 8
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
test rcx, rcx
je 0x1400cc267
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r14d, r14d
je 0x1400cc2a9
test rbx, rbx
je 0x1400cc2a4
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400cc280
call qword [sub.MSVCR120.dll_free]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400cc28f
call qword [sub.MSVCR120.dll_free]
mov rdi, qword [rbx + 0x28]
mov rcx, rbx
call qword [sub.MSVCR120.dll_free]
mov rbx, rdi
test rdi, rdi
jne 0x1400cc271
mov rbx, r13
jmp 0x1400cc2bd
test rbx, rbx
jne 0x1400cc2bd
mov r14d, 0x2af9
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov qword [r12], rbx
mov eax, r14d
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x1400d3480
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
mov rdi, r8
cmp dword [rcx + 8], 2
mov rsi, rdx
jne 0x1400d34ca
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x1400d34ba
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rcx + 0x10]
mov edx, 1
mov rcx, rsi
call rax
jmp 0x1400d3514
cmp qword [rbx + 0x10], 0
jne 0x1400d34ff
mov rcx, qword [rcx + 0x10]
lea rdx, [0x140267ab4]
call qword [sym.imp.MSVCR120.dll_fopen]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1400d34ff
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rbx + 0x10]
mov r8, rdi
mov edx, 1
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_fread]
mov rdi, rax
test rax, rax
jne 0x1400d3538
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400d352f
call qword [sym.imp.MSVCR120.dll_fclose]
mov qword [rbx + 0x10], rdi
mov rax, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x1400d3b10
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rdx
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x20]
call sub.MSVCR120.dll_memset
mov dword [rsp + 0x20], 0x67452301
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1400d3b70
lea rcx, [rsp + 0x20]
mov r8d, eax
mov rdx, rbx
call fcn.1400d9db0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400d9ee0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401bb2c0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x1400d5130
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x70]
call sub.MSVCR120.dll_memset
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
mov dword [rbx + 0x6c], 0x20
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x1400d5190
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rsp + 0x90], rax
test r8, r8
mov rdi, rdx
mov rbx, rcx
lea rsi, [0x1402eb1f8]
lea rcx, [rsp + 0x20]
cmovne rsi, r8
xor edx, edx
lea r8d, [rdx + 0x70]
call sub.MSVCR120.dll_memset
lea rcx, [rsp + 0x20]
mov r8, rdi
mov rdx, rbx
mov dword [rsp + 0x20], 0x6a09e667
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
mov dword [rsp + 0x8c], 0x20
call fcn.1400d5270
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400d53a0
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_WSASetLastError
call fcn.140012ba0
mov rax, rsi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401bb2c0
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d6270
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r10, dword [rdx + 8]
lea rbx, [rcx - 1]
movsxd rcx, dword [r8 + 8]
xor rcx, r10
shr rbx, 0x3f
movsxd rsi, r9d
dec rbx
lea eax, [rsi - 1]
mov r11, r8
and rcx, rbx
mov rdi, rdx
xor r10d, ecx
mov dword [rdx + 8], r10d
xor dword [r8 + 8], ecx
cmp eax, 9
ja case.default.0x1400d62c7
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0xd6470]
add rcx, rdx
jmp rcx
mov r9d, 0xa
cmp r9, rsi
jge case.0x1400d62c7.10
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi]
mov rcx, qword [rax + r9*8]
lea rdx, [rax + r9*8]
mov rax, qword [r11]
inc r9
mov r8, qword [rax + r9*8 - 8]
xor r8, rcx
and r8, rbx
xor rcx, r8
mov qword [rdx], rcx
mov rax, qword [r11]
xor qword [rax + r9*8 - 8], r8
cmp r9, rsi
jl 0x1400d62e0
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x48]
mov rdx, qword [rax + 0x48]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x48], rcx
mov rax, qword [r11]
xor qword [rax + 0x48], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x40]
mov rdx, qword [rax + 0x40]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x40], rcx
mov rax, qword [r11]
xor qword [rax + 0x40], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x38]
mov rdx, qword [rax + 0x38]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x38], rcx
mov rax, qword [r11]
xor qword [rax + 0x38], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x30]
mov rdx, qword [rax + 0x30]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x30], rcx
mov rax, qword [r11]
xor qword [rax + 0x30], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x28]
mov rdx, qword [rax + 0x28]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x28], rcx
mov rax, qword [r11]
xor qword [rax + 0x28], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x20]
mov rdx, qword [rax + 0x20]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x20], rcx
mov rax, qword [r11]
xor qword [rax + 0x20], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x18]
mov rdx, qword [rax + 0x18]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x18], rcx
mov rax, qword [r11]
xor qword [rax + 0x18], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x10]
mov rdx, qword [rax + 0x10]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x10], rcx
mov rax, qword [r11]
xor qword [rax + 0x10], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 8]
mov rdx, qword [rax + 8]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 8], rcx
mov rax, qword [r11]
xor qword [rax + 8], rdx
mov r8, qword [rdi]
mov rax, qword [r11]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [r8]
mov rcx, qword [rax]
mov rdi, qword [rsp + 0x18]
xor rcx, rdx
and rcx, rbx
mov rbx, qword [rsp + 8]
xor rdx, rcx
mov qword [r8], rdx
mov rax, qword [r11]
xor qword [rax], rcx
ret
Function at 0x1400e92e0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, str.OPENSSL_CONF
call qword [sym.imp.MSVCR120.dll_getenv]
xor ebx, ebx
test rax, rax
je 0x1400e9326
mov rcx, rax
cmp byte [rax], bl
je 0x1400e9313
cmp ebx, 0x80000000
jae 0x1400e9313
inc rcx
inc ebx
cmp byte [rcx], 0
jne 0x1400e9301
mov edx, ebx
mov rcx, rax
btr edx, 0x1f
add rsp, 0x30
pop rbx
jmp fcn.1400f4eb0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [0x14026bb0c]
mov eax, ebx
mov rcx, rdi
cmp byte [reloc.WS2_32.dll_WSAStartup], al
je 0x1400e9354
cmp eax, 0x80000000
jae 0x1400e9354
inc rcx
inc eax
cmp byte [rcx], bl
jne 0x1400e9344
btr eax, 0x1f
mov ecx, ebx
lea rdx, [0x140272f40]
inc eax
cmp byte [reloc.WS2_32.dll_WSAGetLastError], cl
je 0x1400e9381
nop dword [rax + rax]
cmp ecx, 0x80000000
jae 0x1400e9381
inc rdx
inc ecx
cmp byte [rdx], bl
jne 0x1400e9370
btr ecx, 0x1f
mov qword [rsp + 0x40], rbp
lea esi, [rcx + rax]
inc esi
test esi, esi
jle 0x1400e951e
mov rax, qword [0x1402eae90]
mov dword [reloc.WS2_32.dll_accept], ebx
test rax, rax
je 0x1400e93c6
lea r8, [0x140272f50]
mov r9d, 0x231
mov edx, esi
xor ecx, ecx
mov dword [reloc.WS2_32.dll_accept], ebx
mov dword [rsp + 0x20], ebx
call rax
lea rdx, [0x140272f50]
movsxd rcx, esi
mov r8d, 0x231
call qword [0x140223d08]
mov r10, qword [0x1402eae90]
mov rbp, rax
test r10, r10
je 0x1400e9408
lea r8, [0x140272f50]
mov r9d, 0x231
mov edx, esi
mov rcx, rax
mov dword [rsp + 0x20], 1
call r10
test rbp, rbp
je 0x1400e951e
movsxd rdx, esi
mov rcx, rbp
mov rax, rdx
cmp rdx, 1
jbe 0x1400e943b
movzx r8d, byte [rdi]
test r8b, r8b
je 0x1400e943b
dec rax
mov byte [rcx], r8b
inc rcx
inc rdi
cmp rax, 1
ja 0x1400e9420
test rax, rax
je 0x1400e9442
mov byte [rcx], bl
mov eax, ebx
cmp byte [rdi], al
je 0x1400e9458
cmp eax, 0x80000000
jae 0x1400e9458
inc rdi
inc eax
cmp byte [rdi], bl
jne 0x1400e9448
mov rax, rdx
mov rcx, rbp
test esi, esi
je 0x1400e946e
cmp byte [rcx], bl
je 0x1400e946e
inc rcx
dec rax
jne 0x1400e9462
lea r8, [0x140268e14]
cmp rax, 1
jbe 0x1400e949b
nop dword [rax + rax]
movzx r9d, byte [r8]
test r9b, r9b
je 0x1400e949b
dec rax
mov byte [rcx], r9b
inc rcx
inc r8
cmp rax, 1
ja 0x1400e9480
test rax, rax
je 0x1400e94a2
mov byte [rcx], bl
mov eax, ebx
cmp byte [r8], al
je 0x1400e94c1
nop dword [rax]
cmp eax, 0x80000000
jae 0x1400e94c1
inc r8
inc eax
cmp byte [r8], bl
jne 0x1400e94b0
mov rcx, rbp
test esi, esi
je 0x1400e94d4
cmp byte [rcx], bl
je 0x1400e94d4
inc rcx
dec rdx
jne 0x1400e94c8
lea rax, str.openssl.cnf
cmp rdx, 1
jbe 0x1400e94fc
movzx r8d, byte [rax]
test r8b, r8b
je 0x1400e94fc
dec rdx
mov byte [rcx], r8b
inc rcx
inc rax
cmp rdx, 1
ja 0x1400e94e1
test rdx, rdx
je 0x1400e9503
mov byte [rcx], bl
cmp byte [rax], bl
je 0x1400e9519
cmp ebx, 0x80000000
jae 0x1400e9519
inc rax
inc ebx
cmp byte [rax], 0
jne 0x1400e9507
mov rax, rbp
jmp 0x1400e9520
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
Function at 0x1400e9b70
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x460
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebp, ebp
mov rdi, rcx
mov ebx, 0x400
test rcx, rcx
jne 0x1400e9ba3
xor eax, eax
jmp 0x1400e9ca7
xor eax, eax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.MSVCR120.dll__stat64i32]
test eax, eax
js 0x1400e9b9c
mov qword [rsp + 0x490], r14
call fcn.1400d9c50
test rax, rax
je 0x1400e9bfd
mov r8, qword [rax + 0x18]
test r8, r8
je 0x1400e9bfd
xorps xmm2, xmm2
lea rcx, [rsp + 0x20]
mov edx, 0x30
call r8
lea rdx, [0x140268e7c]
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_fopen]
mov r14, rax
test rax, rax
je 0x1400e9c9d
mov qword [rsp + 0x488], rsi
mov edi, 0x400
test ebx, ebx
jle 0x1400e9c2f
cmp ebx, edi
cmovl edi, ebx
lea rcx, [rsp + 0x50]
movsxd r8, edi
mov r9, r14
mov edx, 1
call qword [sym.imp.MSVCR120.dll_fread]
mov rsi, rax
test eax, eax
jle 0x1400e9c7d
call fcn.1400d9c50
test rax, rax
je 0x1400e9c71
mov r8, qword [rax + 0x18]
test r8, r8
je 0x1400e9c71
movd xmm2, esi
lea rcx, [rsp + 0x50]
mov edx, esi
cvtdq2pd xmm2, xmm2
call r8
add ebp, esi
test ebx, ebx
jle 0x1400e9c21
sub ebx, edi
test ebx, ebx
jg 0x1400e9c21
mov rcx, r14
call qword [sym.imp.MSVCR120.dll_fclose]
lea rcx, [rsp + 0x50]
mov edx, 0x400
call fcn.140012ba0
mov rsi, qword [rsp + 0x488]
mov r14, qword [rsp + 0x490]
mov eax, ebp
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1401bb2c0
add rsp, 0x460
pop rdi
pop rbp
pop rbx
ret