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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x88], 5
jle 0x140022a5f
mov dword [rsp + 0x4c], 1
cmp dword [rsp + 0x88], 0x64
jle 0x140022a26
mov eax, 0xf
jmp 0x140022de6
cmp dword [rsp + 0x88], 0xa
jl 0x140022a4e
mov eax, dword [rsp + 0x88]
sub eax, 9
mov ecx, dword [rsp + 0x88]
sub ecx, 9
imul eax, ecx
imul eax, eax, 0x27
mov dword [rsp + 0x4c], eax
mov edx, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140007894
cmp dword [rsp + 0x80], 0
jne 0x140022afc
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140022878
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jne 0x140022aec
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x30]
cmp qword [rax + rcx], 0
jne 0x140022aaa
mov dword [rsp + 0x20], 0xffffffff
jmp 0x140022aec
mov edx, 2
mov rcx, qword [rsp + 0x70]
call fcn.1400208b4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140022add
mov edx, 2
mov rcx, qword [rsp + 0x70]
call fcn.140020900
mov dword [rsp + 0x20], 0xffffffff
jmp 0x140022aec
cmp dword [rsp + 0x20], 5
jne 0x140022aec
mov dword [rsp + 0x20], 0x105
cmp dword [rsp + 0x20], 0
je 0x140022afc
mov eax, dword [rsp + 0x20]
jmp 0x140022de6
mov rcx, qword [rsp + 0x70]
call fcn.140020208
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x80], 0
jne 0x140022bc2
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
cmp eax, dword [rcx + 0x58]
jne 0x140022bc2
mov edx, 3
mov rcx, qword [rsp + 0x70]
call fcn.1400208b4
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x70]
call fcn.140020474
cmp dword [rsp + 0x20], 0
jne 0x140022bb2
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.140020230
mov r8d, 0x30
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_memcmp]
test eax, eax
je 0x140022b9e
mov edx, 3
mov rcx, qword [rsp + 0x70]
call fcn.140020900
mov eax, 0xffffffff
jmp 0x140022de6
xor eax, eax
mov rcx, qword [rsp + 0x70]
mov word [rcx + 0x3c], ax
xor eax, eax
jmp 0x140022de6
cmp dword [rsp + 0x20], 5
je 0x140022bc2
mov eax, dword [rsp + 0x20]
jmp 0x140022de6
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x24], 1
jmp 0x140022bf2
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jge 0x140022c31
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x2c], eax
ja 0x140022c2f
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
ja 0x140022c2f
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
jmp 0x140022be8
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x42]
and eax, 2
test eax, eax
jne 0x140022ced
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jb 0x140022c5a
cmp dword [rsp + 0x28], 0
jne 0x140022ced
mov dword [rsp + 0x24], 1
jmp 0x140022c6e
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jge 0x140022ced
mov eax, dword [rsp + 0x24]
add eax, 3
mov r8d, 1
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.140020940
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140022cd8
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x30]
mov dword [rcx + rax*4 + 4], edx
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
add eax, 3
mov r8d, 1
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.140020990
jmp 0x140022ced
cmp dword [rsp + 0x20], 5
je 0x140022ce8
mov eax, dword [rsp + 0x20]
jmp 0x140022de6
jmp 0x140022c64
cmp dword [rsp + 0x28], 0
jne 0x140022d16
cmp dword [rsp + 0x20], 5
jne 0x140022d05
mov dword [rsp + 0x48], 0xffffffff
jmp 0x140022d0d
mov dword [rsp + 0x48], 0x208
mov eax, dword [rsp + 0x48]
jmp 0x140022de6
mov eax, dword [rsp + 0x28]
add eax, 3
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.1400208b4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140022d56
cmp dword [rsp + 0x20], 5
jne 0x140022d45
mov dword [rsp + 0x38], 0xffffffff
jmp 0x140022d4d
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
jmp 0x140022de6
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x78], eax
mov rcx, qword [rsp + 0x70]
call fcn.140020474
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
cmp eax, dword [rsp + 0x2c]
jne 0x140022db8
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x70]
call fcn.140020230
mov r8d, 0x30
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_memcmp]
test eax, eax
je 0x140022dd4
mov eax, dword [rsp + 0x28]
add eax, 3
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.140020900
mov eax, 0xffffffff
jmp 0x140022de6
mov rax, qword [rsp + 0x70]
movzx ecx, word [rsp + 0x28]
mov word [rax + 0x3c], cx
mov eax, dword [rsp + 0x20]
add rsp, 0x68
ret