Function at 0x140002e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push r14
push r15
sub rsp, 0x78
mov r14, qword [rcx + 0xe0]
xor edx, edx
mov rbx, rcx
mov r15d, dword [rcx + 0x4c]
mov rsi, r14
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x20], edx
mov dword [rsp + 0xb0], edx
cmp dword [rcx + 0x70], edx
je 0x14000365d
movsxd rax, dword [rbx + 0xd0]
mov r9d, dword [rbx + 0x3c]
mov qword [rsp + 0x70], rbp
mov ebp, edx
mov qword [rsp + 0x68], rdi
mov edi, edx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r13
mov r13d, dword [rcx]
mov ecx, dword [rcx + 0x64]
sub r9d, ecx
cmp ecx, dword [rbx + 0x3c]
mov ecx, dword [rbx + 0x18]
cmovae r9d, edx
mov dword [rsp + 0xb8], ecx
mov dword [rsp + 0xa8], r9d
mov qword [rsp + 0x40], rax
test rax, rax
jle 0x140003006
mov eax, r13d
mov r12d, edx
shr eax, 8
mov dword [rsp + 0x24], eax
mov eax, r13d
mov r15d, dword [rsp + 0x24]
shr eax, 0x10
mov dword [rsp + 0x28], eax
mov eax, r13d
shr eax, 0x18
mov dword [rsp + 0x2c], eax
movzx eax, r9w
shr ax, 8
mov word [rsp + 0xa0], ax
mov eax, ecx
shr eax, 8
mov dword [rsp + 0x30], eax
mov eax, ecx
shr eax, 0x10
mov dword [rsp + 0x34], eax
mov eax, ecx
shr eax, 0x18
mov dword [rsp + 0x38], eax
nop dword [rax + rax]
mov r8d, esi
sub r8d, r14d
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x140002f5c
mov rdx, r14
mov rcx, rbx
call fcn.140001ea0
mov ecx, dword [rsp + 0xb8]
mov rsi, r14
mov r9d, dword [rsp + 0xa8]
mov rax, qword [rbx + 0xc8]
mov edi, dword [rax + r12*8]
mov ebp, dword [rax + r12*8 + 4]
inc r12
mov eax, dword [rsp + 0x28]
mov byte [rsi + 2], al
mov eax, dword [rsp + 0x2c]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0xa0]
mov byte [rsi + 7], al
mov eax, ebp
shr eax, 8
mov byte [rsi + 9], al
mov eax, ebp
shr eax, 0x10
mov byte [rsi + 0xa], al
mov eax, ebp
shr eax, 0x18
mov byte [rsi + 0xb], al
mov eax, edi
shr eax, 8
mov byte [rsi + 0xd], al
mov eax, edi
shr eax, 0x10
mov byte [rsi + 0xe], al
mov eax, edi
shr eax, 0x18
mov byte [rsi + 0xf], al
mov eax, dword [rsp + 0x30]
mov byte [rsi + 0x11], al
mov eax, dword [rsp + 0x34]
mov byte [rsi + 0x12], al
mov eax, dword [rsp + 0x38]
mov byte [rsi + 0x13], al
mov byte [rsi], r13b
mov byte [rsi + 1], r15b
mov word [rsi + 4], 0x52
mov byte [rsi + 6], r9b
mov byte [rsi + 8], bpl
mov byte [rsi + 0xc], dil
mov byte [rsi + 0x10], cl
mov dword [rsi + 0x14], 0
add rsi, 0x18
cmp r12, qword [rsp + 0x40]
jl 0x140002f30
mov r15d, dword [rsp + 0x3c]
xor edx, edx
cmp dword [rbx + 0x40], 0
mov dword [rbx + 0xd0], edx
jne 0x14000308c
mov ecx, dword [rbx + 0x78]
test ecx, ecx
jne 0x140003034
mov eax, dword [rbx + 0x4c]
mov ecx, dword [rsp + 0xb8]
add eax, 0x1b58
mov dword [rbx + 0x74], eax
mov dword [rbx + 0x78], 0x1b58
jmp 0x140003094
mov edx, dword [rbx + 0x4c]
cmp edx, dword [rbx + 0x74]
js 0x140003083
cmp ecx, 0x1b58
jae 0x14000305e
mov ecx, dword [rsp + 0xb8]
mov eax, 0x2904
mov dword [rbx + 0x78], eax
add eax, edx
or dword [rbx + 0x48], 1
mov dword [rbx + 0x74], eax
jmp 0x140003094
mov eax, ecx
shr eax, 1
add eax, ecx
mov dword [rbx + 0x78], eax
cmp eax, 0x1d4c0
jbe 0x14000307a
mov dword [rbx + 0x78], 0x1d4c0
mov eax, 0x1d4c0
add eax, edx
or dword [rbx + 0x48], 1
mov dword [rbx + 0x74], eax
mov ecx, dword [rsp + 0xb8]
jmp 0x140003094
mov qword [rbx + 0x74], 0
test byte [rbx + 0x48], 1
lea r12, [rbx + 0x48]
je 0x140003165
mov r8d, esi
sub r8d, r14d
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x1400030ce
mov rdx, r14
mov rcx, rbx
call fcn.140001ea0
mov ecx, dword [rsp + 0xb8]
mov rsi, r14
mov r9d, dword [rsp + 0xa8]
mov eax, r13d
mov byte [rsi], r13b
shr eax, 8
mov byte [rsi + 1], al
mov eax, r13d
shr eax, 0x10
mov byte [rsi + 2], al
mov eax, r13d
shr eax, 0x18
mov byte [rsi + 3], al
movzx eax, r9w
shr ax, 8
mov byte [rsi + 7], al
mov eax, ebp
shr eax, 8
mov byte [rsi + 9], al
mov eax, ebp
shr eax, 0x10
mov byte [rsi + 0xa], al
mov eax, ebp
shr eax, 0x18
mov byte [rsi + 0xb], al
mov eax, edi
shr eax, 8
mov byte [rsi + 0xd], al
mov eax, edi
shr eax, 0x10
mov byte [rsi + 0xe], al
mov eax, edi
shr eax, 0x18
mov byte [rsi + 0xf], al
mov eax, ecx
shr eax, 8
mov byte [rsi + 0x11], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0x12], al
mov eax, ecx
shr eax, 0x18
mov byte [rsi + 0x13], al
lea rax, [rbx + 0x48]
mov word [rsi + 4], 0x53
mov byte [rsi + 6], r9b
mov byte [rsi + 8], bpl
mov byte [rsi + 0xc], dil
mov byte [rsi + 0x10], cl
mov dword [rsi + 0x14], 0
add rsi, 0x18
jmp 0x140003168
mov rax, r12
test byte [r12], 2
je 0x140003232
mov r8d, esi
mov r12, rax
sub r8d, r14d
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x1400031a6
mov rdx, r14
mov rcx, rbx
call fcn.140001ea0
mov ecx, dword [rsp + 0xb8]
lea r12, [rbx + 0x48]
mov r9d, dword [rsp + 0xa8]
mov rsi, r14
mov eax, r13d
mov byte [rsi], r13b
shr eax, 8
mov byte [rsi + 1], al
mov eax, r13d
shr eax, 0x10
mov byte [rsi + 2], al
movzx eax, r9w
shr ax, 8
mov byte [rsi + 7], al
mov eax, ebp
shr eax, 8
mov byte [rsi + 9], al
mov eax, ebp
shr eax, 0x10
mov byte [rsi + 0xa], al
mov eax, edi
shr eax, 8
mov byte [rsi + 0xd], al
mov eax, edi
shr eax, 0x10
mov byte [rsi + 0xe], al
mov eax, ecx
shr eax, 8
mov byte [rsi + 0x11], al
mov eax, ecx
mov byte [rsi + 8], bpl
mov byte [rsi + 0xc], dil
mov byte [rsi + 0x10], cl
shr eax, 0x10
shr r13d, 0x18
shr ebp, 0x18
shr edi, 0x18
shr ecx, 0x18
mov byte [rsi + 0x12], al
mov byte [rsi + 3], r13b
mov word [rsi + 4], 0x54
mov byte [rsi + 6], r9b
mov byte [rsi + 0xb], bpl
mov byte [rsi + 0xf], dil
mov byte [rsi + 0x13], cl
mov dword [rsi + 0x14], 0
add rsi, 0x18
xor r10d, r10d
mov dword [r12], r10d
mov r12d, dword [rbx + 0x40]
cmp dword [rbx + 0x38], r12d
cmovbe r12d, dword [rbx + 0x38]
mov dword [rsp + 0x24], r12d
cmp dword [rbx + 0xf0], r10d
jne 0x140003262
cmp dword [rbx + 0x44], r12d
cmovbe r12d, dword [rbx + 0x44]
mov dword [rsp + 0x24], r12d
mov eax, dword [rbx + 0x14]
sub eax, r12d
cmp eax, dword [rbx + 0x10]
jns 0x140003314
lea r8, [rbx + 0x88]
nop dword [rax + rax]
mov rdx, qword [r8]
cmp r8, rdx
je 0x140003314
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx]
mov rcx, qword [rdx + 8]
mov qword [rcx], rax
mov qword [rdx], r10
mov qword [rdx + 8], r10
mov rax, qword [rbx + 0xb0]
mov qword [rdx + 8], rax
lea rax, [rbx + 0xa8]
mov qword [rdx], rax
mov rax, qword [rbx + 0xb0]
mov qword [rax], rdx
dec dword [rbx + 0x68]
inc dword [rbx + 0x60]
mov eax, dword [rbx]
mov qword [rbx + 0xb0], rdx
mov dword [rdx + 0x10], eax
mov dword [rdx + 0x14], 0x51
mov dword [rdx + 0x1c], r9d
mov dword [rdx + 0x20], r15d
mov eax, dword [rbx + 0x14]
mov dword [rdx + 0x24], eax
inc dword [rbx + 0x14]
mov eax, dword [rbx + 0x18]
mov dword [rdx + 0x28], eax
mov dword [rdx + 0x30], r15d
mov eax, dword [rbx + 0x30]
mov dword [rdx + 0x34], eax
mov qword [rdx + 0x38], r10
mov eax, dword [rbx + 0x14]
sub eax, dword [rbx + 0x10]
cmp eax, r12d
js 0x140003280
mov eax, dword [rbx + 0xe8]
mov ebp, 0xffffffff
test eax, eax
cmovg ebp, eax
mov dword [rsp + 0xa0], ebp
cmp dword [rbx + 0x6c], r10d
jne 0x140003339
mov edx, dword [rbx + 0x30]
sar edx, 3
jmp 0x14000333c
mov edx, r10d
lea rax, [rbx + 0xa8]
mov dword [rsp + 0xb8], edx
mov rdi, qword [rax]
cmp rdi, rax
je 0x140003594
mov r12d, r10d
nop dword [rax]
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
jne 0x14000337c
mov dword [rdi + 0x3c], 1
mov eax, dword [rbx + 0x30]
mov dword [rdi + 0x34], eax
lea ecx, [rax + rdx]
jmp 0x14000340e
cmp r15d, dword [rdi + 0x30]
js 0x1400033e3
lea eax, [rcx + 1]
mov dword [rdi + 0x3c], eax
inc dword [rbx + 0x58]
mov eax, dword [rbx + 0x6c]
test eax, eax
jne 0x1400033b7
mov eax, dword [rdi + 0x34]
mov r13d, 1
mov ecx, dword [rbx + 0x30]
cmp eax, ecx
mov dword [rsp + 0xb0], r13d
cmovae ecx, eax
lea edx, [rcx + rax]
mov dword [rdi + 0x34], edx
lea ecx, [rdx + r15]
jmp 0x140003419
cmp eax, 2
jae 0x1400033c1
mov eax, dword [rdi + 0x34]
jmp 0x1400033c4
mov eax, dword [rbx + 0x30]
cdq
mov r13d, 1
sub eax, edx
mov dword [rsp + 0xb0], r13d
sar eax, 1
add dword [rdi + 0x34], eax
mov edx, dword [rdi + 0x34]
lea ecx, [rdx + r15]
jmp 0x140003419
cmp dword [rdi + 0x38], ebp
jb 0x140003570
mov eax, dword [rbx + 0xec]
cmp ecx, eax
jle 0x1400033fe
test eax, eax
jg 0x140003570
lea eax, [rcx + 1]
mov dword [rdi + 0x38], r10d
mov ecx, dword [rdi + 0x34]
inc r12d
mov dword [rdi + 0x3c], eax
mov r13d, dword [rsp + 0xb0]
add ecx, r15d
mov dword [rdi + 0x30], ecx
mov ebp, esi
sub ebp, r14d
mov dword [rdi + 0x20], r15d
mov dword [rdi + 0x1c], r9d
mov eax, dword [rbx + 0x18]
mov dword [rdi + 0x28], eax
lea ecx, [rbp + 0x18]
add ecx, dword [rdi + 0x2c]
cmp ecx, dword [rbx + 4]
jle 0x140003488
test byte [rbx + 0xf8], 1
je 0x14000346c
cmp qword [rbx + 0x108], 0
je 0x14000346c
mov r9d, ebp
lea r8, str._RO___ld_bytes
mov edx, 1
mov rcx, rbx
call fcn.140001e10
mov dword [rsp + 0xb0], r13d
test ebp, ebp
je 0x140003485
mov r9, qword [rbx + 0xd8]
mov r8, rbx
mov edx, ebp
mov rcx, r14
call qword [rbx + pe_nt_image_headers64]
mov rsi, r14
mov ecx, dword [rdi + 0x10]
mov eax, ecx
shr eax, 8
mov byte [rsi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 2], al
mov byte [rsi], cl
shr ecx, 0x18
mov byte [rsi + 3], cl
movzx eax, byte [rdi + 0x14]
mov byte [rsi + 4], al
movzx eax, byte [rdi + 0x18]
mov byte [rsi + 5], al
movzx eax, word [rdi + 0x1c]
mov byte [rsi + 6], al
shr ax, 8
mov byte [rsi + 7], al
mov ecx, dword [rdi + 0x20]
mov eax, ecx
shr eax, 8
mov byte [rsi + 9], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0xa], al
mov byte [rsi + 8], cl
shr ecx, 0x18
mov byte [rsi + 0xb], cl
mov ecx, dword [rdi + 0x24]
mov eax, ecx
shr eax, 8
mov byte [rsi + 0xd], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0xe], al
mov byte [rsi + 0xc], cl
shr ecx, 0x18
mov byte [rsi + 0xf], cl
mov ecx, dword [rdi + 0x28]
mov eax, ecx
shr eax, 8
mov byte [rsi + 0x11], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0x12], al
mov byte [rsi + 0x10], cl
shr ecx, 0x18
mov byte [rsi + 0x13], cl
mov ecx, dword [rdi + 0x2c]
mov eax, ecx
shr eax, 8
mov byte [rsi + 0x15], al
mov eax, ecx
mov byte [rsi + 0x14], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [rsi + 0x16], al
mov byte [rsi + 0x17], cl
add rsi, 0x18
mov eax, dword [rdi + 0x2c]
test eax, eax
je 0x14000354f
mov r8d, eax
lea rdx, [rdi + 0x40]
mov rcx, rsi
call fcn.14003d2f0
mov eax, dword [rdi + 0x2c]
add rsi, rax
mov eax, dword [rbx + 0x7c]
xor r10d, r10d
mov r9d, dword [rsp + 0xa8]
mov ebp, dword [rsp + 0xa0]
cmp dword [rdi + 0x3c], eax
jb 0x140003570
mov dword [rbx + 0xc], 0xffffffff
mov rdi, qword [rdi]
lea rax, [rbx + 0xa8]
mov edx, dword [rsp + 0xb8]
cmp rdi, rax
jne 0x140003360
mov dword [rsp + 0x20], r12d
mov r12d, dword [rsp + 0x24]
mov r13, qword [rsp + 0x58]
sub esi, r14d
mov rdi, qword [rsp + 0x68]
test esi, esi
jle 0x1400035e4
test byte [rbx + 0xf8], 1
je 0x1400035cf
cmp qword [rbx + 0x108], 0
je 0x1400035cf
mov r9d, esi
lea r8, str._RO___ld_bytes
mov edx, 1
mov rcx, rbx
call fcn.140001e10
mov r9, qword [rbx + 0xd8]
mov r8, rbx
mov edx, esi
mov rcx, r14
call qword [rbx + pe_nt_image_headers64]
cmp dword [rsp + 0x20], 0
je 0x14000361b
mov eax, dword [rbx + 0x14]
sub eax, dword [rbx + 0x10]
shr eax, 1
mov dword [rbx + 0x24], eax
cmp eax, 2
jae 0x140003607
mov dword [rbx + 0x24], 2
mov eax, 2
lea ecx, [rax + rbp]
mov eax, ecx
mov dword [rbx + 0x44], ecx
imul eax, dword [rbx + 8]
mov dword [rbx + 0x80], eax
jmp 0x14000361e
mov ecx, dword [rbx + 0x44]
cmp dword [rsp + 0xb0], 0
mov rbp, qword [rsp + 0x70]
je 0x140003643
shr r12d, 1
mov dword [rbx + 0x24], r12d
cmp r12d, 2
jae 0x140003648
mov dword [rbx + 0x24], 2
jmp 0x140003648
cmp ecx, 1
jae 0x140003658
mov eax, dword [rbx + 8]
mov dword [rbx + 0x80], eax
mov dword [rbx + 0x44], 1
mov r12, qword [rsp + 0x60]
add rsp, 0x78
pop r15
pop r14
pop rsi
pop rbx
ret