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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xc0]
call fcn.18026a924
mov dword [rsp + 0x50], eax
mov eax, 1
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x68]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.180281e78
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x58], eax
jb 0x180264bd8
mov ecx, 0xd6d8
call fcn.1801f4790
jmp 0x180265674
cmp dword [rsp + 0x58], 0
jbe 0x1802653b3
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0xe0]
cmp eax, 1
jne 0x180264c43
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0xd8], eax
ja 0x180264c41
xor r9d, r9d
lea r8, [rsp + 0x3c]
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
call fcn.18026c5b8
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180264c32
mov eax, dword [rsp + 0x20]
jmp 0x180265674
movzx eax, byte [rsp + 0x3c]
cmp eax, 2
jne 0x180264c41
mov byte [rsp + 0x24], 1
jmp 0x180264c55
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x180264c55
mov byte [rsp + 0x24], 1
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180264c77
mov eax, dword [rsp + 0x20]
jmp 0x180265674
mov eax, dword [rsp + 0x58]
dec eax
mov ecx, 1
imul rcx, rcx, 0x24
mov rdx, qword [rsp + 0x68]
add rcx, qword [rdx + 0x50]
mov edx, eax
call fcn.180281e08
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180264cc8
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.180281e78
mov dword [rsp + 0x38], eax
jmp 0x180264ce6
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x68]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.180281e78
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x38], eax
jbe 0x180264d00
mov ecx, 0xd709
call fcn.1801f4790
mov dword [rsp + 0x20], eax
jmp 0x180264d1d
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
call fcn.18026a988
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180264d32
mov qword [rsp + 0x30], 0
jmp 0x180265601
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.180281e78
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jne 0x180264dd5
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x180264dd5
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180264d7e
jmp 0x180265601
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x50]
mov edx, 1
imul rdx, rdx, 0x20
mov r8, qword [rsp + 0x68]
mov r8, qword [r8 + 0x50]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov qword [rsp + 0x30], 0
jmp 0x18026538e
xor edx, edx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x34]
mov ecx, 4
div ecx
sub eax, 2
cmp dword [rsp + 0x2c], eax
jbe 0x180264e0a
mov ecx, 0xd725
call fcn.1801f4790
mov dword [rsp + 0x20], eax
jmp 0x180265601
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1802650a2
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xd8], eax
je 0x180264e46
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x38], eax
jae 0x1802650a2
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x1802650a2
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov byte [rsp + 0x24], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180264e87
jmp 0x180265601
cmp dword [rsp + 0x2c], 0
jne 0x180264f15
cmp qword [rsp + 0x48], 0
jne 0x180264ec7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x50]
mov edx, 1
imul rdx, rdx, 0x20
mov r8, qword [rsp + 0x68]
mov r8, qword [r8 + 0x50]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
jmp 0x180264f10
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180264ee5
jmp 0x180265601
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x50]
mov edx, 1
imul rdx, rdx, 0
mov r8, qword [rsp + 0x48]
mov r8, qword [r8 + 0x50]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
jmp 0x180265094
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.180281e78
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jbe 0x180264f50
mov ecx, 0xd747
call fcn.1801f4790
mov dword [rsp + 0x20], eax
jmp 0x180265601
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xc0]
call fcn.18026a988
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180264f79
jmp 0x180265601
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180264fa1
mov rcx, qword [rsp + 0x70]
call fcn.18026a844
jmp 0x180265601
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x50]
mov edx, 1
imul rdx, rdx, 0
mov r8, qword [rsp + 0x70]
mov r8, qword [r8 + 0x50]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, dword [rsp + 0x2c]
dec eax
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x50]
mov edx, eax
call fcn.180281e08
mov eax, dword [rsp + 0x2c]
lea eax, [rax*4 - 4]
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
add rcx, qword [rdx + 0x50]
mov edx, 1
imul rdx, rdx, 8
mov r8, qword [rsp + 0x70]
add rdx, qword [r8 + 0x50]
mov rdi, rdx
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x70]
call fcn.18026a844
cmp qword [rsp + 0x48], 0
jne 0x180265058
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x68]
add rax, qword [rcx + 0x50]
mov edx, dword [rsp + 0x54]
mov rcx, rax
call fcn.180281e08
jmp 0x180265094
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180265076
jmp 0x180265601
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x50]
mov edx, dword [rsp + 0x54]
mov rcx, rax
call fcn.180281e08
mov qword [rsp + 0x30], 0
jmp 0x18026538e
cmp dword [rsp + 0x2c], 0
jbe 0x18026538e
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0xd8], 0
jbe 0x1802651e3
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x18026513e
mov dword [rsp + 0x28], 0
jmp 0x1802650f2
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jae 0x180265139
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180281e78
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x44], eax
ja 0x180265137
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x40], eax
jmp 0x180265139
jmp 0x1802650e8
jmp 0x1802651e1
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180281e78
sub eax, dword [rsp + 0xd8]
mov ecx, eax
call fcn.180281974
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x28], 1
jmp 0x180265183
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jae 0x1802651e1
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180281e78
sub eax, dword [rsp + 0xd8]
mov ecx, eax
call fcn.180281974
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x78], eax
jge 0x1802651df
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x88], eax
jmp 0x180265179
jmp 0x1802651eb
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180281e78
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x44], eax
jbe 0x18026522c
mov ecx, 0xd788
call fcn.1801f4790
mov dword [rsp + 0x20], eax
jmp 0x180265601
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x180265264
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x44], eax
je 0x180265264
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x44], eax
jae 0x18026538e
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x18026538e
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x44]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180265290
jmp 0x180265601
mov eax, dword [rsp + 0x2c]
dec eax
cmp dword [rsp + 0x40], eax
jae 0x1802652c6
mov eax, dword [rsp + 0x2c]
lea eax, [rax*4 + 4]
mov eax, eax
mov ecx, dword [rsp + 0x40]
lea ecx, [rcx*4 + 8]
mov ecx, ecx
mov rdx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x60]
mov eax, dword [rdi + rax]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x2c]
dec eax
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
mov edx, eax
call fcn.180281e08
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.18026cd4c
test eax, eax
jne 0x18026530f
mov dword [rsp + 0x84], 1
jmp 0x18026531a
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x8c], eax
mov r9d, dword [rsp + 0x8c]
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.18026a988
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x180265389
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180265389
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.18026a844
mov byte [rsp + 0x24], 0
mov rcx, qword [rsp + 0x48]
call fcn.18026a844
mov qword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x180264c96
jmp 0x180265601
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x23]
test eax, eax
jne 0x1802653cd
mov dword [rsp + 0x7c], 1
jmp 0x1802653d5
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180265409
mov eax, dword [rsp + 0x20]
jmp 0x180265674
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x3c], eax
xor edx, edx
mov eax, dword [0x18039cc3c]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x30]
inc eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x3c], eax
jne 0x18026545b
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x18026555b
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xc0]
call fcn.18026c834
mov rcx, qword [rsp + 0xc0]
cmp eax, dword [rcx + 0x3c]
jne 0x18026555b
mov qword [rsp + 0x90], 0
mov r9d, dword [rsp + 0x80]
lea r8, [rsp + 0x90]
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xc0]
call fcn.18026a988
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1802654f9
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x90]
call fcn.18026a844
cmp dword [rsp + 0x20], 0
je 0x180265509
mov eax, dword [rsp + 0x20]
jmp 0x180265674
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x3c], eax
xor edx, edx
mov eax, dword [0x18039cc3c]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x30]
inc eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x3c], eax
jne 0x18026555b
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x50]
add rax, 0x1c
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rcx + 0x3c]
mov rcx, rax
call fcn.180281e08
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0x3c]
mov dword [rax], ecx
mov r9d, dword [rsp + 0x80]
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.18026a988
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1802655d2
mov eax, dword [rsp + 0x20]
jmp 0x180265674
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x68]
call fcn.180272bbc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180265601
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.18026a844
mov rcx, qword [rsp + 0x30]
call fcn.18026a844
mov rcx, qword [rsp + 0x48]
call fcn.18026a844
cmp dword [rsp + 0x20], 0
jne 0x180265661
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x68]
call fcn.180272450
cmp eax, 1
jle 0x180265651
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.18026a844
mov ecx, 0xd7ea
call fcn.1801f4790
jmp 0x180265674
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov byte [rax], 0
jmp 0x180265670
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov eax, dword [rsp + 0x20]
add rsp, 0xa8
pop rdi
pop rsi
ret