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

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov r14, qword [rcx + 0x10]
xor eax, eax
mov ebp, eax
mov r12d, r9d
mov rbx, r8
mov rsi, rdx
mov r15, rcx
mov rdi, qword [r14 + 0x18]
movsxd r13, dword [rdi + 0x54]
lea eax, [r13 + 1]
mov dword [rdi + 0x54], eax
lea eax, [r13 - 1]
test r13d, eax
jne 0x140061fb0
mov rdx, qword [rdi + 0x58]
lea eax, [r13*2 + 1]
mov rcx, qword [rdi]
movsxd r8, eax
shl r8, 2
call fcn.140012890
mov qword [rdi + 0x58], rax
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x140061fc1
mov dword [rcx + r13*4], 0xffffffff
test byte [rsi + 0x40], 0x20
mov ecx, 0x1d
mov eax, 0x20
not r13d
cmove ecx, eax
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x88], ecx
cmp byte [rsp + 0xc8], bpl
jne 0x140062016
movsx eax, word [rsp + 0xb0]
mov r9d, r13d
mov dword [rsp + 0x28], eax
mov r8d, r12d
mov eax, dword [rsp + 0xa8]
movzx edx, cl
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.140034160
mov rax, qword [r15]
test dword [rax + 0x2c], 0x80000
je 0x14006204b
mov rcx, qword [rsi + 0x70]
lea r8, [rsp + 0x90]
mov rdx, qword [rsi]
add rcx, 0x50
call fcn.140016bd0
test rax, rax
je 0x140062045
cmp qword [rax + 0x10], rbp
jne 0x140062054
cmp qword [rsi + 0x20], rbp
jne 0x140062054
test rbx, rbx
je 0x14006229a
xor r12d, r12d
mov rdi, rbx
test rbx, rbx
je 0x140062097
movzx r12d, byte [rsp + 0xc0]
cmp byte [rdi + 0x10], 0x6d
jne 0x14006208e
test byte [rdi + 0x11], 3
je 0x14006208e
movzx r9d, r12b
mov r8, rsi
mov rdx, rdi
mov rcx, r15
call fcn.140083190
test rax, rax
je 0x14006208e
or ebp, dword [rax + 0x1c]
mov rdi, qword [rdi + 0x40]
test rdi, rdi
jne 0x140062068
mov rdx, rsi
mov rcx, r15
call fcn.140068450
mov edx, dword [r15 + 0x38]
mov r12d, eax
movsx ecx, word [rsi + 0x46]
or r12d, ebp
inc ecx
lea ebp, [rdx + 1]
add edx, ecx
mov dword [r15 + 0x38], edx
mov rcx, qword [r14 + 0x18]
movsxd rdx, dword [r14 + 0xb8]
cmp dword [rcx + 0x3c], edx
jg 0x1400620ec
mov r8d, dword [rsp + 0xa8]
xor eax, eax
mov r9d, ebp
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x40]
call fcn.140033940
xor r8d, r8d
jmp 0x140062121
lea rcx, [rdx + rdx*2]
xor r8d, r8d
lea eax, [rdx + 1]
mov edx, dword [rsp + 0xa8]
mov dword [r14 + 0xb8], eax
mov rax, qword [r14 + 0x68]
mov dword [rax + rcx*8], 0x40
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov edi, r8d
cmp r8w, word [rsi + 0x46]
jge 0x140062170
mov r13d, dword [rsp + 0x98]
cmp r12d, 0xffffffff
je 0x140062144
cmp edi, 0x1f
jg 0x14006215e
bt r12d, edi
jae 0x14006215e
lea eax, [rbp + 1]
mov r9d, edi
add eax, edi
mov r8d, r13d
mov rdx, rsi
mov dword [rsp + 0x20], eax
mov rcx, r14
call fcn.14004fd40
movsx eax, word [rsi + 0x46]
inc edi
cmp edi, eax
jl 0x140062133
mov r13d, dword [rsp + 0x80]
mov r12d, dword [r14 + 0xb8]
mov rdi, rbx
test rbx, rbx
je 0x1400621b7
nop
cmp byte [rdi + 0x10], 0x6d
jne 0x1400621ae
cmp byte [rdi + 0x11], 1
jne 0x1400621ae
movzx eax, byte [rsp + 0xc0]
mov r9d, ebp
mov dword [rsp + 0x28], r13d
mov r8, rsi
mov rdx, rdi
mov dword [rsp + 0x20], eax
mov rcx, r15
call fcn.1400831d0
mov rdi, qword [rdi + 0x40]
test rdi, rdi
jne 0x140062180
movsxd r8, dword [r14 + 0xb8]
cmp r12d, r8d
jge 0x14006226d
mov rax, qword [r14 + 0x18]
movzx edx, byte [rsp + 0x88]
cmp dword [rax + 0x3c], r8d
jg 0x1400621fc
mov eax, dword [rsp + 0xa8]
mov r9d, r13d
mov r8d, dword [rsp + 0x98]
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.140033940
mov r8d, eax
jmp 0x140062240
lea rcx, [r8 + r8*2]
xor r9d, r9d
lea eax, [r8 + 1]
mov dword [r14 + 0xb8], eax
mov rax, qword [r14 + 0x68]
mov byte [rax + rcx*8], dl
mov edx, dword [rsp + 0x98]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xa8]
mov dword [rax + rcx*8 + 0xc], edx
mov word [rax + rcx*8 + 2], r9w
mov dword [rax + rcx*8 + 8], r13d
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], r9b
mov rax, qword [r14]
cmp byte [rax + 0x55], 0
jne 0x140062268
movsxd rax, r8d
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x68]
mov byte [rax + rcx*8 + 1], 0xf5
lea rdx, [rax + rcx*8]
movsx eax, word [rsp + 0xb0]
mov dword [rdx + 0x10], eax
or edi, 0xffffffff
jmp 0x140062274
mov edi, dword [rsp + 0xd0]
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov r8d, ebp
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, r15
call fcn.140067bb0
mov r12d, dword [rsp + 0x98]
jmp 0x1400622a1
mov edi, dword [rsp + 0xd0]
cmp qword [rsi + 0x18], 0
jne 0x14006240b
mov r9d, dword [rsp + 0xa0]
xor eax, eax
mov dword [rsp + 0x28], edi
mov r8d, r12d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, r15
call fcn.140062520
mov rax, qword [r14 + 0x18]
xor r8d, r8d
cmp byte [rsp + 0xb8], r8b
mov edx, r8d
movsxd rcx, dword [r14 + 0xb8]
setne dl
cmp dword [rax + 0x3c], ecx
jg 0x140062308
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, r12d
mov edx, 0x78
mov rcx, r14
call fcn.140033940
jmp 0x140062334
lea eax, [rcx + 1]
mov dword [r14 + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14 + 0x68]
mov dword [rax + rcx*8], 0x78
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
cmp byte [r15 + 0x1e], 0
jne 0x140062370
mov rcx, qword [r14]
cmp byte [rcx + 0x55], 0
je 0x140062353
mov r8, rsi
mov edx, 0xfffffff1
call fcn.1400347a0
jmp 0x140062370
mov eax, dword [r14 + 0xb8]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x68]
mov byte [rax + rcx*8 + 1], 0xf1
mov qword [rax + rcx*8 + 0x10], rsi
movzx r9d, byte [rsp + 0xc8]
test r9b, r9b
je 0x1400623a0
mov eax, dword [r14 + 0xb8]
test eax, eax
jle 0x1400623a0
dec eax
movsxd rcx, eax
mov rax, qword [r14 + 0x68]
lea rdx, [rcx + rcx*2]
mov ecx, 4
mov word [rax + rdx*8 + 2], cx
test edi, edi
js 0x1400623dd
cmp edi, r12d
je 0x1400623dd
mov rax, qword [r14 + 0x18]
movsxd rcx, dword [r14 + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400624e7
xor eax, eax
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x78]
call fcn.140033940
movzx r9d, byte [rsp + 0xc8]
xor edx, edx
mov eax, dword [r14 + 0xb8]
test eax, eax
jle 0x14006240b
mov r8d, 2
cmp r9b, r8b
cmovne r8w, dx
dec eax
movsxd rcx, eax
mov rax, qword [r14 + 0x68]
lea rdx, [rcx + rcx*2]
mov word [rax + rdx*8 + 2], r8w
mov rax, qword [r15]
test dword [rax + 0x2c], 0x80000
je 0x14006247d
mov rcx, qword [rsi + 0x70]
lea r8, [rsp + 0xc8]
mov rdx, qword [rsi]
add rcx, 0x50
call fcn.140016bd0
test rax, rax
je 0x14006247d
mov rdi, qword [rax + 0x10]
test rdi, rdi
je 0x14006247d
xor r12d, r12d
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov rcx, r15
call fcn.140068710
test rax, rax
je 0x140062474
mov dword [rsp + 0x28], r12d
mov r9d, ebp
mov r8, rsi
mov dword [rsp + 0x20], 2
mov rdx, rax
mov rcx, r15
call fcn.1400831d0
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x140062440
test rbx, rbx
je 0x1400624b9
cmp byte [rbx + 0x10], 0x6d
jne 0x1400624b0
cmp byte [rbx + 0x11], 2
jne 0x1400624b0
movzx eax, byte [rsp + 0xc0]
mov r9d, ebp
mov dword [rsp + 0x28], r13d
mov r8, rsi
mov rdx, rbx
mov dword [rsp + 0x20], eax
mov rcx, r15
call fcn.1400831d0
mov rbx, qword [rbx + 0x40]
test rbx, rbx
jne 0x140062482
mov rax, qword [r14 + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400624d6
mov eax, dword [r14 + 0xb8]
not r13d
movsxd rcx, r13d
mov dword [rdx + rcx*4], eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea eax, [rcx + 1]
xor edx, edx
mov dword [r14 + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14 + 0x68]
mov dword [rax + rcx*8], 0x78
mov dword [rax + rcx*8 + 4], edi
mov qword [rax + rcx*8 + 8], rdx
mov qword [rax + rcx*8 + 0x10], rdx
jmp 0x1400623df