Function at 0x180042f70
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, 0xc8
xor eax, eax
mov word [rsp + 0x20], ax
xor eax, eax
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax + 2]
cmp eax, 5
jne 0x180043050
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rax + 4]
call fcn.1800219e0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
movzx edx, word [rcx]
mov rcx, qword [rsp + 0xd0]
call qword [rax + 0x28]
movzx eax, al
test eax, eax
je 0x18004303a
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 2]
and eax, 0xffff
test eax, eax
je 0x180043002
mov byte [rsp + 0x26], 1
jmp 0x180043007
mov byte [rsp + 0x26], 0
movzx edx, byte [rsp + 0x26]
mov rcx, qword [rsp + 0xd0]
call fcn.180043560
movzx eax, al
test eax, eax
jne 0x18004303a
mov eax, 1
mov word [rsp + 0x20], ax
mov eax, 0xa
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rax + 4]
call fcn.180021a20
jmp 0x1800433f1
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax + 2]
cmp eax, 4
jne 0x1800433d7
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rax + 4]
call fcn.1800219e0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
movzx edx, word [rcx]
mov rcx, qword [rsp + 0xd0]
call qword [rax + 0x28]
movzx eax, al
test eax, eax
je 0x1800433aa
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 6]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x48]
call fcn.180005930
mov byte [rsp + 0x25], 0
mov dword [rsp + 0x2c], 0
jmp 0x1800430d3
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 2]
cmp dword [rsp + 0x2c], eax
jae 0x180043328
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2 + 0xe]
test eax, eax
je 0x180043101
mov dword [rsp + 0x38], 1
jmp 0x180043109
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x180043125
mov dword [rsp + 0x3c], 1
jmp 0x18004312d
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xd0]
add rax, 0x38
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1800178e0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xd0]
add rcx, 0x38
lea rdx, [rsp + 0x80]
call fcn.1800168e0
lea r9, [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x88]
call fcn.180043cb0
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x38
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.1800178e0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180013500
movzx eax, al
test eax, eax
je 0x1800432f1
movzx eax, byte [rsp + 0x25]
test eax, eax
jne 0x1800431e7
mov rax, qword [rsp + 0xd0]
add rax, 0x20
mov rcx, rax
call fcn.180044040
mov byte [rsp + 0x25], 1
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1800431fa
mov dword [rsp + 0x40], 1
jmp 0x180043202
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xd0]
add rax, 0x20
lea rdx, [rsp + 0x98]
mov rcx, rax
call fcn.1800178e0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xd0]
add rcx, 0x20
lea rdx, [rsp + 0xa0]
call fcn.1800168e0
lea r9, [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0xa8]
call fcn.180043cb0
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x20
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.1800178e0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800134b0
movzx eax, al
test eax, eax
je 0x1800432bd
movzx eax, byte [rsp + 0x24]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xd0]
add rax, 0x20
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.180044110
jmp 0x1800432ef
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 6]
cmp dword [rsp + 0x2c], eax
jae 0x1800432d5
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov eax, 2
mov word [rsp + 0x20], ax
mov eax, 0xa
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
jmp 0x180043323
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 6]
cmp dword [rsp + 0x2c], eax
jae 0x180043309
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov eax, 2
mov word [rsp + 0x20], ax
mov eax, 0xa
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
jmp 0x1800430c9
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x18004338e
cmp dword [rsp + 0x28], 0
jl 0x180043363
mov rax, qword [rsp + 0xd0]
add rax, 0x20
mov rcx, rax
call fcn.180020a90
cmp dword [rsp + 0x28], eax
jge 0x180043363
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x10], ecx
jmp 0x18004338c
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x10], 0
mov eax, 2
mov word [rsp + 0x20], ax
mov eax, 0xa
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
jmp 0x1800433a8
mov eax, 1
mov word [rsp + 0x20], ax
mov eax, 0xa
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
jmp 0x1800433c4
mov eax, 1
mov word [rsp + 0x20], ax
mov eax, 0xa
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rax + 4]
call fcn.180021a20
jmp 0x1800433f1
mov eax, 1
mov word [rsp + 0x20], ax
mov eax, 0xa
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
movzx eax, word [rsp + 0x20]
add rsp, 0xc8
ret