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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
push rbx
push rsi
push rdi
push r12
sub rsp, 0x58
mov rdi, qword [rsp + 0xa8]
xor esi, esi
mov r10, qword [rcx + 0x10]
mov rbx, rcx
mov qword [rax + 0x10], rbp
mov qword [rax - 0x28], r13
mov r13, rdx
mov qword [rax - 0x30], r14
mov r14d, r8d
mov qword [rax - 0x38], r15
mov r15d, r9d
mov qword [rsp + 0x30], r10
test rdi, rdi
je 0x140061acf
cmp qword [rdx + 0x48], rsi
je 0x140061ae6
mov rcx, r10
call fcn.14002cb60
mov dword [rdi], eax
inc dword [rbx + 0x4c]
mov rbp, qword [rbx]
mov dword [rbx + 0x48], r14d
mov rdx, qword [r13 + 0x48]
mov r14d, dword [rdi]
test rdx, rdx
je 0x140061a95
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
call fcn.140045b60
mov rdi, rax
jmp 0x140061a98
mov rdi, rsi
cmp byte [rbp + 0x55], sil
jne 0x140061ab2
mov r9d, 0x10
mov r8d, r14d
mov rdx, rdi
mov rcx, rbx
call fcn.14004d280
test rdi, rdi
je 0x140061ac2
mov rdx, rdi
mov rcx, rbp
call fcn.140045870
mov r14d, dword [rsp + 0x90]
mov r10, qword [rsp + 0x30]
cmp dword [rsp + 0xa0], esi
je 0x140061aea
test byte [r13 + 0x64], 8
je 0x140061aea
movzx eax, word [r13 + 0x5e]
jmp 0x140061aef
mov dword [rdi], esi
jmp 0x140061acf
movzx eax, word [r13 + 0x60]
movzx r12d, ax
mov dword [rsp + 0x80], r12d
cmp r12d, 1
jne 0x140061b22
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140061b11
inc dword [rbx + 0x38]
mov edi, dword [rbx + 0x38]
jmp 0x140061b4f
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0x18c]
jmp 0x140061b4f
mov ecx, dword [rbx + 0x28]
mov edi, dword [rbx + 0x2c]
mov dword [rsp + 0xa8], edi
cmp r12d, ecx
jg 0x140061b43
lea eax, [r12 + rdi]
sub ecx, r12d
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x28], ecx
jmp 0x140061b56
mov eax, dword [rbx + 0x38]
lea edi, [rax + 1]
add eax, r12d
mov dword [rbx + 0x38], eax
mov dword [rsp + 0xa8], edi
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x140061b7a
cmp edi, dword [rsp + 0xb8]
jne 0x140061b72
cmp qword [rax + 0x48], rsi
je 0x140061b7a
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x38], r12
test r12d, r12d
je 0x140061cb9
mov r12, qword [rsp + 0xb0]
mov ebp, edi
mov dword [rsp + 0xa0], edi
mov r15, rsi
mov rdi, rsi
nop
test r12, r12
je 0x140061bc4
mov rax, qword [r12 + 8]
movzx ecx, word [rax + r15*2]
mov rax, qword [r13 + 8]
cmp cx, word [rax + r15*2]
jne 0x140061bc4
cmp cx, 0xfffe
jne 0x140061c7f
mov rax, qword [r13 + 8]
movsx ecx, word [rax + r15*2]
cmp cx, 0xfffe
jne 0x140061cfa
mov dword [rbx + 0x48], r14d
mov rax, qword [r13 + 0x50]
mov r14, qword [rbx]
mov rcx, qword [rax + 8]
mov rdx, qword [rdi + rcx]
test rdx, rdx
je 0x140061c02
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call fcn.140045b60
mov rbp, rax
jmp 0x140061c05
mov rbp, rsi
cmp byte [r14 + 0x55], sil
jne 0x140061c1e
mov r8d, dword [rsp + 0xa0]
mov rdx, rbp
mov rcx, rbx
call fcn.14004c850
test rbp, rbp
je 0x140061c2e
mov rdx, rbp
mov rcx, r14
call fcn.140045870
mov ebp, dword [rsp + 0xa0]
mov r10, qword [rsp + 0x30]
movsxd rax, dword [r10 + 0xb8]
test eax, eax
jle 0x140061c7f
lea rcx, [rax + rax*2]
mov rax, qword [r10 + 0x68]
cmp byte [rax + rcx*8 - 0x18], 0x5c
lea r14, [rax + rcx*8]
jne 0x140061c7f
mov rcx, qword [r10]
cmp byte [rcx + 0x55], sil
jne 0x140061c7f
movsx edx, byte [r14 - 0x17]
mov r8, qword [r14 - 8]
call fcn.14002d250
mov r10, qword [rsp + 0x30]
mov word [r14 - 0x18], 0xa1
mov qword [r14 - 8], rsi
mov r14d, dword [rsp + 0x90]
inc ebp
inc r15
mov dword [rsp + 0xa0], ebp
add rdi, 0x28
cmp r15, qword [rsp + 0x38]
jl 0x140061ba0
mov edi, dword [rsp + 0xa8]
mov r12d, dword [rsp + 0x80]
mov r15d, dword [rsp + 0x98]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x88]
test r15d, r15d
je 0x140061d46
mov rax, qword [r10 + 0x18]
movsxd rdx, dword [r10 + 0xb8]
cmp dword [rax + 0x3c], edx
jg 0x140061d16
mov r9d, r12d
mov dword [rsp + 0x20], r15d
mov r8d, edi
mov edx, 0x63
mov rcx, r10
call fcn.14002c4b0
jmp 0x140061d46
mov rdx, qword [r13 + 0x18]
mov r9d, ecx
mov rcx, qword [rbx + 0x10]
mov r8d, r14d
mov dword [rsp + 0x20], ebp
call fcn.14004a6f0
jmp 0x140061c35
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [r10 + 0xb8], eax
mov rax, qword [r10 + 0x68]
mov word [rax + rcx*8], 0x63
mov byte [rax + rcx*8 + 3], sil
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], rsi
mov r15, qword [rsp + 0x40]
cmp r12d, 1
jne 0x140061da5
test edi, edi
je 0x140061dbf
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x140061dbf
movzx ecx, byte [rbx + 0x25]
lea rax, [rbx + 0xc4]
test ecx, ecx
je 0x140061d7f
nop dword [rax]
cmp dword [rax + 0xc], edi
je 0x140061d95
inc esi
add rax, 0x14
cmp esi, ecx
jl 0x140061d70
mov dword [rbx + rdx*4 + 0x18c], edi
mov eax, edi
inc byte [rbx + 0x1f]
add rsp, 0x58
pop r12
pop rdi
pop rsi
pop rbx
ret
mov byte [rax + 6], 1
mov eax, edi
add rsp, 0x58
pop r12
pop rdi
pop rsi
pop rbx
ret
mov r8d, r12d
mov edx, edi
mov rcx, rbx
call fcn.14004a5b0
cmp r12d, dword [rbx + 0x28]
jle 0x140061dbf
mov dword [rbx + 0x28], r12d
mov dword [rbx + 0x2c], edi
mov eax, edi
add rsp, 0x58
pop r12
pop rdi
pop rsi
pop rbx
ret