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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x20], r12d
mov rdi, qword [rcx + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0xe0], rdi
lea r13d, [r12 + 4]
nop
cmp rdi, qword [r14 + 8]
je 0x1400046cd
mov r13, qword [rdi + 0x10]
mov rdi, qword [rdi]
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xb0], r13
inc esi
mov dword [rsp + 0x20], esi
mov rcx, qword [r14 + 0x38]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0xc8], rcx
nop dword [rax]
cmp byte [rax + 0x49], 0
jne 0x140004216
cmp dword [rax + 0x18], esi
jge 0x140004201
mov rax, qword [rax + 0x10]
jmp 0x14000420f
mov rcx, rax
mov qword [rsp + 0xc8], rax
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
jmp 0x1400041f0
mov qword [rsp + 0x88], rcx
mov rax, qword [r14 + 0x38]
cmp rcx, rax
je 0x140004236
cmp esi, dword [rcx + 0x18]
jl 0x140004236
lea rdx, [rsp + 0x88]
jmp 0x140004240
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
mov rdx, qword [rdx]
cmp rdx, qword [r14 + 0x38]
je 0x14000433e
add rdx, 0x20
mov rcx, r15
call fcn.14000f150
mov r12, rax
mov edx, 0xa
mov rcx, rax
call fcn.140013070
xor ebx, ebx
mov dword [rsp + 0x38], ebx
mov rcx, qword [r12]
movsxd rcx, dword [rcx + 4]
test byte [rcx + r12 + 0x10], 6
jne 0x140004299
mov rcx, qword [rcx + r12 + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, 0xffffffff
mov eax, 4
cmove ebx, eax
mov dword [rsp + 0x38], ebx
mov rax, qword [r12]
movsxd rcx, dword [rax + 4]
add rcx, r12
test ebx, ebx
je 0x1400042bf
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x1400042b7
or edx, 4
xor r8d, r8d
call fcn.1400133d0
inc esi
mov dword [rsp + 0x20], esi
mov rcx, qword [r14 + 0x38]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x98], rcx
nop word [rax + rax]
cmp byte [rax + 0x49], 0
jne 0x140004306
cmp dword [rax + 0x18], esi
jge 0x1400042f1
mov rax, qword [rax + 0x10]
jmp 0x1400042ff
mov rcx, rax
mov qword [rsp + 0x98], rax
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400042e0
mov qword [rsp + 0xd8], rcx
mov rax, qword [r14 + 0x38]
cmp rcx, rax
je 0x140004326
cmp esi, dword [rcx + 0x18]
jl 0x140004326
lea rdx, [rsp + 0xd8]
jmp 0x140004336
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0xa8]
mov rdx, qword [rdx]
jmp 0x140004243
lea rdx, [rsp + 0x108]
mov rcx, r13
call fcn.140002f10
nop
mov rdx, rax
mov rcx, r15
call fcn.14000f150
mov r12, rax
mov edx, 0xa
mov rcx, rax
call fcn.140013070
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov rcx, qword [r12]
movsxd rcx, dword [rcx + 4]
test byte [rcx + r12 + 0x10], 6
jne 0x14000439a
mov rcx, qword [rcx + r12 + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, 0xffffffff
mov eax, 4
cmove ebx, eax
mov dword [rsp + 0x30], ebx
mov rax, qword [r12]
movsxd rcx, dword [rax + 4]
add rcx, r12
test ebx, ebx
je 0x1400043c1
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x1400043b8
or edx, 4
xor r8d, r8d
call fcn.1400133d0
nop
cmp qword [rsp + 0x120], 8
jb 0x1400043d9
mov rcx, qword [rsp + 0x108]
call fcn.1400d4d78
mov qword [rsp + 0x120], 7
xor r12d, r12d
mov qword [rsp + 0x118], r12
mov word [rsp + 0x108], r12w
mov rbx, qword [r13 + 0x30]
mov rbx, qword [rbx]
mov qword [rsp + 0xa0], rbx
nop dword [rax + rax]
cmp rbx, qword [r13 + 0x30]
je 0x14000465c
inc esi
mov dword [rsp + 0x20], esi
mov rcx, qword [r14 + 0x38]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0xf0], rcx
cmp byte [rax + 0x49], 0
jne 0x14000445b
cmp dword [rax + 0x18], esi
jge 0x140004446
mov rax, qword [rax + 0x10]
jmp 0x140004454
mov rcx, rax
mov qword [rsp + 0xf0], rax
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x140004435
mov qword [rsp + 0xb8], rcx
mov rax, qword [r14 + 0x38]
cmp rcx, rax
je 0x14000447b
cmp esi, dword [rcx + 0x18]
jl 0x14000447b
lea rdx, [rsp + 0xb8]
jmp 0x14000448b
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0xe8]
mov rdx, qword [rdx]
nop
cmp rdx, qword [r14 + 0x38]
je 0x140004585
add rdx, 0x20
mov rcx, r15
call fcn.14000f150
mov r13, rax
mov edx, 0xa
mov rcx, rax
call fcn.140013070
mov dword [rsp + 0x40], r12d
mov rcx, qword [r13]
movsxd rcx, dword [rcx + 4]
test byte [rcx + r13 + 0x10], 6
jne 0x1400044e7
mov rcx, qword [rcx + r13 + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, 0xffffffff
mov eax, 4
cmove r12d, eax
mov dword [rsp + 0x40], r12d
mov rax, qword [r13]
movsxd rcx, dword [rax + 4]
add rcx, r13
test r12d, r12d
je 0x14000450f
mov edx, dword [rcx + 0x10]
or edx, r12d
cmp qword [rcx + 0x48], 0
jne 0x140004507
or edx, 4
xor r8d, r8d
call fcn.1400133d0
inc esi
mov dword [rsp + 0x20], esi
mov rcx, qword [r14 + 0x38]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], rcx
cmp byte [rax + 0x49], 0
jne 0x14000454a
cmp dword [rax + 0x18], esi
jge 0x140004538
mov rax, qword [rax + 0x10]
jmp 0x140004543
mov rcx, rax
mov qword [rsp + 0x78], rax
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x140004527
mov qword [rsp + 0x80], rcx
mov rax, qword [r14 + 0x38]
cmp rcx, rax
je 0x14000456a
cmp esi, dword [rcx + 0x18]
jl 0x14000456a
lea rdx, [rsp + 0x80]
jmp 0x14000457a
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x90]
mov rdx, qword [rdx]
xor r12d, r12d
jmp 0x140004490
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov qword [rsp + 0xa0], rbx
lea rdx, [rsp + 0x130]
call fcn.1400031b0
nop
mov rdx, rax
mov rcx, r15
call fcn.14000f150
mov r13, rax
mov edx, 0xa
mov rcx, rax
call fcn.140013070
mov dword [rsp + 0x3c], r12d
mov rcx, qword [r13]
movsxd rcx, dword [rcx + 4]
test byte [rcx + r13 + 0x10], 6
jne 0x1400045ee
mov rcx, qword [rcx + r13 + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, 0xffffffff
mov eax, 4
cmove r12d, eax
mov dword [rsp + 0x3c], r12d
mov rax, qword [r13]
movsxd rcx, dword [rax + 4]
add rcx, r13
test r12d, r12d
je 0x140004617
mov edx, dword [rcx + 0x10]
or edx, r12d
cmp qword [rcx + 0x48], 0
jne 0x14000460e
or edx, 4
xor r8d, r8d
call fcn.1400133d0
nop
cmp qword [rsp + 0x148], 8
jb 0x14000462f
mov rcx, qword [rsp + 0x130]
call fcn.1400d4d78
mov qword [rsp + 0x148], 7
xor r12d, r12d
mov qword [rsp + 0x140], r12
mov word [rsp + 0x130], r12w
mov r13, qword [rsp + 0xb0]
jmp 0x140004410
mov edx, 0xa
mov rcx, r15
call fcn.140013070
mov ebx, r12d
mov dword [rsp + 0x34], ebx
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
test byte [rcx + r15 + 0x10], 6
jne 0x14000469d
mov rcx, qword [rcx + r15 + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, 0xffffffff
mov r13d, 4
cmove ebx, r13d
mov dword [rsp + 0x34], ebx
jmp 0x1400046a3
mov r13d, 4
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
add rcx, r15
test ebx, ebx
je 0x1400046c8
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x1400046c0
or edx, 4
xor r8d, r8d
call fcn.1400133d0
jmp 0x1400041b0
mov rbx, qword [r14 + 0x38]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xc0], rbx
cmp byte [rax + 0x49], 0
jne 0x140004708
cmp esi, dword [rax + 0x18]
jge 0x1400046fd
mov rbx, rax
mov qword [rsp + 0xc0], rax
mov rax, qword [rax]
jmp 0x140004701
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
jmp 0x1400046e2
mov qword [rsp + 0x28], rbx
nop dword [rax]
cmp rbx, qword [r14 + 0x38]
je 0x1400047f4
mov rdx, rbx
cmp byte [rbx + 0x49], 0
jne 0x140004782
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x49], 0
jne 0x140004760
mov rbx, rax
mov qword [rsp + 0xd0], rax
nop dword [rax + rax]
mov rax, qword [rbx]
cmp byte [rax + 0x49], 0
jne 0x140004756
mov rbx, rax
mov qword [rsp + 0xd0], rax
jmp 0x140004740
mov qword [rsp + 0x28], rbx
jmp 0x140004782
mov rax, qword [rbx + 8]
cmp byte [rax + 0x49], 0
jne 0x14000477a
cmp rbx, qword [rax + 0x10]
jne 0x14000477a
mov rbx, rax
mov qword [rsp + 0x28], rax
jmp 0x140004760
mov rbx, rax
mov qword [rsp + 0x28], rax
add rdx, 0x20
mov rcx, r15
call fcn.14000f150
mov rsi, rax
mov edx, 0xa
mov rcx, rax
call fcn.140013070
mov edi, r12d
mov dword [rsp + 0x24], r12d
mov rcx, qword [rsi]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rsi + 0x10], 6
jne 0x1400047ca
mov rcx, qword [rcx + rsi + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, 0xffffffff
cmove edi, r13d
mov dword [rsp + 0x24], edi
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
add rcx, rsi
test edi, edi
je 0x1400047ef
mov edx, dword [rcx + 0x10]
or edx, edi
cmp qword [rcx + 0x48], 0
jne 0x1400047e7
or edx, 4
xor r8d, r8d
call fcn.1400133d0
jmp 0x140004710
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1400d4d90
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret