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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x42]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x14025428c
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1402547f4
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0xe0]
lea rax, [rcx + rax + 0x398]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x35]
cmp eax, 0xaa
je 0x140254535
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x47]
cmp eax, 2
jne 0x140254480
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x42]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x140254480
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
and eax, 0x200
test eax, eax
je 0x140254480
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x64]
shr eax, 7
and eax, 1
test eax, eax
je 0x140254480
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x1e]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jle 0x140254480
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
cmp eax, 0x24
jl 0x140254480
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x50], 0
jmp 0x1402543a6
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x50], eax
jge 0x1402543e2
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x5a
mov rcx, qword [rsp + 0x38]
call fcn.1401da330
jmp 0x14025439c
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x38]
mov ecx, dword [rsp + 0x54]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x35]
cmp eax, 4
jne 0x140254415
mov dword [rsp + 0x80], 0x16
jmp 0x140254420
mov dword [rsp + 0x80], 0x19
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x38]
call fcn.1401da9e0
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 0x3c]
mov r8d, 1
mov edx, 0xb
mov rcx, qword [rsp + 0x38]
call fcn.1401da490
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.1401dab90
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x36]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x35]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 0x3c]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x38]
mov edx, ecx
mov rcx, qword [rsp + 0x38]
call fcn.1401da330
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x37]
movzx edx, ax
mov rcx, qword [rsp + 0x38]
call fcn.1401db1a0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x24], 0
je 0x14025451e
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
call fcn.1401dab90
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x3c]
dec eax
mov r9d, eax
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x24]
mov edx, 0x31
mov rcx, qword [rsp + 0x38]
call fcn.1401da490
cmp dword [rsp + 0x70], 0
je 0x140254533
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.1401db1f0
jmp 0x140254547
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.1401dab90
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
and eax, 0x800
test eax, eax
je 0x14025467a
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x40], 0
jle 0x14025467a
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
call fcn.1401dab90
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
dec eax
cdqe
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x48]
mov qword [rsp + 0x58], rax
jmp 0x1402545bd
mov eax, dword [rsp + 0x60]
dec eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x58]
sub rax, 0x14
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x60], 0
jle 0x14025467a
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401db1f0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x10]
cmp eax, 0xaa
je 0x14025465f
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0xc], 0
je 0x140254639
mov rcx, qword [rsp + 0x38]
call fcn.1401daed0
add eax, 2
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 0xc]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 8]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x1a
mov rcx, qword [rsp + 0x38]
call fcn.1401da9e0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x10]
mov rcx, qword [rsp + 0x58]
mov r9d, dword [rcx + 4]
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rcx]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401da490
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401db1f0
jmp 0x1402545a5
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
call fcn.1401dab90
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
je 0x1402546d2
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.1401da4d0
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.1401db1f0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401db1f0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x30], 0
je 0x140254702
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x2c]
shr eax, 1
mov rcx, qword [rsp + 0x30]
mov r9d, dword [rcx + 0x30]
mov r8d, eax
mov edx, 0x31
mov rcx, qword [rsp + 0x38]
call fcn.1401da490
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x1402547ef
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax]
mov edx, 0x2f
mov rcx, qword [rsp + 0x38]
call fcn.1401da450
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x74]
and eax, 0x40
test eax, eax
jne 0x14025475d
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 4]
mov edx, 0x81
mov rcx, qword [rsp + 0x38]
call fcn.1401da450
mov eax, dword [rsp + 0x74]
and eax, 0x200
test eax, eax
jne 0x140254783
mov eax, dword [rsp + 0x74]
and eax, 0x2000
test eax, eax
je 0x14025479b
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x40], 0
je 0x14025479b
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x81
mov rcx, qword [rsp + 0x38]
call fcn.1401da450
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x35]
cmp eax, 0x42
jne 0x1402547cc
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 0x1c]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x38]
mov edx, 0xc
mov rcx, qword [rsp + 0x38]
call fcn.1401da490
jmp 0x1402547de
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
call fcn.1401da4d0
mov edx, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x38]
call fcn.1401db1f0
jmp 0x140254282
mov rax, qword [rsp + 0xe0]
mov edx, dword [rax + 0x38]
mov rcx, qword [rsp + 0x38]
call fcn.1401dab90
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0xe0]
add rax, 0x398
mov qword [rsp + 0x30], rax
jmp 0x14025483e
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
add rax, 0x60
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x42]
cmp dword [rsp + 0x40], eax
jge 0x140254ad8
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x34]
imul rax, rax, 0x70
mov rcx, qword [rsp + 0xc0]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x40]
shr eax, 4
and eax, 1
test eax, eax
je 0x1402548ed
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0xa0]
mov r9d, dword [rax + 0x38]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 4]
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0x78]
call fcn.14024bd70
jmp 0x140254826
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
and eax, 0x240
test eax, eax
je 0x140254911
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x88], rax
jmp 0x140254933
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
and eax, 0x2000
test eax, eax
je 0x140254933
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x140254ad3
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x45]
test eax, eax
je 0x14025496c
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x40]
and eax, 0x20
test eax, eax
je 0x140254ad3
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x61]
test eax, eax
jne 0x140254ad3
mov rcx, qword [rsp + 0x38]
call fcn.1401daed0
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x64], eax
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x38]
call fcn.1401db8b0
mov qword [rsp + 0x48], rax
jmp 0x1402549ca
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x64], eax
jge 0x140254ad3
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 4]
cmp dword [rax + 4], ecx
je 0x1402549ef
jmp 0x1402549b2
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x5a
jne 0x140254a88
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x40]
and eax, 0x20
test eax, eax
je 0x140254a4c
mov rcx, qword [rsp + 0xb0]
call fcn.14020cfa0
mov qword [rsp + 0xc8], rax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x44], eax
movzx edx, word [rsp + 0x44]
mov rcx, qword [rsp + 0x88]
call fcn.14020cff0
cwde
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140254a86
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
jmp 0x140254ace
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x80
jne 0x140254ab1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x48]
mov byte [rax], 0x87
jmp 0x140254ace
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x15
jne 0x140254ace
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
jmp 0x1402549b2
jmp 0x140254826
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xe0]
mov ecx, dword [rcx + 0x3c]
mov dword [rax + 0xbc], ecx
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xb8]
call fcn.14024d5d0
add rsp, 0xd8
ret