joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485960
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48609f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x48598d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x485c11
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x485c3d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004f83c0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004af6c0]
lea rbx, [0x004f6500]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x485c62
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x485c97
lea rdi, [0x004af740]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x485983
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x485c7b
jmp 0x485c50
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x486240
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x486257
inc rax
cmp rax, 4
jge 0x48626f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x486254
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x486280
inc rax
cmp rax, 4
jge 0x48628e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4862b7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x48629b
jmp 0x48627d

Function at 0x489c80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x489d4a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x005d1aa0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x489d2f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004af7c0]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x489d1e
mov edi, 1
lea rsi, [0x004af7c0]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004f6628]
lea rsi, [0x004f5e20]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x180006021
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x200
pxor xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movq qword [rbp - 0x10], xmm0
lea rdi, [rbp - 0x90]
mov eax, 0
mov ecx, 0xd
rep stosq qword [rdi], rax
mov dword [rbp - 0x90], 0x68
mov dword [rbp - 0x54], 0x100
mov qword [rbp - 0x38], r10
mov qword [rbp - 0x30], r10
push rbp
mov rbp, rsp
sub rsp, 0x388
or ecx, dword [rbp - 0x8b]
mov qword [rbp - 0x1e], r11
movzx ecx, dh
sub rsp, 0x10
mov qword [rsp], 0
jmp 0x1800061c9
mov dx, 0x456
mov qword [rbp - 0x21], r9
mov dword [rbp - 0x2f3], edx
mov edx, dword [rbp - 0x234]
and eax, dword [rbp - 0x13e]
sub rdx, 0x526
mov qword [rbp - 0x251], rax
sub r9, qword [rbp - 0x2db]
mov dword [rbp - 0x2f2], ecx
and eax, edx
mov qword [rbp - 0x35e], rax
sub ecx, dword [rbp - 0x2b2]
and edx, 0x5483
movzx ecx, dl
mov qword [0x180009bb3], rcx
mov eax, dword [rbp - 0x20b]
mov edx, dword [rbp - 0xf7]
xor qword [rbp - 0x334], r10
mov qword [rbp - 0x260], r10
mov r9, 0xa967
mov eax, dword [rbp - 0x329]
mov qword [0x180009bb1], r11
mov edx, dword [0x180009bab]
mov qword [rbp - 0x10f], r8
sub r9, r10
xor r9, qword [rbp - 0x84]
add dword [rbp - 0x6e], eax
mov dword [rbp - 0xb1], ecx
xor dword [rbp - 0x32], ecx
sub rdx, rax
mov qword [rbp - 0x2b4], r8
mov r9, rax
mov rax, qword [0x180009ba5]
mov dword [rbp - 0x11], ecx
lea r11, [rbp - 0x245]
movzx edx, ah
movzx eax, al
mov rdx, qword [rbp - 0x231]
mov ecx, 0xcb06
lea r8, [rbp - 0x1ca]
sub dword [rbp - 0x378], eax
mov qword [rbp - 0x2c1], rdx
mov ecx, dword [rbp - 0x215]
mov r10, qword [rbp - 0x127]
mov dword [rbp - 0xc8], eax
mov dword [rbp - 0x34], ecx
xor ecx, eax
sub ecx, dword [rbp - 0x289]
add r8, qword [rbp - 0x129]
mov rdx, qword [rbp - 0x196]
mov r9, rax
lea rax, [rbp - 0x197]
add qword [rbp - 0x254], r11
mov dword [rbp - 0x2df], eax
or dword [rbp - 0x134], eax
sub r11, qword [rbp - 0x1f]
inc qword [rsp]
mov rax, 0x1cd8
cmp qword [rsp], rax
jle 0x18000608f
add rsp, 0x10
leave
lea rcx, [0x180009117]
call sub.msvcrt.dll_getenv
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
mov rdx, rsi
mov ecx, 0
mov rax, qword [0x180009a8c]
call rax
push rbp
mov rbp, rsp
sub rsp, 0x358
mov dword [rbp - 0x23c], eax
nop
and al, byte [rbp - 0x2b]
mov r11, qword [0x180009bae]
cmp r9, qword [0x180009bae]
jmp 0x180006423
leave
mov rax, qword [rbp - 0x20]
mov qword [0x18000943e], rax
mov rsp, rbp
pop rbp
ret
Function at 0x1800077d8
Capabilities:
Connect socket
Resolve dns

