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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 9]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x12]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x68]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x48]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x34]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, dword [rsp + 0xd8]
jg 0x1401c59ff
mov eax, dword [rsp + 0x34]
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 + 0x34]
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 0x1401c55f0
mov ecx, 0xffde
call fcn.140268400
jmp 0x1401c5d31
cmp dword [rsp + 0x28], 0
je 0x1401c59ff
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 + 0x38], eax
mov eax, dword [rsp + 0x40]
sub eax, 4
cmp dword [rsp + 0x38], eax
jle 0x1401c565a
mov ecx, 0xffe1
call fcn.140268400
jmp 0x1401c5d31
cmp dword [rsp + 0x38], 0
je 0x1401c5690
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x1401c59ff
mov eax, dword [rsp + 0x38]
inc eax
cdqe
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x1401c59ff
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x68]
lea eax, [rax + rcx*2]
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], 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 + 0x34]
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 + 0x34]
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 + 0x4c], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x4c], eax
jl 0x1401c5769
mov ecx, 0xffe9
call fcn.140268400
jmp 0x1401c5d31
cmp dword [rsp + 0x38], 0
je 0x1401c5883
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x38]
jle 0x1401c5795
mov ecx, 0xffec
call fcn.140268400
jmp 0x1401c5d31
mov eax, dword [rsp + 0x38]
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 + 0x38]
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 + 0x38]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x40]
jle 0x1401c5802
mov ecx, 0xffee
call fcn.140268400
jmp 0x1401c5d31
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x38]
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 + 0x90], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x90]
mov rcx, rax
call fcn.1402cd850
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
jmp 0x1401c58a4
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x40]
jle 0x1401c58a4
mov ecx, 0xfff3
call fcn.140268400
jmp 0x1401c5d31
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x2c]
mov r8, qword [rsp + 0x20]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x98], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x98]
mov rcx, rax
call fcn.1402cd850
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x1401c5925
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x60], rax
jae 0x1401c59fa
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jge 0x1401c59ae
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx], al
jmp 0x1401c59f5
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x30], eax
jge 0x1401c59f5
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx], al
jmp 0x1401c5917
jmp 0x1401c5c54
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x40]
sub eax, 4
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x54], 0
jmp 0x1401c5a29
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x54], eax
jge 0x1401c5c42
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 + 0x70], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x70]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jl 0x1401c5a98
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x30], eax
jle 0x1401c5aa7
mov ecx, 0x1000f
call fcn.140268400
jmp 0x1401c5d31
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xd0]
call qword [rax + 0x78]
movzx eax, ax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x2c], eax
jl 0x1401c5b03
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x40]
jle 0x1401c5b12
mov ecx, 0x10015
call fcn.140268400
jmp 0x1401c5d31
mov eax, dword [rsp + 0x2c]
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
movzx edx, byte [rsp + 0x2c]
mov byte [rcx + rax], dl
cmp qword [rsp + 0x78], 0
jne 0x1401c5c0a
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jne 0x1401c5b5b
jmp 0x1401c5a1f
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x48]
mov rcx, qword [rax]
call fcn.1401ba590
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x34]
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 + 0x34]
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 + 0x6c], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x6c]
cdqe
movsxd rcx, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x6c]
mov r8, qword [rsp + 0x78]
add r8, rdx
mov rdx, r8
mov rdi, rdx
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x88]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x2c]
mov rdi, qword [rsp + 0x20]
add rdi, rdx
mov rdx, rdi
mov rdi, rdx
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
jmp 0x1401c5a1f
mov eax, dword [rsp + 0x34]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x34]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
add eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xd0]
cmp eax, dword [rcx + 0x14]
je 0x1401c5c8a
mov ecx, 0x1002a
call fcn.140268400
jmp 0x1401c5d31
mov eax, dword [rsp + 0x2c]
sar eax, 8
mov ecx, dword [rsp + 0x34]
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 + 0x34]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 1
movzx edx, byte [rsp + 0x2c]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x34]
inc eax
cdqe
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x34]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0xa8], rax
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0xa8]
rep stosb byte [rdi], al
xor eax, eax
add rsp, 0xb8
pop rdi
pop rsi
ret