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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsp + 0x140]
imul rax, rax, 0x40
mov rcx, qword [rsp + 0x138]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov edx, 0x230
mov rcx, qword [rsp + 0x68]
call fcn.18006e6e0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x28], rcx
cmp qword [rsp + 0xa0], 0
jne 0x18004061c
jmp 0x180040ec6
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0x12]
or eax, 0x10
mov rcx, qword [rsp + 0x70]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1800b0390
mov r8b, Ordinal_45
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
call fcn.1800b4120
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x130]
call fcn.1800b3c40
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x61]
test eax, eax
je 0x18004069b
jmp 0x180040ec6
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 0x1800406e3
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x1800409b0
cmp qword [rsp + 0x40], 0
je 0x1800409b0
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x14]
and eax, 0x1ff
test eax, eax
jne 0x1800408c6
mov qword [rsp + 0x78], 0
mov edx, 0x228
mov rcx, qword [rsp + 0x68]
call fcn.18006e500
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x1800408c1
mov qword [rsp + 0xd0], 0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x28], 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 + 0xc8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x28
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x138]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x58]
call fcn.1800b0390
mov r8b, Ordinal_46
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x58]
call fcn.1800b4120
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x130]
call fcn.1800b3c40
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x138]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x61]
test eax, eax
jne 0x1800408a9
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
jmp 0x180040838
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x90]
add rax, 0x40
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x48], eax
jge 0x1800408a9
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
movzx eax, byte [rax]
mov ecx, eax
call fcn.18002e5a0
test eax, eax
jne 0x180040870
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x14]
cmp eax, 0x40
jne 0x1800408a4
mov rax, qword [rsp + 0x60]
add rax, 0x290
mov rcx, qword [rsp + 0x90]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1800b3ff0
mov rcx, qword [rsp + 0xd0]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
jmp 0x18004081a
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800409ab
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 8
test eax, eax
je 0x1800408db
jmp 0x1800409ab
mov rax, qword [rsp + 0x60]
add rax, 0x290
mov rcx, qword [rsp + 0x20]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1800b3ff0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 2
test eax, eax
je 0x180040960
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x18]
imul rax, rax, 0x40
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x60]
add rax, 0x290
mov rcx, qword [rsp + 0x108]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1800b3ff0
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 0x180040993
mov qword [rsp + 0x78], 0
jmp 0x1800409ab
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x1800406cb
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x228], rcx
cmp qword [rsp + 0x40], 0
je 0x1800409e8
mov eax, 0x200
mov rcx, qword [rsp + 0x70]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x11], 1
jmp 0x1800409f6
mov eax, 0x200
mov rcx, qword [rsp + 0x70]
mov word [rcx + 0x14], ax
cmp qword [rsp + 0x40], 0
je 0x180040b03
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 2
jne 0x180040b03
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0xb8], eax
mov eax, 0x40
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x20]
mov edx, dword [rsp + 0xb8]
mov rcx, rax
call fcn.1800c6210
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x110], rax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp qword [rsp + 0x110], 0
je 0x180040b03
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0xbc], eax
mov eax, 0x40
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x20]
mov edx, dword [rsp + 0xbc]
mov rcx, rax
call fcn.1800c6210
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x118], 0
je 0x180040afe
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.1800c26d0
jmp 0x180040a7e
jmp 0x180040a19
cmp qword [rsp + 0x78], 0
je 0x180040ec6
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x80], 0xffffffff
mov dword [rsp + 0x54], 0xffffffff
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x3c], 0
jmp 0x180040b46
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 2
jge 0x180040d0d
cmp dword [rsp + 0x38], 0
jne 0x180040d0d
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 0x180040b92
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x180040c0d
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 0x180040bbe
jmp 0x180040b7a
mov rax, qword [rsp + 0x60]
add rax, 0x290
mov rcx, qword [rsp + 0x20]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1800b3ff0
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x180040beb
jmp 0x180040b7a
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x54], eax
jmp 0x180040c0d
cmp dword [rsp + 0x28], 0
jge 0x180040c19
jmp 0x180040d0d
mov dword [rsp + 0x38], 1
jmp 0x180040c3b
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x180040d08
cmp dword [rsp + 0x38], 0
je 0x180040d08
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x1c], ecx
je 0x180040c79
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 0xffffffbf
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x12], ax
jmp 0x180040d03
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x28], ecx
je 0x180040c94
mov dword [rsp + 0x38], 0
jmp 0x180040d03
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.180071ba0
movsx eax, al
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
call fcn.180071ba0
movsx eax, al
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0x84], 0
je 0x180040cee
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0x84], eax
je 0x180040cee
mov dword [rsp + 0x38], 0
jmp 0x180040d03
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
or eax, 0x40
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x12], ax
jmp 0x180040c23
jmp 0x180040b3c
cmp dword [rsp + 0x38], 0
je 0x180040ec6
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xf0], 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 0x180040d66
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x180040dde
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 0x40
test eax, eax
jne 0x180040d7f
jmp 0x180040d4e
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
xor r8d, r8d
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x68]
call fcn.1800759c0
mov qword [rsp + 0xd8], rax
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call fcn.180076bc0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xf0], rax
jmp 0x180040d4e
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
call fcn.1800759c0
mov qword [rsp + 0xd8], rax
xor r9d, r9d
mov r8, qword [rsp + 0xd8]
mov edx, Ordinal_50
mov rcx, qword [rsp + 0xf8]
call fcn.180084e00
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x180040eb4
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xa8]
call fcn.1800b7d80
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 + 0x138]
call fcn.1800c24e0
mov dword [rsp + 0x88], eax
mov r8d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18003f450
mov r8d, dword [rsp + 0x140]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x138]
call fcn.18004d190
jmp 0x180040ec6
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
call fcn.180077060
add rsp, 0x120
pop rdi
ret