joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140136d50
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push r12
push r13
push r15
sub rsp, 0x50
mov rax, qword [0x1402b3030]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r13d, r13d
mov r12, r9
mov qword [r9], r13
mov esi, r13d
lea r9, [rsp + 0x20]
mov ebp, r13d
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r15d, eax
test eax, eax
jne 0x140136ed0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rdi
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x140136eb0
mov qword [rsp + 0x38], r14
nop
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140136dce
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r13b
jne 0x140136dc0
inc rbx
jmp 0x140136dd1
mov rbx, r13
cmp dword [rdi + 4], 2
jne 0x140136e5d
cmp qword [rdi + 0x20], r13
je 0x140136e5d
cmp qword [rdi + 0x10], 0x10
jb 0x140136e5d
lea rcx, [rbx + 0x40]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x140136e6c
mov ecx, dword [rdi]
mov dword [rax], ecx
mov ecx, dword [rdi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [rax + 0x30]
mov qword [rax + 0x20], rcx
mov dword [rax + reloc.WS2_32.dll_recv], 0x10
mov qword [rax + 0x18], r13
mov qword [rax + 0x28], r13
mov rax, qword [rdi + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
test rbx, rbx
je 0x140136e4a
add rcx, 0x10
mov r8, rbx
mov qword [r14 + 0x18], rcx
mov rdx, qword [rdi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
test rsi, rsi
cmove rsi, r14
test rbp, rbp
je 0x140136e5a
mov qword [rbp + 0x28], r14
mov rbp, r14
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140136db0
jmp 0x140136e72
mov r15d, 8
mov rcx, qword [rsp + 0x20]
mov r14, qword [rsp + 0x38]
test rcx, rcx
je 0x140136e87
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r15d, r15d
je 0x140136eab
test rsi, rsi
je 0x140136ea6
mov rbx, qword [rsi + 0x28]
mov rcx, rsi
call qword [0x1402b30c8]
mov rsi, rbx
test rbx, rbx
jne 0x140136e91
mov rsi, r13
jmp 0x140136ebf
test rsi, rsi
jne 0x140136ebf
mov r15d, 0x2af9
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x40]
mov eax, r15d
mov rbx, qword [rsp + 0x48]
mov qword [r12], rsi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14014d450
add rsp, 0x50
pop r15
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x140138690
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x40
mov rax, qword [0x1402b3030]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r10, qword [rcx + 0x18]
xor esi, esi
mov dword [rsp + 0x34], gethostname
mov edx, esi
mov rbx, rcx
mov r14d, esi
mov rax, qword [r10 + 0x1b0]
lea r9d, [rsi + 2]
cmp qword [r10 + 0x1a8], rax
mov eax, dword [rcx + 0x6c4]
sete dl
cmp eax, 2
ja 0x1401386e1
mov r9d, eax
lea rcx, [rsp + 0x34]
mov eax, edx
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x30]
mov rcx, rbx
call qword [r10 + rax*8 + 0x1b8]
test rax, rax
js 0x140138707
mov r14, rax
jmp 0x14013870b
mov esi, dword [rsp + 0x34]
test esi, esi
jne 0x140138861
mov qword [rsp + 0x68], rbp
cmp byte [rbx + 0xaa7], sil
je 0x14013881b
cmp qword [rbx + 0x260], 0
je 0x1401387e3
mov rax, qword [rbx + 0xd0]
mov qword [rsp + 0x70], rdi
test rax, rax
je 0x140138759
cmp byte [rax + 0x18b], sil
je 0x140138759
lea rdi, [rbx + 0xd8]
mov bpl, 1
jmp 0x140138779
lea rdi, [rbx + 0xd8]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140138776
cmp byte [rcx + 0x18b], 0
je 0x140138776
mov bpl, 1
jmp 0x140138779
xor bpl, bpl
mov rcx, qword [rdi]
test rcx, rcx
je 0x14013878a
mov byte [rcx + 0x18b], 1
jmp 0x140138796
test rax, rax
je 0x140138796
mov byte [rax + 0x18b], 1
mov rax, qword [rbx + 0x1d8]
lea r8, [rsp + 0x30]
mov r9, r14
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rbx
call qword [rbx + 0x260]
mov rax, qword [rdi]
mov rdi, qword [rsp + 0x70]
test rax, rax
je 0x1401387ce
mov byte [rax + 0x18b], bpl
jmp 0x14013881b
mov rax, qword [rbx + 0xd0]
test rax, rax
je 0x14013881b
mov byte [rax + 0x18b], bpl
jmp 0x14013881b
mov r9, qword [rbx + 0x1d0]
lea rcx, [0x140248363]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbx + 0x1d0]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x68]
cmp r14, 2
jb 0x14013885a
movzx ecx, word [rsp + 0x30]
movzx edx, byte [rsp + 0x31]
test cl, cl
jne 0x140138838
test dl, dl
je 0x140138861
mov eax, edx
xor r9d, r9d
movzx edx, cl
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rcx, rbx
mov dword [rsp + 0x20], edx
lea rdx, str.Expected__02x_02x_but_got__02x_02x
call fcn.140100cb0
mov eax, 8
jmp 0x140138863
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014d450
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
Function at 0x140138a10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1402b3030]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rcx + 0x18]
xor edi, edi
mov dword [rsp + 0x34], gethostname
mov edx, edi
mov rbx, rcx
mov r15d, edi
mov rax, qword [r14 + 0x1b0]
lea r9d, [rdi + 3]
cmp qword [r14 + 0x1a8], rax
mov eax, dword [rcx + 0x6c4]
sete dl
cmp eax, 3
ja 0x140138a66
mov r9d, eax
lea rcx, [rsp + 0x34]
mov eax, edx
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x30]
mov rcx, rbx
call qword [r14 + rax*8 + 0x1b8]
test rax, rax
js 0x140138a8c
mov r15, rax
jmp 0x140138a90
mov edi, dword [rsp + 0x34]
test edi, edi
jne 0x140138bd5
mov qword [rsp + 0x68], rbp
cmp byte [rbx + 0xaa7], dil
je 0x140138ba0
cmp qword [rbx + 0x260], 0
je 0x140138b68
mov rax, qword [rbx + 0xd0]
mov qword [rsp + 0x70], rsi
test rax, rax
je 0x140138ade
cmp byte [rax + 0x18b], dil
je 0x140138ade
lea rsi, [rbx + 0xd8]
mov bpl, 1
jmp 0x140138afe
lea rsi, [rbx + 0xd8]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140138afb
cmp byte [rcx + 0x18b], 0
je 0x140138afb
mov bpl, 1
jmp 0x140138afe
xor bpl, bpl
mov rcx, qword [rsi]
test rcx, rcx
je 0x140138b0f
mov byte [rcx + 0x18b], 1
jmp 0x140138b1b
test rax, rax
je 0x140138b1b
mov byte [rax + 0x18b], 1
mov rax, qword [rbx + 0x1d8]
lea r8, [rsp + 0x30]
mov r9, r15
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rbx
call qword [rbx + 0x260]
mov rax, qword [rsi]
mov rsi, qword [rsp + 0x70]
test rax, rax
je 0x140138b53
mov byte [rax + 0x18b], bpl
jmp 0x140138ba0
mov rax, qword [rbx + 0xd0]
test rax, rax
je 0x140138ba0
mov byte [rax + 0x18b], bpl
jmp 0x140138ba0
mov r9, qword [rbx + 0x1d0]
lea rcx, [0x140248363]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbx + 0x1d0]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x68]
cmp r15, 3
jae 0x140138bb2
mov eax, 8
jmp 0x140138bd7
movzx ecx, byte [r14 + 0x619]
cmp byte [rsp + 0x30], cl
jne 0x140138bab
movzx ecx, byte [rsp + 0x31]
cmp cl, byte [r14 + 0x618]
jne 0x140138bab
cmp byte [rsp + 0x32], 0
jne 0x140138bab
mov eax, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014d450
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14013e970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbp, rcx
cmp rcx, rdx
jae 0x14013eabf
mov r9, rdx
mov qword [rsp + 0x38], rdi
mov r8, rcx
xor edx, edx
xor ecx, ecx
call fcn.14013e780
mov rdi, rax
test rax, rax
je 0x14013eaaf
lea rcx, [rax + 1]
mov qword [rsp + 0x30], rbx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14013ea7d
mov r9, rsi
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call fcn.14013e780
mov byte [rdi + rbx], 0
lea r9, str.1.2.840.10040.4.1
mov rax, qword [str.1.2.840.10040.4.1]
test rax, rax
je 0x14013ea7a
lea r10, [0x140248570]
nop word [rax + rax]
mov r8, rbx
lea rdi, [r9 + 8]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14013ea23
inc rax
test ecx, ecx
jne 0x14013ea10
test edx, edx
je 0x14013ea96
mov rax, qword [rdi]
test rax, rax
je 0x14013ea6d
cmp byte [rax], 0
mov r8, rbx
je 0x14013ea58
movzx ecx, byte [r8]
test cl, cl
je 0x14013ea58
movzx edx, byte [rax]
movzx ecx, byte [rcx + r10]
cmp byte [rdx + r10], cl
jne 0x14013ea92
inc rax
inc r8
cmp byte [rax], 0
jne 0x14013ea37
xor ecx, ecx
cmp byte [rax], cl
sete cl
xor eax, eax
cmp byte [r8], al
setne al
xor ecx, eax
test ecx, ecx
jne 0x14013ea96
mov rax, qword [r9 + 0x10]
add r9, 0x10
test rax, rax
jne 0x14013ea00
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
xor ecx, ecx
jmp 0x14013ea69
test r9, r9
je 0x14013ea7a
mov rcx, rbx
call qword [0x1402b30c8]
mov rcx, qword [rdi]
call qword [case.0x1400f50d8.0]
jmp 0x14013ea7d
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x140149230
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

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, 0x40
mov rax, qword [0x1402b3030]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [rcx + 0x304]
movzx ebp, r8b
mov r14, qword [rcx + 0x18]
mov rsi, rcx
mov ebx, eax
test eax, eax
jne 0x140149276
mov rbx, qword [rdx + 0x50]
cmp byte [0x1402b5b38], 0
movups xmm0, xmmword [rdx + 0x40]
movaps xmmword [rsp + 0x20], xmm0
je 0x1401492b9
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
cqo
idiv qword [0x1402b5b30]
mov r8, rax
imul rax, rdx, 0xf4240
cqo
idiv qword [0x1402b5b30]
mov rcx, rax
jmp 0x1401492dc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov r8d, edx
sub ecx, eax
imul ecx, ecx, 0x3e8
movaps xmm0, xmmword [rsp + 0x20]
movabs r13, 0x20c49ba5e353f7
movq rax, xmm0
movabs rdi, 0x7fffffffffffffff
sub r8, rax
movabs r12, 0xffdf3b645a1cac09
movabs r15, 0x8000000000000000
cmp r8, r13
jl 0x14014931b
mov rcx, rdi
jmp 0x14014934e
cmp r8, r12
jg 0x140149325
mov rcx, r15
jmp 0x14014934e
psrldq xmm0, 8
movd eax, xmm0
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul rax, r8, 0x3e8
movsxd rcx, edx
add rcx, rax
sub rbx, rcx
cmp dword [rsi + 0x2f8], 0
je 0x14014942b
test bpl, bpl
jne 0x14014942b
cmp byte [0x1402b5b38], bpl
movups xmm0, xmmword [r14 + 0x178]
movaps xmmword [rsp + 0x20], xmm0
je 0x1401493ae
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
cqo
idiv qword [0x1402b5b30]
mov r8, rax
imul rax, rdx, 0xf4240
cqo
idiv qword [0x1402b5b30]
mov r9, rax
jmp 0x1401493d2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov r8d, edx
sub ecx, eax
imul r9d, ecx, 0x3e8
movaps xmm0, xmmword [rsp + 0x20]
movq rax, xmm0
sub r8, rax
cmp r8, r13
jge 0x140149419
cmp r8, r12
jg 0x1401493ee
mov rdi, r15
jmp 0x140149419
mov eax, 0x10624dd3
psrldq xmm0, 8
movd ecx, xmm0
sub r9d, ecx
imul r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul rax, r8, 0x3e8
movsxd rdi, edx
add rdi, rax
mov eax, dword [rsi + 0x2f8]
sub rax, rdi
cmp rbx, rax
cmovl rax, rbx
jmp 0x14014942e
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014d450
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14014b950
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x38
mov rax, qword [0x1402b3030]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea edx, [rax + rax]
add rcx, rdx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14014ba90
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x78], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x30], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x14014b9e0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x14014ba42
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x20]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x20], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x20]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x20], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x14014ba00
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x14014ba83
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1401ff8be]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401ff8bd]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14014ba50
mov rdi, qword [rsp + 0x30]
mov rax, rbx
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14014d450
add rsp, 0x38
pop r15
pop r14
pop rbp
pop rbx
ret