Disassembly:
push rbx
sub rsp, 0x30
call sub.msvcrt.dll_rand
cdq
idiv dword [0x180009a70]
lea rcx, [0x180009a40]
mov rcx, qword [rcx + rdx*8]
mov qword [0x18000922c], rcx
xor r8d, r8d
lea rdx, [0x180009229]
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
call sub.WS2_32.dll_getaddrinfo
test eax, eax
jne 0x180007872
mov rax, qword [rsp + 0x28]
mov r8d, 6
mov edx, 1
mov ecx, dword [rax + 4]
call sub.WS2_32.dll_socket
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180007868
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x20]
mov r8d, dword [rcx + 0x10]
mov rcx, rbx
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x180007860
mov rax, rbx
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
call sub.WS2_32.dll_closesocket
mov rcx, qword [rsp + 0x28]
call sub.WS2_32.dll_freeaddrinfo
mov rax, 0xffffffffffffffff
add rsp, 0x30
pop rbx
ret
Function at 0x14000e260
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword gs:[0x58]
mov rdi, rcx
mov ecx, 4
mov rbx, r9
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1400cbc18], eax
jle 0x14000e47b
lea rcx, [0x1400cbc18]
call fcn.140094d1c
cmp dword [0x1400cbc18], 0xffffffff
jne 0x14000e47b
movups xmm0, xmmword [str._vDRYM_hYJV__B_xWGnP_Ls_mZ5_E]
movups xmmword [rsp + 0x40], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14000e456
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000e410
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rsp + 0x44]
movdqa xmm4, xmmword [0x1400b9d20]
xor edx, edx
movdqa xmm3, xmmword [0x1400b9e50]
movdqa xmm5, xmmword [0x1400b9d60]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1400b9de0]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x14000e320
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x14000e456
lea r9, [rsp + 0x40]
xor r8d, r8d
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x33
add dl, r8b
inc r8d
xor byte [r9 - 1], dl
cmp r8d, 0x10
jl 0x14000e420
mov rcx, qword [0x1400cb7a8]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1400cbc18]
mov qword [0x1400cbc38], rax
call fcn.140094cb0
mov rax, qword [0x1400cbc38]
test rax, rax
je 0x14000e4c7
mov qword [rsp + 0xb0], 0
mov r9, rbx
mov dword [rsp + 0xa8], 0x8400000
xor r8d, r8d
mov edx, 0xf001f
mov dword [rsp + 0xa0], 0x40
mov rcx, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp rax
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x80]
mov eax, 0xc000007a
add rsp, 0x70
pop rdi
ret
Function at 0x14000e4f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword gs:[0x58]
mov rdi, rcx
mov ecx, 4
mov rbx, r8
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1400cbc1c], eax
jle 0x14000e716
lea rcx, [0x1400cbc1c]
call fcn.140094d1c
cmp dword [0x1400cbc1c], 0xffffffff
jne 0x14000e716
movzx eax, word [0x1400b7db8]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [0x1400b7da8]
mov word [rsp + 0x70], ax
movzx eax, byte [0x1400b7dba]
mov byte [rsp + 0x72], al
movups xmmword [rsp + 0x60], xmm0
jl 0x14000e6a6
movdqa xmm0, xmmword [str.3333333333333333]
lea rdx, [rsp + 0x64]
movdqa xmm4, xmmword [0x1400b9d20]
movdqa xmm3, xmmword [0x1400b9e50]
movdqa xmm5, xmmword [0x1400b9d60]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x1400b9de0]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x14000e5b0
movaps xmm6, xmmword [rsp + 0x80]
cmp ecx, 0x13
jge 0x14000e6f1
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x33
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x13
jl 0x14000e6c0
mov rcx, qword [0x1400cb7a8]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1400cbc1c]
mov qword [0x1400cbc28], rax
call fcn.140094cb0
mov r10, qword [0x1400cbc28]
test r10, r10
je 0x14000e766
xor r9d, r9d
mov dword [rsp + 0xe8], 4
mov r8, rbx
mov dword [rsp + 0xe0], 0
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0xd8], 2
mov rcx, rdi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
jmp r10
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0xa0]
mov eax, 0xc000007a
add rsp, 0x90
pop rdi
ret
Function at 0x14000e790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword gs:[0x58]
mov rbp, rcx
mov ecx, 4
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
mov r10, qword [rax]
mov eax, dword [rcx + r10]
cmp dword [0x1400cbc30], eax
jle 0x14000e9cc
lea rcx, [0x1400cbc30]
call fcn.140094d1c
cmp dword [0x1400cbc30], 0xffffffff
jne 0x14000e9cc
mov eax, dword [0x1400b7dd0]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str._eDXLYOjTLK5_.]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1400b7dd4]
mov word [rsp + 0x54], ax
movzx eax, byte [0x1400b7dd6]
mov byte [rsp + 0x56], al
movups xmmword [rsp + 0x40], xmm0
jl 0x14000e966
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rsp + 0x44]
movdqa xmm4, xmmword [0x1400b9d20]
movdqa xmm3, xmmword [0x1400b9e50]
movdqa xmm5, xmmword [0x1400b9d60]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1400b9de0]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14000e870
movaps xmm6, xmmword [rsp + 0x60]
cmp r8d, 0x17
jge 0x14000e9a7
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x33
add dl, r8b
inc r8d
xor byte [r9 - 1], dl
cmp r8d, 0x17
jl 0x14000e971
mov rcx, qword [0x1400cb7a8]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1400cbc30]
mov qword [0x1400cbc20], rax
call fcn.140094cb0
mov r10, qword [0x1400cbc20]
test r10, r10
je 0x14000e9f6
mov rax, qword [rsp + 0xa0]
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call r10
jmp 0x14000ea06
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xc000007a
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000ea20
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x14000ebc3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000ebc3
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000ebc3
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x14000ebc3
mov qword [rbx], rcx
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
mov qword [rsp + 0x40], rdi
mov qword [rbx + 8], rcx
xor edi, edi
mov qword [rsp + 0x48], r14
lea rax, [rcx + 0x18]
mov qword [rbx + 0x18], rax
lea rdx, [rcx + 4]
mov qword [rbx + 0x10], rdx
lea rax, [rcx + 0x88]
mov qword [rbx + 0x20], rax
lea r14, [rcx + 0x18]
lea rax, [rcx + 0x90]
mov qword [rbx + 0x28], rax
lea rax, [rcx + 0x98]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0xa0]
mov qword [rbx + 0x38], rax
lea rax, [rcx + 0xa8]
mov qword [rbx + 0x40], rax
lea rax, [rcx + 0xb0]
mov qword [rbx + 0x48], rax
lea rax, [rcx + 0xb8]
mov qword [rbx + 0x50], rax
lea rax, [rcx + 0xc0]
mov qword [rbx + 0x58], rax
lea rax, [rcx + 0xc8]
mov qword [rbx + 0x60], rax
lea rax, [rcx + 0xd0]
mov qword [rbx + 0x68], rax
lea rax, [rcx + 0xd8]
mov qword [rbx + 0x70], rax
lea rax, [rcx + 0xe0]
mov qword [rbx + 0x78], rax
lea rax, [rcx + 0xe8]
mov qword [rbx + 0x80], rax
lea rax, [rcx + 0xf0]
mov qword [rbx + 0x88], rax
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x90], rax
lea rax, [rcx + 0x100]
mov qword [rbx + 0x98], rax
movzx eax, word [rcx + 0x14]
add r14, rax
cmp di, word [rdx + 2]
jae 0x14000ebb1
mov qword [rsp + 0x38], rsi
nop dword [rax]
mov rdx, qword [rbx + 0xa8]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
mov qword [rsp + 0x30], rax
cmp rdx, qword [rbx + 0xb0]
je 0x14000eb8d
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x14000eb9e
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.14000ebd0
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x14000eb60
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140013010
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140013038
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14001305e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140013060
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400130b9
test ecx, ecx
jle 0x140013099
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400130b9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400130b9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400130e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140013102
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140013118
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140013134
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140013136
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140013172
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14001320e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400131ad
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400131ee
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14001320e
cmp rbx, rax
ja 0x1400131c0
test rbx, rbx
je 0x14001320e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140013670
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400ca080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001369d
xor eax, eax
jmp 0x140013809
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400136d7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400136d7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140013809
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400137fc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001371a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140013745
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140013801
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400137b4
sub eax, 1
je 0x1400137b4
cmp eax, 2
jne 0x1400137fc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140013801
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400137e2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400137fc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140013801
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140094910
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret