Function at 0x140003ad0
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 0x1400042dd
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 0x140003c86
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 0x140003bdc
mov rdx, r14
mov rcx, rbx
call fcn.140002b20
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 0x140003bb0
mov r15d, dword [rsp + 0x3c]
xor edx, edx
cmp dword [rbx + 0x40], 0
mov dword [rbx + 0xd0], edx
jne 0x140003d0c
mov ecx, dword [rbx + 0x78]
test ecx, ecx
jne 0x140003cb4
mov eax, dword [rbx + 0x4c]
mov ecx, dword [rsp + 0xb8]
add eax, 0x1b58
mov dword [rbx + 0x74], eax
mov dword [rbx + 0x78], 0x1b58
jmp 0x140003d14
mov edx, dword [rbx + 0x4c]
cmp edx, dword [rbx + 0x74]
js 0x140003d03
cmp ecx, 0x1b58
jae 0x140003cde
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 0x140003d14
mov eax, ecx
shr eax, 1
add eax, ecx
mov dword [rbx + 0x78], eax
cmp eax, 0x1d4c0
jbe 0x140003cfa
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 0x140003d14
mov qword [rbx + 0x74], 0
test byte [rbx + 0x48], 1
lea r12, [rbx + 0x48]
je 0x140003de5
mov r8d, esi
sub r8d, r14d
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x140003d4e
mov rdx, r14
mov rcx, rbx
call fcn.140002b20
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 0x140003de8
mov rax, r12
test byte [r12], 2
je 0x140003eb2
mov r8d, esi
mov r12, rax
sub r8d, r14d
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x140003e26
mov rdx, r14
mov rcx, rbx
call fcn.140002b20
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 0x140003ee2
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 0x140003f94
lea r8, [rbx + 0x88]
nop dword [rax + rax]
mov rdx, qword [r8]
cmp r8, rdx
je 0x140003f94
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 0x140003f00
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 0x140003fb9
mov edx, dword [rbx + 0x30]
sar edx, 3
jmp 0x140003fbc
mov edx, r10d
lea rax, [rbx + 0xa8]
mov dword [rsp + 0xb8], edx
mov rdi, qword [rax]
cmp rdi, rax
je 0x140004214
mov r12d, r10d
nop dword [rax]
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
jne 0x140003ffc
mov dword [rdi + 0x3c], 1
mov eax, dword [rbx + 0x30]
mov dword [rdi + 0x34], eax
lea ecx, [rax + rdx]
jmp 0x14000408e
cmp r15d, dword [rdi + 0x30]
js 0x140004063
lea eax, [rcx + 1]
mov dword [rdi + 0x3c], eax
inc dword [rbx + 0x58]
mov eax, dword [rbx + 0x6c]
test eax, eax
jne 0x140004037
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 0x140004099
cmp eax, 2
jae 0x140004041
mov eax, dword [rdi + 0x34]
jmp 0x140004044
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 0x140004099
cmp dword [rdi + 0x38], ebp
jb 0x1400041f0
mov eax, dword [rbx + 0xec]
cmp ecx, eax
jle 0x14000407e
test eax, eax
jg 0x1400041f0
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 0x140004108
test byte [rbx + 0xf8], 1
je 0x1400040ec
cmp qword [rbx + 0x108], 0
je 0x1400040ec
mov r9d, ebp
lea r8, str._RO___ld_bytes
mov edx, 1
mov rcx, rbx
call fcn.140002a70
mov dword [rsp + 0xb0], r13d
test ebp, ebp
je 0x140004105
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 0x1400041cf
mov r8d, eax
lea rdx, [rdi + 0x40]
mov rcx, rsi
call fcn.14002faf0
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 0x1400041f0
mov dword [rbx + 0xc], 0xffffffff
mov rdi, qword [rdi]
lea rax, [rbx + 0xa8]
mov edx, dword [rsp + 0xb8]
cmp rdi, rax
jne 0x140003fe0
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 0x140004264
test byte [rbx + 0xf8], 1
je 0x14000424f
cmp qword [rbx + 0x108], 0
je 0x14000424f
mov r9d, esi
lea r8, str._RO___ld_bytes
mov edx, 1
mov rcx, rbx
call fcn.140002a70
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 0x14000429b
mov eax, dword [rbx + 0x14]
sub eax, dword [rbx + 0x10]
shr eax, 1
mov dword [rbx + 0x24], eax
cmp eax, 2
jae 0x140004287
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 0x14000429e
mov ecx, dword [rbx + 0x44]
cmp dword [rsp + 0xb0], 0
mov rbp, qword [rsp + 0x70]
je 0x1400042c3
shr r12d, 1
mov dword [rbx + 0x24], r12d
cmp r12d, 2
jae 0x1400042c8
mov dword [rbx + 0x24], 2
jmp 0x1400042c8
cmp ecx, 1
jae 0x1400042d8
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