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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov rax, qword [0x140074060]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jle 0x1400209ed
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x130]
cmp qword [rsp + 0xa8], rax
ja 0x1400209f8
mov qword [rsp + 0x30], 0
jmp 0x140020a37
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xb0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0xf0]
call fcn.14000c958
nop
mov al, byte [rsp + 0xf8]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x140020a71
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140020d34
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov eax, dword [rcx + rax + 0x18]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
and eax, 0x1c0
cmp eax, 0x40
je 0x140020b7c
jmp 0x140020ab1
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jbe 0x140020b7c
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0x88], rax
mov al, byte [rsp + 0x2d]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov al, byte [rcx + rax + 0x58]
mov byte [rsp + 0x20], al
mov dl, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
call fcn.140020714
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], 0xffffffff
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], eax
jne 0x140020b51
mov dword [rsp + 0x38], 1
jmp 0x140020b59
mov dword [rsp + 0x38], 0
mov al, byte [rsp + 0x38]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x140020b77
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140020b7c
jmp 0x140020aa4
cmp dword [rsp + 0x24], 0
jne 0x140020c0f
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x130]
cmp qword [rsp + 0xc0], rax
je 0x140020c0f
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140020ce9
jmp 0x140020c1e
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jbe 0x140020ce9
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0x90], rax
mov al, byte [rsp + 0x2e]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov al, byte [rcx + rax + 0x58]
mov byte [rsp + 0x21], al
mov dl, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x90]
call fcn.140020714
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 0xffffffff
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x5c], eax
jne 0x140020cbe
mov dword [rsp + 0x3c], 1
jmp 0x140020cc6
mov dword [rsp + 0x3c], 0
mov al, byte [rsp + 0x3c]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x140020ce4
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140020ce9
jmp 0x140020c11
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], 0
jmp 0x140020d34
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x64], eax
mov byte [rsp + 0x2c], 0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x48], 0
je 0x140020d86
mov dword [rsp + 0x44], 0
jmp 0x140020d8e
mov dword [rsp + 0x44], 4
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x64]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x44]
mov r8b, byte [rsp + 0x2c]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1400032c4
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0xf0]
call fcn.14000c90c
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140029d90
add rsp, 0x118
ret