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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
xor eax, eax
mov word [rsp + 0x38], ax
mov dword [rsp + 0x5c], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
jmp 0x1400c31c5
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jge 0x1400c32a0
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0xffffffbf
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xe8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x1c], ecx
je 0x1400c3206
jmp 0x1400c31ad
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rax + 0x28]
and rax, rcx
test rax, rax
je 0x1400c3221
jmp 0x1400c31ad
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
btr eax, 0xb
test eax, eax
jne 0x1400c3237
jmp 0x1400c31ad
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0x80
test eax, eax
je 0x1400c324e
jmp 0x1400c31ad
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax + 0x3c]
and eax, 0x58
test eax, eax
je 0x1400c327c
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x30]
call fcn.1400c4b44
test eax, eax
jne 0x1400c327c
jmp 0x1400c31ad
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
or eax, 0x40
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
jmp 0x1400c31ad
mov dword [rsp + 0x48], 0
cmp qword [rsp + 0x70], 0
je 0x1400c34cd
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x24], 0
jmp 0x1400c32d3
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x24], eax
jge 0x1400c343e
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call fcn.1401258b4
test eax, eax
je 0x1400c330b
jmp 0x1400c32c9
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax + 0x18]
and eax, 2
test eax, eax
je 0x1400c332a
jmp 0x1400c343e
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
cmp eax, 0xa7
jne 0x1400c3353
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xe8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x2c], ecx
jne 0x1400c3353
jmp 0x1400c32c9
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
cmp eax, 0x71
jne 0x1400c3437
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
cmp eax, 0xa7
jne 0x1400c3437
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xe8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x2c], ecx
jne 0x1400c3437
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0x30]
mov word [rax + 0x30], cx
mov rax, qword [rsp + 0x80]
movsx eax, word [rax + 0x30]
test eax, eax
jge 0x1400c33d1
jmp 0x1400c32c9
mov rax, qword [rsp + 0x80]
movsx rax, word [rax + 0x30]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0xb0]
add rax, qword [rcx + 8]
mov rcx, rax
call fcn.140112318
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1400c3418
lea rax, [0x1401a460c]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.1401807d4
test eax, eax
jne 0x1400c3437
jmp 0x1400c32c9
jmp 0x1400c343e
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x24], eax
jne 0x1400c34cd
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x3c]
and eax, 0x80
test eax, eax
je 0x1400c34b2
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x40]
shr eax, 0xe
and eax, 1
test eax, eax
jne 0x1400c34b2
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x3c]
and eax, 0x200
test eax, eax
je 0x1400c349d
mov dword [rsp + 0x78], 1
jmp 0x1400c34a5
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x5c], eax
jmp 0x1400c34cd
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x3c]
and eax, 0x40
test eax, eax
je 0x1400c34cd
mov dword [rsp + 0x5c], 1
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x14
movsxd rcx, dword [rsp + 0x48]
lea rax, [rax + rcx*8 + 0x60]
movsxd rcx, dword [rsp + 0x3c]
lea rax, [rax + rcx*8 + 0x28]
mov rdx, rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.140187894
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400c3525
lea rdx, [0x1401cbc38]
mov rcx, qword [rsp + 0xa0]
call fcn.140180d34
xor eax, eax
jmp 0x1400c38f8
mov eax, 0x60
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*8 + 0x20]
mov qword [rsp + 0x40], rax
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xd8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x5c]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x14], 0
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
jmp 0x1400c362b
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jge 0x1400c3820
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0x40
test eax, eax
jne 0x1400c3652
jmp 0x1400c3613
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx + 0x20]
mov dword [rcx + rax], edx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax + 8], edx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
and eax, 0x3fff
mov word [rsp + 0x28], ax
movzx eax, word [rsp + 0x28]
cmp eax, 1
jne 0x1400c3700
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0x8000
test eax, eax
jne 0x1400c36f6
cmp dword [rsp + 0x20], 0x1f
jg 0x1400c36d8
mov eax, dword [rsp + 0x20]
mov ecx, 1
mov dword [rsp + 0x90], ecx
mov cl, al
mov eax, dword [rsp + 0x90]
shl eax, cl
mov dword [rsp + 0x7c], eax
jmp 0x1400c36e0
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x7c]
mov eax, dword [rax + 0x14]
or eax, ecx
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x14], eax
mov eax, 2
mov word [rsp + 0x28], ax
movzx eax, word [rsp + 0x28]
cmp eax, 0x40
jne 0x1400c3729
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov dl, byte [rdx + 0x17]
mov byte [rcx + rax + 4], dl
jmp 0x1400c3811
movzx eax, word [rsp + 0x28]
and eax, 0x180
test eax, eax
je 0x1400c3770
movzx eax, word [rsp + 0x28]
cmp eax, 0x100
jne 0x1400c3758
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 4], 0x47
jmp 0x1400c376b
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 4], 0x48
jmp 0x1400c3811
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov dl, byte [rsp + 0x28]
mov byte [rcx + rax + 4], dl
movzx eax, word [rsp + 0x28]
and eax, 0x3c
test eax, eax
je 0x1400c3811
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.1401293d8
test eax, eax
je 0x1400c3811
cmp dword [rsp + 0x20], 0x10
jge 0x1400c37d7
mov eax, dword [rsp + 0x20]
mov ecx, 1
mov dword [rsp + 0x94], ecx
mov cl, al
mov eax, dword [rsp + 0x94]
shl eax, cl
movzx ecx, word [rsp + 0x38]
or ecx, eax
mov eax, ecx
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x28]
cmp eax, 0x10
jne 0x1400c37f4
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 4], 8
movzx eax, word [rsp + 0x28]
cmp eax, 4
jne 0x1400c3811
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 4], 0x20
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x1400c3613
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
jmp 0x1400c3847
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x24], eax
jge 0x1400c38d7
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
xor ecx, ecx
call fcn.1401258b4
test eax, eax
je 0x1400c3885
jmp 0x1400c383d
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xa8]
movsx ecx, word [rcx + 0x30]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rax*8], ecx
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax + 0x18]
and eax, 1
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx*8 + 4], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x1400c383d
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xf0]
movzx ecx, word [rsp + 0x38]
mov word [rax], cx
mov rax, qword [rsp + 0x50]
add rsp, 0xc8
ret