Function at 0x14014c868
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14014c8ec
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14014c8ec
dec r8
sub rdx, 1
jne 0x14014c8d2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14014e2bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14014e306
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14014e306
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14014e306
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14014e306
cmp dword [rcx + 0x84], 0xe
jbe 0x14014e306
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14014e308
xor al, al
add rsp, 0x28
ret
Function at 0x140160400
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 + 0x2f0]
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.14014f0b0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x140160456
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 + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
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 + 0x20], r12d
test ebp, ebp
jg 0x1401604ad
mov ebp, 0x4b0000
jmp 0x1401604bb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.140151630
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1401604d1
mov eax, r12d
jmp 0x1401604da
mov edx, edi
mov ecx, ebp
call fcn.140151630
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1401604f6
shl esi, 0x10
mov ecx, esi
jmp 0x1401605e5
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x140160554
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.14014f0b0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x140160544
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.140151500
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.14014f0b0
add ebx, eax
jmp 0x1401605ee
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x140160561
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1401605a0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.14014f0b0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1401605a5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.140151500
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.14014f0b0
add ebx, eax
jmp 0x1401605ee
cmp eax, r12d
jge 0x1401605de
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.14014f0b0
sub ebp, eax
sub r15d, esi
je 0x1401605de
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.140151500
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.14014f0b0
add ebx, eax
jmp 0x1401605ee
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.14014f0b0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.14014f0b0
Function at 0x1401ac790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1402b3030]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1401ac92c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1401ac92c
cmp r10d, r14d
jne 0x1401ac830
sub rbx, 0x10
jmp 0x1401ac974
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1401ac8a2
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1401ac864
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1401ac86c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1401ac88b
movzx edx, r11b
mov rcx, rsi
call fcn.1401ad860
test al, al
jne 0x1401ac985
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1401adf80
test al, al
jne 0x1401ac985
mov edx, dword [rsi + 0x64]
lea r9, [0x1401ae2e0]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1401ac8ce
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1401ac610
jmp 0x1401ac922
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1401ac610
test dil, dil
je 0x1401ac91a
cmp byte [rsi + 0x6a], 0
jne 0x1401ac91a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1401ac985
sub rbx, 0x10
jmp 0x1401ac974
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1401ac989
mov ebp, dword [rbx]
jmp 0x1401ac7f0
mov al, 1
jmp 0x1401ac992
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14014d450
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1401ac9c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r15d, r15d
sub rax, 0x34
mov qword [rcx + 0x78], r15
mov qword [rcx + 0x28], rax
mov r14d, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r15w
lea ebp, [r15 - 1]
mov dword [rcx + 0x3c], r15d
mov edi, r15d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r15w
cmp r15w, word [rcx + 0xb8]
jge 0x1401acafb
mov esi, r15d
mov rax, qword [rbx + 0xd0]
lea edx, [rbp + 1]
mov dword [rbx + 0x88], r15d
mov r9d, r14d
mov qword [rbx + 0x80], r15
mov rcx, rbx
movsx ebp, word [rsi + rax]
mov r8d, ebp
call fcn.1401ace90
test al, al
jne 0x1401acb96
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
lea eax, [r8 - 1]
test edx, eax
jne 0x1401aca8f
cmp edx, dword [rbx + 0x60]
jl 0x1401aca8f
cmp edx, dword [rbx + 0x64]
jg 0x1401aca8f
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1401aca8f
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1401aca8f
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1401acab2
test byte [r9 + 0x18], 8
je 0x1401acab2
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1401acac3
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1401ad860
test al, al
jne 0x1401acb96
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1401acae6
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc edi
add rsi, 2
cmp edi, eax
jl 0x1401aca23
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1401acb9a
test rdx, rdx
je 0x1401acb9a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x1401acb38
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x1401acb3b
mov r10, r15
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1401acb56
dec r11d
add r11d, eax
jmp 0x1401acb6d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1401adb70
test al, al
jne 0x1401acb96
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1401adb70
test al, al
jne 0x1401acb96
mov rdx, qword [rsi]
add di, bp
jne 0x1401acb20
jmp 0x1401acb9e
mov al, 1
jmp 0x1401acba9
mov qword [rbx + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret