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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov rax, qword [rsp + 0x148]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
movsxd rax, dword [rsp + 0x150]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x148]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov edx, 0x1f0
mov rcx, qword [rsp + 0x70]
call fcn.140051f40
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x20], rcx
cmp qword [rsp + 0xa0], 0
jne 0x140101644
jmp 0x140101f57
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x12]
or eax, 0x10
mov rcx, qword [rsp + 0x80]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov r8d, 0x1c0
xor edx, edx
mov rcx, rax
call fcn.140159140
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
call fcn.1400fcb80
mov r8b, 0x2b
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x30]
call fcn.1400fccf0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
call fcn.1400fd0f0
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x1401016cd
jmp 0x140101f57
mov qword [rsp + 0x40], 0xffffffffffffffff
mov qword [rsp + 0x78], 0xffffffffffffffff
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
jmp 0x140101715
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x38
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x1401019f2
cmp qword [rsp + 0x40], 0
je 0x1401019f2
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x14]
and eax, 0x1ff
test eax, eax
jne 0x140101908
mov qword [rsp + 0x78], 0
mov edx, 0x1e8
mov rcx, qword [rsp + 0x70]
call fcn.140051fe0
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x140101903
mov qword [rsp + 0xd0], 0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
or eax, 0x20
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x12], ax
mov eax, 0x400
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x1c], 0xffffffff
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x28
mov r8d, 0x1c0
xor edx, edx
mov rcx, rax
call fcn.140159140
mov rax, qword [rsp + 0x148]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x60]
call fcn.1400fcb80
mov r8b, 0x2c
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x60]
call fcn.1400fccf0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x140]
call fcn.1400fd0f0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x148]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x67]
test eax, eax
jne 0x1401018eb
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
jmp 0x14010187a
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x90]
add rax, 0x38
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x48], eax
jge 0x1401018eb
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
movzx eax, byte [rax]
mov ecx, eax
call fcn.1401006e0
test eax, eax
jne 0x1401018b2
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x14]
cmp eax, 0x40
jne 0x1401018e6
mov rax, qword [rsp + 0x68]
add rax, 0x258
mov rcx, qword [rsp + 0x90]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1400f8420
mov rcx, qword [rsp + 0xd0]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
jmp 0x14010185c
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1401019ed
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 8
test eax, eax
je 0x14010191d
jmp 0x1401019ed
mov rax, qword [rsp + 0x68]
add rax, 0x258
mov rcx, qword [rsp + 0x20]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1400f8420
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 2
test eax, eax
je 0x1401019a2
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x18]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x68]
add rax, 0x258
mov rcx, qword [rsp + 0x110]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1400f8420
mov rcx, qword [rsp + 0x98]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x14]
and eax, 2
test eax, eax
jne 0x1401019d5
mov qword [rsp + 0x78], 0
jmp 0x1401019ed
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x1401016fd
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x1e8], rcx
mov eax, 0x200
mov rcx, qword [rsp + 0x80]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1c], 0xffffffff
cmp qword [rsp + 0x40], 0
je 0x140101a3a
mov rax, qword [rsp + 0x148]
mov byte [rax + 0x11], 1
cmp qword [rsp + 0x40], 0
je 0x140101b47
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 2
jne 0x140101b47
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0xb8], eax
mov eax, 0x38
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x20]
mov edx, dword [rsp + 0xb8]
mov rcx, rax
call fcn.140101330
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp qword [rsp + 0x118], 0
je 0x140101b47
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0xbc], eax
mov eax, 0x38
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x20]
mov edx, dword [rsp + 0xbc]
mov rcx, rax
call fcn.140101330
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x120], rax
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x120], 0
je 0x140101b42
mov r9, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call fcn.1401013b0
jmp 0x140101ac2
jmp 0x140101a5d
cmp qword [rsp + 0x78], 0
je 0x140101f57
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x58], 0xffffffff
mov dword [rsp + 0x54], 0xffffffff
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x3c], 0
jmp 0x140101b87
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 2
jge 0x140101d9e
cmp dword [rsp + 0x38], 0
jne 0x140101d9e
mov qword [rsp + 0xf8], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x140101bdf
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x38
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x140101c6f
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 0xffffffbf
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x1c], ecx
jne 0x140101c0f
jmp 0x140101bc7
mov rax, qword [rsp + 0x68]
add rax, 0x258
mov rcx, qword [rsp + 0x20]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1400f8420
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x140101c3c
jmp 0x140101bc7
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xf8], rax
jmp 0x140101c6f
cmp dword [rsp + 0x28], 0
jge 0x140101c7b
jmp 0x140101d9e
mov dword [rsp + 0x38], 1
jmp 0x140101c9d
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x38
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x140101d99
cmp dword [rsp + 0x38], 0
je 0x140101d99
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x1c], ecx
je 0x140101cdb
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 0xffffffbf
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x12], ax
jmp 0x140101d94
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x58]
cmp dword [rax + 0x20], ecx
jne 0x140101d1b
cmp dword [rsp + 0x58], 0xfffffffe
jne 0x140101d25
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov r9d, 0xffffffff
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0xe0]
call fcn.140074bb0
test eax, eax
je 0x140101d25
mov dword [rsp + 0x38], 0
jmp 0x140101d94
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.140080340
movsx eax, al
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
call fcn.140080340
movsx eax, al
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0x88], 0
je 0x140101d7f
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0x88], eax
je 0x140101d7f
mov dword [rsp + 0x38], 0
jmp 0x140101d94
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
or eax, 0x40
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x12], ax
jmp 0x140101c85
jmp 0x140101b7d
cmp dword [rsp + 0x38], 0
je 0x140101f57
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x100], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
jmp 0x140101df7
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x38
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x140101e6f
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 0x40
test eax, eax
jne 0x140101e10
jmp 0x140101ddf
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
xor r8d, r8d
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x70]
call fcn.1400799b0
mov qword [rsp + 0xd8], rax
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140054d30
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x100], rax
jmp 0x140101ddf
xor r8d, r8d
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x70]
call fcn.1400799b0
mov qword [rsp + 0xd8], rax
xor r9d, r9d
mov r8, qword [rsp + 0xd8]
mov edx, 0x31
mov rcx, qword [rsp + 0xe0]
call fcn.1400544c0
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x140101f45
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xa8]
call fcn.140101240
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x20], rcx
mov r8w, 3
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x148]
call fcn.1401004f0
mov dword [rsp + 0x8c], eax
mov r8d, dword [rsp + 0x8c]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call fcn.1400fef70
mov r8d, dword [rsp + 0x150]
mov edx, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x148]
call fcn.1401012a0
jmp 0x140101f57
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
call fcn.1400553c0
add rsp, 0x138
ret