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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
dec dword [rcx + 0x44]
mov r14, rdx
mov eax, dword [rcx + 0x44]
xor edx, edx
mov rsi, qword [rcx + 0x10]
mov rdi, rcx
mov rcx, qword [rsp + 0xc0]
mov r12d, r9d
mov r9d, dword [r8 + 0x14]
mov r13, r8
mov r11d, dword [r8 + 0x1c]
mov ebx, edx
mov r15, qword [r8]
movzx ebp, byte [rcx]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x3c], eax
mov rax, qword [r14]
add rax, 8
mov dword [rsp + 0x34], r11d
mov dword [rsp + 0x40], ebp
mov qword [rsp + 0x48], rax
test r9d, r9d
je 0x140063ab4
mov r8d, dword [r8 + 0x10]
mov rcx, rsi
mov dword [rsp + 0x20], edx
mov edx, 0xc
call fcn.140031b3c
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
and dword [rsp + 0x20], ebx
mov rcx, rsi
lea edx, [r8 + 0xb]
call fcn.140031b3c
mov edx, dword [r13 + 0x14]
mov rcx, rsi
call fcn.140031f30
mov rcx, qword [rsp + 0xc0]
xor edx, edx
mov r11d, dword [rsp + 0x34]
mov r8d, dword [r13 + 0xc]
lea eax, [rbp - 9]
mov dword [rsp + 0x30], r8d
test al, 0xfa
jne 0x140063ada
cmp bpl, 0xe
je 0x140063ada
mov ebp, dword [rcx + 8]
lea r10, [rdi + 0x38]
mov dword [rsp + 0xa0], edx
jmp 0x140063b52
mov al, byte [rdi + 0x1f]
lea r10, [rdi + 0x38]
test al, al
jne 0x140063afa
mov edx, dword [r10]
inc edx
mov dword [rsp + 0xa0], edx
mov dword [r10], edx
xor edx, edx
mov cl, dl
jmp 0x140063b10
dec al
movzx ecx, al
mov byte [rdi + 0x1f], cl
mov eax, dword [rdi + rcx*4 + 0xbc]
mov dword [rsp + 0xa0], eax
lea eax, [rbp - 0xc]
test al, 0xfd
je 0x140063b2d
mov edx, r12d
mov rcx, rdi
call fcn.1400487d4
mov r8d, dword [rsp + 0x30]
mov ebp, eax
xor edx, edx
jmp 0x140063b52
test cl, cl
jne 0x140063b39
inc dword [r10]
mov ebp, dword [r10]
jmp 0x140063b48
dec cl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xbc]
mov r12d, edx
mov dword [rsp + 0xb8], edx
mov r15d, dword [r15]
sub r15d, dword [r13 + 8]
test byte [r13 + 0x24], 1
je 0x140063c3d
mov r13d, dword [rdi + 0x34]
inc dword [r10]
mov r14d, dword [r10]
lea eax, [r13 + 1]
mov dword [rdi + 0x34], eax
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], edx
je 0x140063b9a
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x11]
call fcn.140031b3c
mov ebx, eax
lea ecx, [r15 + 1]
mov r9d, r14d
add ecx, r12d
mov r8d, r13d
mov dword [rsp + 0x20], ecx
mov edx, 0x74
mov rcx, rsi
call fcn.140031b3c
xor r9d, r9d
test ebx, ebx
je 0x140063bd2
mov edx, ebx
mov rcx, rsi
call fcn.140032510
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
mov r8d, dword [rsp + 0x30]
mov edx, 0x22
mov dword [rsp + 0x20], r9d
mov rcx, rsi
mov r9d, dword [rsp + 0x34]
call fcn.140031b3c
mov r8, qword [rsp + 0xa8]
mov ebx, eax
mov r8d, dword [r8 + 0x14]
test r8d, r8d
jle 0x140063c1b
mov r9d, dword [rsp + 0x38]
mov edx, 0x2f
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.140031b3c
mov r8d, dword [rsp + 0x30]
mov r9d, r14d
mov edx, 0x7e
mov dword [rsp + 0x20], r13d
mov rcx, rsi
call fcn.140031b3c
xor r10d, r10d
mov eax, r10d
jmp 0x140063c85
mov dword [rsp + 0x20], edx
mov r9d, r11d
mov edx, 0x23
mov rcx, rsi
call fcn.140031b3c
mov r8d, dword [r14 + 0x14]
xor r10d, r10d
mov ebx, eax
test r8d, r8d
jle 0x140063c7b
mov r9d, dword [rsp + 0x38]
lea edx, [r10 + 0x2f]
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.140031b3c
xor r10d, r10d
mov r13d, dword [rsp + 0x30]
mov eax, 1
mov r9, qword [rsp + 0x48]
lea ecx, [rbx + 1]
mov dword [rsp + 0x44], ecx
lea r8d, [rax + r15]
mov dword [rsp + 0xa8], r8d
lea ebx, [r8 - 1]
movsxd rdx, r12d
test r12d, r12d
jle 0x140063cc3
lea rcx, [r9 + 0x20]
cmp word [rcx], r10w
lea eax, [rbx + 1]
lea rcx, [rcx + 0x28]
cmovne eax, ebx
mov ebx, eax
sub rdx, 1
jne 0x140063cad
lea eax, [r12 - 1]
movsxd r14, eax
test eax, eax
js 0x140063d28
lea r15, [r14 + 1]
lea r15, [r14 + r15*4]
lea r15, [r9 + r15*8]
lea r12d, [rax + rbp]
cmp word [r15], r10w
je 0x140063cee
movzx r9d, word [r15]
dec r9d
jmp 0x140063cf3
mov r9d, ebx
dec ebx
mov r8d, r13d
mov dword [rsp + 0x20], r12d
mov edx, 0x5a
mov rcx, rsi
call fcn.140031b3c
xor r10d, r10d
dec r12d
sub r15, 0x28
sub r14, 1
jns 0x140063cdf
mov r12d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0xa8]
mov r15d, dword [rsp + 0x40]
mov ecx, r15d
sub ecx, 0xa
je 0x140063d6f
sub ecx, 1
je 0x140063e2c
sub ecx, 1
je 0x140063daf
cmp ecx, 2
je 0x140063daf
mov rbx, qword [rsp + 0xc0]
mov rcx, rsi
mov dword [rsp + 0x20], r10d
cmp r15b, 9
jne 0x140063da2
mov r8d, dword [rbx + 8]
mov r9d, r12d
mov edx, 0x51
call fcn.140031b3c
mov r14d, dword [rsp + 0xa0]
mov r9d, 8
test r14d, r14d
je 0x140063eb8
cmp r15b, 0xb
jne 0x140063e8b
mov r8d, r12d
mov edx, ebp
mov rcx, rdi
call fcn.140048828
jmp 0x140063ea3
mov r8d, dword [rbx + 4]
xor r9d, r9d
lea edx, [r9 + 0xe]
jmp 0x140063d6a
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, r13d
mov edx, 0x5a
mov rcx, rsi
call fcn.140031b3c
mov r14d, dword [rsp + 0xa0]
xor r13d, r13d
mov r8d, dword [rsp + 0x3c]
mov r9d, r14d
mov rcx, rsi
mov dword [rsp + 0x20], r13d
lea edx, [r13 + 0x79]
call fcn.140031b3c
mov r8d, dword [rsp + 0x3c]
lea edx, [r13 + 0x7a]
mov r9d, ebp
mov dword [rsp + 0x20], r14d
mov rcx, rsi
call fcn.140031b3c
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x140063d77
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
lea r9d, [r13 + 8]
mov word [rax + rcx*8 - 0x16], r9w
jmp 0x140063d7d
mov rbx, qword [rsp + 0xc0]
mov r9d, r12d
mov r14d, dword [rsp + 0xa0]
mov r8d, ebp
mov edx, 0x5c
mov dword [rsp + 0x20], r14d
mov rcx, rsi
mov rbx, qword [rbx + 0x10]
call fcn.140031b3c
mov r9d, r12d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.140032424
mov r8d, dword [rsp + 0x3c]
mov r9d, r14d
mov edx, 0x84
mov dword [rsp + 0x28], r12d
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.140031e4c
jmp 0x140063d77
test ebp, ebp
je 0x140063ea3
cmp byte [rdi + 0x1f], r9b
jae 0x140063eb8
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], ebp
inc byte [rdi + 0x1f]
cmp byte [rdi + 0x1f], r9b
jae 0x140063eb8
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], r14d
inc byte [rdi + 0x1f]
mov edx, dword [rsp + 0x38]
mov rcx, rsi
call fcn.140031f30
mov rbx, qword [rsp + 0xb0]
xor edi, edi
mov r9d, dword [rsp + 0x44]
mov rcx, rsi
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x20], edi
mov dl, byte [rbx + 0x24]
not dl
and edx, 1
lea edx, [rdx*2 + 3]
call fcn.140031b3c
mov r8d, dword [rbx + 0x10]
test r8d, r8d
je 0x140063f0e
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [rdi + 0x42]
mov rcx, rsi
call fcn.140031b3c
mov edx, dword [rsp + 0x34]
mov rcx, rsi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.140031f30