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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push r12
push r13
sub rsp, 0x58
mov r10, qword [rcx + 8]
mov r12, rcx
mov qword [rax + 0x20], rbx
mov qword [rax - 0x18], rbp
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov rax, qword [rcx]
mov rcx, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], r10
mov rbx, qword [rax + 0x10]
mov r13, qword [rax]
call fcn.14006a1e0
movzx r15d, byte [r12 + 0x39]
xor r9d, r9d
sub r15, 1
js 0x1400b4ccc
mov rsi, qword [rsp + 0x70]
lea rax, [r15 + r15*4]
imul r12, r15, 0x78
shl rax, 4
add rsi, 0x354
add r12, 0x50
add r12, r10
add rsi, rax
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsi + 4]
mov r14, qword [rsi + 0x2c]
not eax
mov r8, qword [rbx + 0x30]
test eax, eax
js 0x1400b4a06
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400b4a06
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
movzx ecx, byte [rsi + 0x11]
cmp cl, 0x9a
je 0x1400b4a4e
movzx eax, byte [rsi + 0x12]
mov edx, ecx
mov r9d, dword [rsi + 0x18]
mov rcx, rbx
mov r8d, dword [rsi + 0x14]
mov dword [rsp + 0x20], eax
call fcn.14004fb30
mov rdx, qword [rbx + 8]
xor r9d, r9d
test rdx, rdx
je 0x1400b4a4e
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
movzx eax, byte [rsi + 0x13]
mov byte [rdx + rcx*8 - 0x15], al
test dword [r14 + 0x28], 0x800
je 0x1400b4b76
cmp dword [rsi + 0x1c], 0
jle 0x1400b4b76
mov eax, dword [rsi - 4]
mov r8, qword [rbx + 0x30]
not eax
test eax, eax
js 0x1400b4a88
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400b4a88
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
mov ebp, dword [rsi + 0x1c]
lea eax, [rbp - 1]
movsxd rcx, eax
mov rax, qword [rsi + 0x24]
lea rdx, [rcx + rcx*2]
lea rdi, [rax + rdx*4]
test ebp, ebp
jle 0x1400b4b20
nop word [rax + rax]
mov eax, dword [rdi + 4]
mov edx, dword [rbx + 0x3c]
inc eax
cmp edx, eax
jbe 0x1400b4ac8
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rsp + 0x20], r9d
mov dword [rax + 0x64], ecx
mov rcx, rbx
movzx edx, byte [rdi + 8]
mov r9d, dword [rdi + 4]
mov r8d, dword [rdi]
call fcn.14004fb30
mov eax, dword [rdi + 4]
mov edx, dword [rbx + 0x3c]
dec eax
cmp edx, eax
jbe 0x1400b4b04
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rbx + 0x3c]
dec ebp
mov rax, qword [rbx + 0x30]
dec ecx
sub rdi, 0xc
mov r9d, 0
mov dword [rax + 0x64], ecx
test ebp, ebp
jg 0x1400b4ab0
mov rcx, qword [rsi + 0x24]
test rcx, rcx
je 0x1400b4b76
test r13, r13
je 0x1400b4b71
cmp qword [r13 + 0x320], 0
je 0x1400b4b45
mov rdx, rcx
mov rcx, r13
call fcn.14002d0b0
jmp 0x1400b4b76
cmp rcx, qword [r13 + 0x168]
jb 0x1400b4b71
cmp rcx, qword [r13 + 0x170]
jae 0x1400b4b71
mov rax, qword [r13 + 0x160]
mov qword [rcx], rax
dec dword [r13 + 0x14c]
mov qword [r13 + 0x160], rcx
jmp 0x1400b4b76
call fcn.14002d010
mov eax, dword [rsi - 8]
mov r8, qword [rbx + 0x30]
not eax
test eax, eax
js 0x1400b4b98
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400b4b98
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
xor ebp, ebp
dec eax
mov dword [r8 + 0x64], eax
mov r9d, dword [rsi]
test r9d, r9d
je 0x1400b4c02
xor r8d, r8d
mov dword [rsp + 0x20], ebp
lea edx, [rbp + 0x10]
mov rcx, rbx
call fcn.14004fb30
mov eax, dword [rsi]
mov edx, dword [rbx + 0x3c]
cmp edx, eax
jbe 0x1400b4bd2
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [rbx + 0x30]
mov ecx, dword [rbx + 0x3c]
dec ecx
mov dword [rax + 0x64], ecx
mov eax, dword [rsi]
mov edx, dword [rbx + 0x3c]
sub eax, 2
cmp edx, eax
jbe 0x1400b4bf6
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov r8d, dword [rsi - 0x14]
test r8d, r8d
je 0x1400b4caa
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov edx, 0x89
mov rcx, rbx
call fcn.14004fb30
test byte [r14 + 0x28], 0x40
mov edi, eax
jne 0x1400b4c43
mov r8d, dword [r12]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], ebp
lea edx, [r9 + 0x68]
call fcn.14004fb30
test dword [r14 + 0x28], 0x200
je 0x1400b4c64
mov r8d, dword [rsi - 0xc]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], ebp
lea edx, [r9 + 0x68]
call fcn.14004fb30
cmp byte [rsi + 0x11], 0x12
jne 0x1400b4c70
mov r8d, dword [rsi + 0x14]
jmp 0x1400b4c73
mov r8d, ebp
mov r9d, dword [rsi + 8]
mov edx, ebp
sete dl
mov dword [rsp + 0x20], ebp
add edx, 0x10
mov rcx, rbx
call fcn.14004fb30
mov edx, dword [rbx + 0x3c]
cmp edx, edi
jbe 0x1400b4c9e
mov rax, qword [rbx + 8]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
sub rsi, 0x50
sub r12, 0x78
sub r15, 1
mov r9d, 0
jns 0x1400b49e0
mov r12, qword [rsp + 0x70]
mov r10, qword [rsp + 0x78]
mov eax, dword [r12 + 0x44]
mov r8, qword [rbx + 0x30]
not eax
test eax, eax
js 0x1400b4cf0
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400b4cf0
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov r15d, r9d
dec eax
mov dword [r8 + 0x64], eax
cmp byte [r12 + 0x39], 0
jbe 0x1400b4f50
lea r14, [r12 + 0x380]
movzx eax, byte [r14 - 0x1c]
mov rsi, qword [r14]
imul rcx, rax, 0x78
add r10, rcx
test byte [r10 + 0x48], 4
mov rbp, qword [r10 + 0x28]
je 0x1400b4dc5
cmp byte [r13 + 0x50], 0
jne 0x1400b4dc5
mov rax, qword [rbx]
mov edx, dword [rbx + 0x3c]
mov r8d, dword [r14 - 0x20]
cmp byte [rax + 0x50], 0
je 0x1400b4d52
lea rax, [0x1400e83d0]
jmp 0x1400b4d6a
lea eax, [rdx - 1]
test r8d, r8d
cmovns eax, r8d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
cmp r8d, edx
jge 0x1400b4f35
add rax, 4
sub edx, r8d
nop word [rax + rax]
mov ecx, dword [r14 - 0x3c]
cmp dword [rax], ecx
jne 0x1400b4db6
movzx ecx, byte [rax - 4]
cmp cl, 0x2f
jne 0x1400b4da6
mov byte [rax - 4], 0x21
mov ecx, dword [r10 + 0x40]
add ecx, dword [rax + 4]
mov dword [rax], ecx
mov ecx, dword [rax + 8]
mov dword [rax + 4], ecx
jmp 0x1400b4db2
cmp cl, 0x67
jne 0x1400b4db6
mov byte [rax - 4], 0x1c
mov dword [rax], r9d
mov dword [rax + 8], r9d
add rax, 0x18
sub rdx, 1
jne 0x1400b4d80
jmp 0x1400b4f35
test byte [rbp + 0x48], 2
jne 0x1400b4e33
cmp qword [rbp + 0x18], 0
jne 0x1400b4e33
test byte [r12 + 0x32], 0x10
jne 0x1400b4e33
cmp byte [r12 + 0x36], 0
mov edi, dword [rsi + 0x28]
jne 0x1400b4e06
test dil, 0x40
jne 0x1400b4e06
mov r8d, dword [r10 + 0x50]
mov rcx, rbx
mov dword [rsp + 0x20], r9d
xor r9d, r9d
lea edx, [r9 + 0x3d]
call fcn.14004fb30
xor r9d, r9d
and edi, 0x4300
cmp edi, 0x200
jne 0x1400b4e33
mov r8d, dword [r14 - 0x38]
cmp r8d, dword [r12 + 0x50]
je 0x1400b4e33
mov dword [rsp + 0x20], r9d
mov rcx, rbx
xor r9d, r9d
lea edx, [r9 + 0x3d]
call fcn.14004fb30
mov eax, dword [rsi + 0x28]
test eax, 0x240
je 0x1400b4e43
mov rdi, qword [rsi + 0x20]
jmp 0x1400b4e51
bt eax, 0xd
jae 0x1400b4f32
mov rdi, qword [r14 - 0x10]
test rdi, rdi
je 0x1400b4f32
cmp byte [r13 + 0x50], 0
jne 0x1400b4f32
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x3c]
mov r9d, dword [r14 - 0x20]
cmp byte [rax + 0x50], 0
je 0x1400b4e7f
lea rdx, [0x1400e83d0]
jmp 0x1400b4e98
lea eax, [r8 - 1]
test r9d, r9d
cmovns eax, r9d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
cmp r9d, r8d
jge 0x1400b4f32
add rdx, 4
mov r12d, 0xffffffff
sub r8d, r9d
mov r11d, r8d
mov eax, dword [r14 - 0x3c]
cmp dword [rdx], eax
jne 0x1400b4f23
movzx eax, byte [rdx - 4]
cmp al, 0x2f
jne 0x1400b4f15
test byte [rbp + 0x48], 0x20
movsxd r9, dword [rdx + 4]
je 0x1400b4edc
mov rcx, rbp
call fcn.140073fe0
mov rax, qword [rax + 8]
movsx r9d, word [rax + r9*2]
movzx r8d, word [rdi + 0x60]
xor ecx, ecx
test r8d, r8d
je 0x1400b4f01
mov r10, qword [rdi + 8]
nop dword [rax]
movsxd rax, ecx
cmp r9w, word [r10 + rax*2]
je 0x1400b4f05
inc ecx
cmp ecx, r8d
jl 0x1400b4ef0
movzx ecx, r12w
movsx eax, cx
test eax, eax
js 0x1400b4f23
mov dword [rdx + 4], eax
mov eax, dword [r14 - 0x38]
jmp 0x1400b4f21
cmp al, 0x67
jne 0x1400b4f23
mov eax, dword [r14 - 0x38]
mov byte [rdx - 4], 0x70
mov dword [rdx], eax
add rdx, 0x18
sub r11, 1
jne 0x1400b4eb1
mov r12, qword [rsp + 0x70]
xor r9d, r9d
movzx eax, byte [r12 + 0x39]
inc r15d
mov r10, qword [rsp + 0x78]
add r14, 0x50
cmp r15d, eax
jl 0x1400b4d10
mov rcx, qword [rsp + 0x80]
mov eax, dword [r12 + 0x48]
mov dword [rcx + 0x1d8], eax
lea rcx, [r12 + 0x158]
call fcn.1400aa360
mov rcx, qword [r12 + 0x20]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b4fbe
nop dword [rax + rax]
mov rax, qword [rcx + 0x38]
mov rdx, rcx
mov rcx, r13
mov qword [r12 + 0x20], rax
call fcn.1400b0610
mov rcx, qword [r12 + 0x20]
test rcx, rcx
jne 0x1400b4fa0
test r13, r13
je 0x1400b5014
cmp qword [r13 + 0x320], 0
je 0x1400b4fe0
mov rdx, r12
mov rcx, r13
add rsp, 0x58
pop r13
pop r12
jmp fcn.14002d0b0
cmp r12, qword [r13 + 0x168]
jb 0x1400b5014
cmp r12, qword [r13 + 0x170]
jae 0x1400b5014
mov rax, qword [r13 + 0x160]
mov qword [r12], rax
dec dword [r13 + 0x14c]
mov qword [r13 + 0x160], r12
add rsp, 0x58
pop r13
pop r12
ret
mov rcx, r12
add rsp, 0x58
pop r13
pop r12
jmp fcn.14002d010