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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x30]
mov dword [rsp], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 2]
mov ecx, 1
mov dword [rsp + 0x68], ecx
movzx ecx, al
mov eax, dword [rsp + 0x68]
shl eax, cl
dec eax
mov rcx, qword [rsp + 0xa0]
mov ecx, dword [rcx + 0x38]
and ecx, eax
mov eax, ecx
shl eax, 4
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4 - 0x400]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x1400130ea
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x14001342b
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov rax, qword [rsp + 0x38]
add rax, 0x500
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x3c], 0
jne 0x14001313e
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x38], 0
je 0x140013201
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x10], 0
jne 0x140013160
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x140013171
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 1]
mov ecx, 1
mov dword [rsp + 0x6c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x6c]
shl eax, cl
dec eax
mov rcx, qword [rsp + 0xa0]
mov ecx, dword [rcx + 0x38]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xa0]
movzx ecx, byte [rcx]
shl eax, cl
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 8]
mov rdx, qword [rsp + 0x78]
movzx ecx, byte [rcx + rdx - 1]
mov dword [rsp + 0x70], ecx
mov rdx, qword [rsp + 0xa0]
movzx edx, byte [rdx]
mov r8d, 8
sub r8d, edx
mov edx, r8d
movzx ecx, dl
mov edx, dword [rsp + 0x70]
sar edx, cl
mov ecx, edx
add eax, ecx
imul eax, eax, 0x300
mov eax, eax
mov rcx, qword [rsp + 0x18]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x18], rax
cmp dword [rsp + 0x20], 7
jae 0x1400132a7
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140013234
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x140013266
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x140013294
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x100
jb 0x140013214
jmp 0x140013426
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax + 0x40]
mov rcx, qword [rsp + 0xa0]
cmp qword [rcx + 0x10], rax
jae 0x1400132e0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x80], rax
jmp 0x1400132ec
mov qword [rsp + 0x80], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax + 0x40]
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x10]
sub rcx, rax
mov rax, rcx
add rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 8]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x34], 0x100
mov dword [rsp + 0x2c], 1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x2c]
mov eax, eax
mov rcx, qword [rsp + 0x18]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x1400133a8
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x1400133ea
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x34]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x140013418
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x2c]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x100
jb 0x14001333f
jmp 0x140013b11
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4 + 0x40]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140013477
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x1400134b4
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x38]
sub rax, 0xc00
mov qword [rsp + 0x18], rax
jmp 0x1400136d6
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4 + 0x70]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140013500
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x1400135bb
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4 - 0x1800]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x14001355f
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x140013598
mov eax, dword [rsp + 4]
mov dword [rsp], eax
cmp dword [rsp], 0x1000000
jae 0x14001358f
xor al, al
jmp 0x140013b20
mov al, 1
jmp 0x140013b20
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400136be
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4 + 0xa0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x14001360a
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x14001362f
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x1400136be
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4 + 0xd0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x14001367e
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x1400136a0
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x1400136be
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov dword [rsp + 0x20], 0xc
mov rax, qword [rsp + 0x38]
sub rax, 0x1400
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x1400136fb
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x140013742
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x4c], 8
jmp 0x14001380c
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x18]
add rax, 0x20
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140013789
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x1400137ce
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
lea rax, [rcx + rax*4 + 0x20]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 8
mov dword [rsp + 0x4c], 8
jmp 0x14001380c
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x18]
add rax, 0x400
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0x10
mov dword [rsp + 0x4c], 0x100
mov dword [rsp + 0x10], 1
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140013834
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x140013866
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 0x10]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
jmp 0x140013894
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 0x10]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x10], eax
jb 0x140013814
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x10]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x10]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
cmp dword [rsp + 0x20], 4
jae 0x140013b11
cmp dword [rsp + 0x10], 3
jae 0x1400138de
mov eax, dword [rsp + 0x10]
mov dword [rsp + 0x64], eax
jmp 0x1400138e6
mov dword [rsp + 0x64], 3
mov eax, dword [rsp + 0x64]
shl eax, 6
mov eax, eax
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4 + 0x100]
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x14], 1
mov eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140013929
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x14001395b
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov eax, dword [rsp + 0x14]
mov ecx, dword [rsp + 0x14]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x14], eax
jmp 0x140013989
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x14]
mov ecx, dword [rsp + 0x14]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 0x40
jb 0x140013909
mov eax, dword [rsp + 0x14]
sub eax, 0x40
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 4
jb 0x140013b11
mov eax, dword [rsp + 0x14]
shr eax, 1
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x14], 0xe
jae 0x1400139e3
mov eax, dword [rsp + 0x14]
and eax, 1
or eax, 2
mov ecx, dword [rsp + 0x24]
shl eax, cl
mov eax, eax
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4 - 0x1a00]
mov qword [rsp + 0x18], rax
jmp 0x140013a4c
mov eax, dword [rsp + 0x24]
sub eax, 4
mov dword [rsp + 0x24], eax
cmp dword [rsp], 0x1000000
jae 0x1400139fe
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 1
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
shr eax, 0x1f
dec eax
mov ecx, dword [rsp]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400139ee
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x24], 4
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140013a7c
xor al, al
jmp 0x140013b20
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 8], eax
jae 0x140013abe
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x140013afc
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140013a5c
cmp dword [rsp], 0x1000000
jae 0x140013b1e
xor al, al
jmp 0x140013b20
mov al, 1
add rsp, 0x98
ret