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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 9]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 0x12]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x4c]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x48]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x2c]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, dword [rsp + 0xc8]
jg 0x14016247c
mov eax, dword [rsp + 0x2c]
inc eax
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x2c]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x40]
sub eax, 4
cmp dword [rsp + 0x28], eax
jle 0x14016206c
mov ecx, 0x119fb
call fcn.1400a37ac
jmp 0x14016276d
cmp dword [rsp + 0x28], 0
je 0x14016247c
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
movsxd rcx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x40]
sub eax, 4
cmp dword [rsp + 0x34], eax
jle 0x1401620d6
mov ecx, 0x119fe
call fcn.1400a37ac
jmp 0x14016276d
cmp dword [rsp + 0x34], 0
je 0x14016210c
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x14016247c
mov eax, dword [rsp + 0x34]
inc eax
cdqe
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x14016247c
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x4c]
lea eax, [rax + rcx*2]
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x28]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x28]
add ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x2c]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x2c]
add ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x48], eax
jl 0x1401621e5
mov ecx, 0x11a06
call fcn.1400a37ac
jmp 0x14016276d
cmp dword [rsp + 0x34], 0
je 0x1401622ff
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x34]
jle 0x140162211
mov ecx, 0x11a09
call fcn.1400a37ac
jmp 0x14016276d
mov eax, dword [rsp + 0x34]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x34]
add ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x40]
jle 0x14016227e
mov ecx, 0x11a0b
call fcn.1400a37ac
jmp 0x14016276d
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cdqe
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x28]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x28]
add r8d, edx
mov edx, r8d
add edx, dword [rsp + 0x44]
movsxd rdx, edx
mov r8, qword [rsp + 0x20]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x88], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.14018e690
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
jmp 0x140162320
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x40]
jle 0x140162320
mov ecx, 0x11a0f
call fcn.1400a37ac
jmp 0x14016276d
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x30]
mov r8, qword [rsp + 0x20]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x90], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x90]
mov rcx, rax
call fcn.14018e690
nop
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x1401623a2
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x58], rax
jae 0x140162477
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x58]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x38], eax
jge 0x14016242b
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rcx], al
jmp 0x140162472
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
jge 0x140162472
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rcx], al
jmp 0x140162394
jmp 0x14016269e
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x40]
sub eax, 4
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x2c]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x2c]
add ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x4c], 0
jle 0x14016268c
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x48]
mov rcx, qword [rax]
call fcn.14016e618
mov qword [rsp + 0x78], rax
movsxd rax, dword [rsp + 0x40]
mov r8, rax
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
call fcn.14018e690
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x54], 0
jmp 0x140162537
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x54], eax
jge 0x14016268c
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
lea eax, [rax + rcx*2]
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x38], eax
jle 0x1401625a8
mov ecx, 0x11a30
call fcn.1400a37ac
jmp 0x14016276d
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x78]
movzx eax, ax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x30], eax
jl 0x140162604
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x40]
jle 0x140162613
mov ecx, 0x11a36
call fcn.1400a37ac
jmp 0x14016276d
mov eax, dword [rsp + 0x30]
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x30]
mov byte [rcx + rax], dl
movsxd rax, dword [rsp + 0x60]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x80]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x30]
mov r8, qword [rsp + 0x20]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0xa0], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, rax
call fcn.14018e690
nop
jmp 0x14016252d
mov eax, dword [rsp + 0x2c]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x2c]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
add eax, dword [rsp + 0x30]
sub eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xc0]
cmp eax, dword [rcx + 0x14]
je 0x1401626d4
mov ecx, 0x11a44
call fcn.1400a37ac
jmp 0x14016276d
mov eax, dword [rsp + 0x30]
sar eax, 8
mov ecx, dword [rsp + 0x2c]
add ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 0
mov byte [rcx + rdx], al
mov eax, dword [rsp + 0x2c]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 1
mov dl, byte [rsp + 0x30]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x2c]
inc eax
cdqe
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x2c]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x64]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov r8, rax
xor edx, edx
call fcn.14018ee10
xor eax, eax
add rsp, 0xb8
ret