Function at 0x1801366a0
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 0x180136711
jmp 0x180136d07
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180136741
cmp dword [rsp + 0x50], 1
je 0x18013691a
cmp dword [rsp + 0x50], 2
je 0x180136b9b
jmp 0x180136d07
mov edx, 2
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0xc8]
call fcn.1800574e0
test eax, eax
jne 0x180136782
mov r8d, 1
lea rdx, [rsp + 0x34]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0xc8]
call fcn.1800577c0
cmp eax, 1
je 0x180136787
jmp 0x180136d3a
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 0x1801367ef
jmp 0x180136d3a
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x3c], 9
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x34], 0
je 0x180136816
mov dword [rsp + 0x58], 0x101
jmp 0x18013681e
mov dword [rsp + 0x58], pe_nt_image_headers64
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 0x18013687a
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 0x18013688b
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.1801375c0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x1801368bc
cmp dword [rsp + 0x44], 0xff
jle 0x1801368c1
jmp 0x180136d3a
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 0x1801368f0
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 0x18013690c
jmp 0x180136d07
mov rax, qword [rsp + 0x80]
mov dword [rax], 1
mov rcx, qword [rsp + 0x80]
call fcn.1801375c0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jge 0x180136937
jmp 0x180136d3a
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x100
jne 0x180136984
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x34], 0
je 0x180136984
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 0x18013691a
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x4c], 0x100
jb 0x180136b16
mov eax, dword [rsp + 0x4c]
sub eax, 0x100
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x40]
jb 0x180136a46
mov eax, dword [rsp + 0x4c]
sub eax, 0x100
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x40]
jbe 0x1801369cf
jmp 0x180136d3a
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
mov rcx, qword [rsp + 0x80]
cmp rax, qword [rcx + 0x80]
jb 0x180136a01
mov rcx, qword [rsp + 0x80]
call fcn.180137800
test eax, eax
jge 0x180136a01
jmp 0x180136d3a
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 0x1801369cf
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x100
jb 0x180136b16
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x58], 0
jne 0x180136a68
jmp 0x180136d3a
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
mov rcx, qword [rsp + 0x80]
cmp rax, qword [rcx + 0x80]
jb 0x180136a9a
mov rcx, qword [rsp + 0x80]
call fcn.180137800
test eax, eax
jge 0x180136a9a
jmp 0x180136d3a
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 0x180136a68
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 0x180136a46
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 0x180136b50
mov rcx, qword [rsp + 0x80]
call fcn.180137800
test eax, eax
jge 0x180136b50
jmp 0x180136d3a
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 0x180136b1e
mov rax, qword [rsp + 0x80]
mov dword [rax], 2
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x78], 0
jbe 0x180136c15
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 0x180136bf7
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 0x180136c13
jmp 0x180136d07
jmp 0x180136b9b
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x38]
cmp dword [rax + 0x40], ecx
jae 0x180136cec
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x68]
cmp dword [rax + 0x40], ecx
jb 0x180136c5f
mov rcx, qword [rsp + 0x80]
call fcn.1801379a0
test eax, eax
jge 0x180136c5f
jmp 0x180136d3a
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x68]
cmp dword [rax + 0x40], ecx
jb 0x180136c8f
lea r8, str.C:UserskaDesktopinternal_skinchangercs2_sdk_1cs2cheatdependencies_freetype_2.13.0_srclzw_ftzopen.c
mov edx, 0x18e
lea rcx, str.assertion_failed_on_line__d_of_file__s_n
call fcn.18012c560
xor eax, eax
test eax, eax
jne 0x180136c5f
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 0x18013691a
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 0x180136d4a
mov rax, qword [rsp + 0x80]
mov dword [rax], 3
jmp 0x180136d07
mov rdi, rax
mov rcx, rsp
lea rdx, [0x18016a4c0]
call fcn.180138610
mov rax, rdi
add rsp, 0x70
pop rdi
ret