Function at 0x1802576f0
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, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x90], 0
jne 0x180257761
jmp 0x180257d27
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180257791
cmp dword [rsp + 0x50], 1
je 0x18025796a
cmp dword [rsp + 0x50], 2
je 0x180257beb
jmp 0x180257d27
mov edx, 2
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0xc8]
call fcn.1801a1450
test eax, eax
jne 0x1802577d2
mov r8d, 1
lea rdx, [rsp + 0x34]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0xc8]
call fcn.1801a1670
cmp eax, 1
je 0x1802577d7
jmp 0x180257d5a
movzx eax, byte [rsp + 0x34]
and eax, 0x1f
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x30], eax
movzx eax, byte [rsp + 0x34]
and eax, 0x80
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x30]
mov ecx, 1
mov dword [rsp + 0x54], ecx
movzx ecx, al
mov eax, dword [rsp + 0x54]
shl eax, cl
sub eax, 0x100
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x30], 0x10
jbe 0x18025783f
jmp 0x180257d5a
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x3c], 9
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x34], 0
je 0x180257866
mov dword [rsp + 0x58], 0x101
jmp 0x18025786e
mov dword [rsp + 0x58], 0x100
mov eax, dword [rsp + 0x58]
sub eax, 0x100
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x40], eax
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x30]
cmp dword [rax + 0x3c], ecx
jae 0x1802578ca
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x3c]
mov ecx, 1
mov dword [rsp + 0x5c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x5c]
shl eax, cl
sub eax, 0x100
mov dword [rsp + 0x60], eax
jmp 0x1802578db
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x44], ecx
mov rcx, qword [rsp + 0x80]
call fcn.180258590
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x18025790c
cmp dword [rsp + 0x44], 0xff
jle 0x180257911
jmp 0x180257d5a
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
cmp qword [rsp + 0x88], 0
je 0x180257940
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x20], eax
jb 0x18025795c
jmp 0x180257d27
mov rax, qword [rsp + 0x80]
mov dword [rax], 1
mov rcx, qword [rsp + 0x80]
call fcn.180258590
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jge 0x180257987
jmp 0x180257d5a
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x100
jne 0x1802579d4
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x34], 0
je 0x1802579d4
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x40], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x20], 1
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
jmp 0x18025796a
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x4c], 0x100
jb 0x180257b66
mov eax, dword [rsp + 0x4c]
sub eax, 0x100
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x40]
jb 0x180257a96
mov eax, dword [rsp + 0x4c]
sub eax, 0x100
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x40]
jbe 0x180257a1f
jmp 0x180257d5a
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
mov rcx, qword [rsp + 0x80]
cmp rax, qword [rcx + 0x80]
jb 0x180257a51
mov rcx, qword [rsp + 0x80]
call fcn.1802587d0
test eax, eax
jge 0x180257a51
jmp 0x180257d5a
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x70]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x78], eax
xor eax, eax
test eax, eax
jne 0x180257a1f
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x100
jb 0x180257b66
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x58], 0
jne 0x180257ab8
jmp 0x180257d5a
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
mov rcx, qword [rsp + 0x80]
cmp rax, qword [rcx + 0x80]
jb 0x180257aea
mov rcx, qword [rsp + 0x80]
call fcn.1802587d0
test eax, eax
jge 0x180257aea
jmp 0x180257d5a
mov eax, dword [rsp + 0x4c]
sub eax, 0x100
mov eax, eax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x60]
mov rdx, qword [rsp + 0x80]
mov edx, dword [rdx + 0x78]
mov r8, qword [rsp + 0x80]
mov r8, qword [r8 + 0x70]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x78], eax
xor eax, eax
test eax, eax
jne 0x180257ab8
mov eax, dword [rsp + 0x4c]
sub eax, 0x100
mov eax, eax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x58]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x4c], eax
jmp 0x180257a96
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
mov rcx, qword [rsp + 0x80]
cmp rax, qword [rcx + 0x80]
jb 0x180257ba0
mov rcx, qword [rsp + 0x80]
call fcn.1802587d0
test eax, eax
jge 0x180257ba0
jmp 0x180257d5a
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x70]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x78], eax
xor eax, eax
test eax, eax
jne 0x180257b6e
mov rax, qword [rsp + 0x80]
mov dword [rax], 2
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x78], 0
jbe 0x180257c65
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x78], eax
cmp qword [rsp + 0x88], 0
je 0x180257c47
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x70]
mov edx, dword [rsp + 0x20]
mov r8, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x20], eax
jne 0x180257c63
jmp 0x180257d27
jmp 0x180257beb
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x38]
cmp dword [rax + 0x40], ecx
jae 0x180257d0c
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x68]
cmp dword [rax + 0x40], ecx
jb 0x180257caf
mov rcx, qword [rsp + 0x80]
call fcn.180258940
test eax, eax
jge 0x180257caf
jmp 0x180257d5a
xor eax, eax
test eax, eax
jne 0x180257caf
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x58]
movzx edx, word [rsp + 0x28]
mov word [rcx + rax*2], dx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x60]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x40], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], 1
jmp 0x18025796a
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x48], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x4c], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 0x50], ecx
mov eax, dword [rsp + 0x20]
jmp 0x180257d6a
mov rax, qword [rsp + 0x80]
mov dword [rax], 3
jmp 0x180257d27
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1803a29a0]
call fcn.180259f60
mov rax, rdi
add rsp, 0x70
pop rdi
ret