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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov rdi, rsp
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 9]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax + 0x12]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax + 0x16]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x48]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x28]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
cmp eax, dword [rsp + 0xe8]
jg 0x14021448f
mov eax, dword [rsp + 0x28]
inc eax
cdqe
mov rcx, qword [rsp + 0x40]
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]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14021448f
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
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 + 0x60]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14021417c
movsxd rax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x14021448f
mov eax, dword [rsp + 0x64]
inc eax
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x14021448f
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx*2]
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x60]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x40]
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 + 0x60]
add ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x28]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x40]
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, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x80], eax
jl 0x140214258
mov ecx, 0xf669
call fcn.140246510
jmp 0x1402147e7
cmp dword [rsp + 0x64], 0
je 0x14021432e
mov eax, dword [rsp + 0x64]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x40]
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 + 0x64]
add ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
cdqe
mov ecx, dword [rsp + 0x7c]
mov edx, dword [rsp + 0x60]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x60]
add r8d, edx
mov edx, r8d
add edx, dword [rsp + 0x78]
movsxd rdx, edx
mov r8, qword [rsp + 0x40]
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.14003a540
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
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.14003a540
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1402143b8
mov rax, qword [rsp + 0x70]
add rax, 2
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x70], rax
jae 0x14021448a
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 + 0x24], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x24], eax
jge 0x14021443e
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x70]
mov byte [rdx + rcx], al
jmp 0x140214485
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x24], eax
jge 0x140214485
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x70]
mov byte [rdx + rcx], al
jmp 0x1402143aa
jmp 0x140214707
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
sub eax, 4
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x20], 0
jmp 0x1402144b6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x20], eax
jge 0x1402146f5
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x88]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x24], eax
jl 0x14021452b
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x24], eax
jle 0x14021453a
mov ecx, 0xf68b
call fcn.140246510
jmp 0x1402147e7
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x78]
mov qword [rsp + 0xa8], rcx
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xa8]
call qword [str.0B__]
movzx eax, ax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x38], eax
jl 0x1402145aa
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x30]
jle 0x1402145b9
mov ecx, 0xf691
call fcn.140246510
jmp 0x1402147e7
mov eax, dword [rsp + 0x38]
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movzx edx, byte [rsp + 0x38]
mov byte [rcx + rax], dl
cmp qword [rsp + 0x48], 0
jne 0x1402146c0
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x38], eax
jne 0x140214608
jmp 0x1402144ac
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x48]
mov rcx, qword [rax]
call fcn.140264610
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x28]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x40]
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, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x90]
cdqe
movsxd rcx, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x90]
mov r8, qword [rsp + 0x48]
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 + 0x48]
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x2c]
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rdi, rdx
mov rdx, rdi
mov rdi, rdx
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
jmp 0x1402144ac
mov eax, dword [rsp + 0x28]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x28]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
add eax, dword [rsp + 0x38]
sub eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
movzx ecx, word [rcx + 0x14]
cmp eax, ecx
je 0x140214740
mov ecx, 0xf6a5
call fcn.140246510
jmp 0x1402147e7
mov eax, dword [rsp + 0x38]
sar eax, 8
mov ecx, dword [rsp + 0x28]
add ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 0
mov byte [rcx + rdx], al
mov eax, dword [rsp + 0x28]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 1
movzx edx, byte [rsp + 0x38]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x28]
inc eax
cdqe
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x28]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0xb0], rax
movsxd rcx, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0xb0]
rep stosb byte [rdi], al
xor eax, eax
add rsp, 0xc8
pop rdi
pop rsi
ret