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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1403f2f18]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
cmp qword [rax + 0x4268], rcx
je 0x1400467fe
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x4268], rcx
cmp qword [rsp + 0x80], 0
je 0x14004676a
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x42ab]
test eax, eax
je 0x14004676a
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x42a9], 1
cmp qword [rsp + 0x80], 0
je 0x140046793
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x3d0]
mov dword [rsp + 0x38], eax
jmp 0x14004679b
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x4270], ecx
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x4274], 0
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x42a8], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x42a4], 0
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x42c5], 0
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x42c4], 0
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x42ad], 0
call fcn.14004d5b0
nop
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.14004aca0
cmp qword [rsp + 0x80], 0
je 0x14004682e
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x3a0]
mov qword [rsp + 0x50], rax
jmp 0x140046837
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x80], 0
je 0x140046862
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x3b0]
mov qword [rsp + 0x58], rax
jmp 0x14004686b
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x80], 0
je 0x140046896
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x420]
mov qword [rsp + 0x60], rax
jmp 0x14004689f
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x4070], 0
je 0x1400468e4
cmp qword [rsp + 0x30], 0
je 0x1400468e4
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x4070]
cmp qword [rax + 0x88], rcx
jne 0x1400468e4
mov dword [rsp + 0x3c], 1
jmp 0x1400468ec
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x4034], 0
je 0x14004694b
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x4070], 0
je 0x14004694b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x4070]
mov rcx, qword [rsp + 0x48]
cmp qword [rax + 0x3a0], rcx
je 0x14004694b
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x4042]
test eax, eax
jne 0x14004694b
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x14004694b
call fcn.140036d50
nop
cmp qword [rsp + 0x80], 0
jne 0x14004695b
jmp 0x1400469fe
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x3f60]
mov dword [rax + 0x284], ecx
cmp qword [rsp + 0x30], 0
je 0x1400469c2
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x40], 0
je 0x1400469c2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x90]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x18], ecx
mov rcx, qword [rsp + 0x48]
call fcn.140046270
nop
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0xc]
mov eax, dword [rax + 0xc]
or eax, ecx
mov rcx, qword [rsp + 0x68]
or eax, dword [rcx + 0xc]
and eax, 0x2000
test eax, eax
jne 0x1400469fe
mov rcx, qword [rsp + 0x68]
call fcn.1400463d0
nop
add rsp, 0x78
ret