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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
mov dword [rsp + 0x90], 0xffffffff
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x10]
imul rax, rax, 0x70
mov rcx, qword [rsp + 0xb8]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x180202eee
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x38], rax
jmp 0x180202fb1
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov eax, 1
mov word [rsp + 0x116], ax
lea rax, [rsp + 0x90]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xd0], rax
mov byte [rsp + 0x118], 5
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x38]
mov dword [rsp + rax + 0xa0], ecx
mov eax, 4
imul rax, rax, 1
mov dword [rsp + rax + 0xa0], 1
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x3c]
and eax, 1
test eax, eax
jne 0x180202fa4
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x38]
mov ecx, eax
call fcn.1802817ec
mov word [rsp + 0x20], ax
movzx ecx, word [rsp + 0x20]
call fcn.1802085cc
mov word [rsp + 0x30], ax
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x20], 0
jne 0x1802031ac
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rax, qword [rax]
mov eax, dword [rax + 0x2c]
and eax, 0x100000
test eax, eax
je 0x1802031ac
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
jne 0x1802031ac
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x3c]
shr eax, 2
and eax, 1
test eax, eax
jne 0x1802031ac
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x3c]
and eax, 1
test eax, eax
jne 0x1802031ac
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x3c]
shr eax, 1
and eax, 1
test eax, eax
jne 0x1802031ac
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x50], rax
jmp 0x18020308f
mov rax, qword [rsp + 0x50]
add rax, 0x38
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x34], 0
jne 0x1802031ac
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x50], rax
jae 0x1802031ac
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x28]
and rax, rcx
test rax, rax
je 0x1802030c9
jmp 0x180203081
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
call fcn.180208518
test eax, eax
je 0x1802031a7
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x18], 1
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov eax, 1
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x2c], ax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
mov rdx, qword [rsp + 0x50]
mov qword [rax + rcx], rdx
movsx eax, word [rsp + 0x30]
movsx ecx, word [rsp + 0x20]
lea eax, [rax + rcx + 0x1c]
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x12], ax
mov eax, 0x2b
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x28]
movzx edx, word [rax + 0x16]
movzx ecx, word [rsp + 0x30]
call fcn.1802818a8
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x28], 0x4000
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x138]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x130]
call fcn.180204098
mov dword [rsp + 0x34], eax
jmp 0x180203081
jmp 0x1802031c6
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x34], 0
jne 0x180203502
cmp qword [rsp + 0x38], 0
je 0x180203502
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x48], 0
je 0x18020320d
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov r8, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x60]
mov ecx, eax
call fcn.180203518
test eax, eax
jne 0x18020320d
jmp 0x1802031ae
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x18], 0
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x2c], ax
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x11], 0
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x138]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
movzx ecx, word [rsp + 0x20]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x44]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x130]
call fcn.180203624
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x50], 0
jg 0x180203323
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x28], 0x100
cmp dword [rsp + 0x58], 0
je 0x1802032af
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x78], eax
jmp 0x1802032b7
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0x28]
mov cl, byte [rsp + 0x78]
mov byte [rax + 0x11], cl
movzx edx, word [rsp + 0x30]
movzx ecx, word [rsp + 0x20]
call fcn.1802818a8
cwde
add eax, 0x10
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x14], ax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.180203f20
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x130]
call fcn.180204098
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x28]
movzx ecx, word [rsp + 0x20]
mov word [rax + 0x16], cx
cmp dword [rsp + 0x34], 0
je 0x18020331e
jmp 0x180203502
jmp 0x1802034d1
mov rcx, qword [rsp + 0x38]
call fcn.18020359c
not rax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x58]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x18020335c
mov dword [rsp + 0x74], 0x240
jmp 0x180203364
mov dword [rsp + 0x74], 0x200
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x74]
mov dword [rax + 0x28], ecx
cmp dword [rsp + 0x58], 0
jne 0x1802033fb
cmp qword [rsp + 0x98], 0
jne 0x1802034d1
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x5c]
shr eax, 2
and eax, 1
test eax, eax
jne 0x1802034d1
mov rax, qword [rsp + 0x38]
movsx eax, word [rax + 0x54]
mov rcx, qword [rsp + 0x68]
movsx ecx, word [rcx + 0x46]
cmp eax, ecx
jge 0x1802034d1
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x32]
and eax, 4
test eax, eax
jne 0x1802034d1
cmp dword [0x1803a2f40], 0
je 0x1802034d1
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rax, qword [rax]
movzx eax, word [rax + 0x4c]
and eax, 0x40
test eax, eax
jne 0x1802034d1
cmp dword [rsp + 0x58], 0
je 0x18020340c
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x70], eax
jmp 0x180203414
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x28]
mov cl, byte [rsp + 0x70]
mov byte [rax + 0x11], cl
cmp qword [rsp + 0x98], 0
jne 0x180203480
movzx edx, word [rsp + 0x30]
movzx ecx, word [rsp + 0x20]
call fcn.1802818a8
cwde
mov dword [rsp + 0x88], eax
mov rcx, qword [rsp + 0x38]
movsx ecx, word [rcx + 0x54]
imul ecx, ecx, 0xf
mov rdx, qword [rsp + 0x68]
movsx edx, word [rdx + 0x46]
mov dword [rsp + 0x8c], edx
mov eax, ecx
cdq
mov ecx, dword [rsp + 0x8c]
idiv ecx
mov ecx, dword [rsp + 0x88]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x14], ax
jmp 0x180203495
movsx eax, word [rsp + 0x20]
movsx ecx, word [rsp + 0x30]
add eax, ecx
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x14], ax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.180203f20
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x130]
call fcn.180204098
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x28]
movzx ecx, word [rsp + 0x20]
mov word [rax + 0x16], cx
cmp dword [rsp + 0x34], 0
je 0x1802034d1
jmp 0x180203502
xor r9d, r9d
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x130]
call fcn.180203730
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x1802034fd
jmp 0x180203502
jmp 0x1802031ae
mov eax, dword [rsp + 0x34]
add rsp, 0x120
pop rdi
ret