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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x108
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0x20
test eax, eax
je 0x14003c359
mov r8, qword [rsp + 0x120]
mov rax, qword [rsp + 0x120]
mov edx, dword [rax + 0x50]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.14002c660
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14003c330
mov eax, dword [rsp + 0xc0]
jmp 0x14003cbd2
cmp dword [rsp + 0xc4], 0
je 0x14003c359
mov rax, qword [rsp + 0x120]
movsx eax, byte [rax + 0x54]
test eax, eax
jge 0x14003c359
mov ecx, 0x13b83
call fcn.1400ef4a0
jmp 0x14003cbd2
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax]
cmp eax, 3
jl 0x14003c39d
mov rcx, qword [rsp + 0x120]
call fcn.140034740
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14003c39d
cmp dword [rsp + 0xc0], 0x10
je 0x14003c39d
mov eax, dword [rsp + 0xc0]
jmp 0x14003cbd2
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x80], 0
jne 0x14003c4d2
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x13]
test eax, eax
je 0x14003c3e4
xor r9d, r9d
mov rax, qword [rsp + 0x128]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x120]
mov edx, dword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.14002c2b0
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
je 0x14003c460
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x30]
cmp qword [rax + 8], rcx
jne 0x14003c460
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x46]
test eax, eax
je 0x14003c45e
mov rax, qword [rsp + 0x128]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x128]
add eax, dword [rcx + 0x28]
mov rcx, qword [rsp + 0x120]
cmp dword [rcx + 0x40], eax
jne 0x14003c45e
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
call fcn.14003c1b0
jmp 0x14003cbd2
jmp 0x14003c4cd
cmp dword [rsp + 0xc4], 0
jne 0x14003c4cd
mov eax, dword [rsp + 0x130]
and eax, 8
test eax, eax
je 0x14003c482
mov dword [rsp + 0x58], 1
jmp 0x14003c48a
mov dword [rsp + 0x58], 0
lea r9, [rsp + 0xc4]
mov r8d, dword [rsp + 0x58]
mov rax, qword [rsp + 0x128]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x120]
call fcn.140034ca0
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14003c4cd
mov eax, dword [rsp + 0xc0]
jmp 0x14003cbd2
jmp 0x14003c65c
cmp dword [rsp + 0xc4], 0
jne 0x14003c5e1
mov eax, dword [rsp + 0x130]
and eax, 2
test eax, eax
jne 0x14003c5e1
mov rax, qword [rsp + 0x128]
movzx eax, word [rax + 0x20]
test eax, eax
je 0x14003c56e
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x128]
movzx eax, word [rax + 0x20]
mov word [rsp + 0x84], ax
mov byte [rsp + 0x86], 0
mov byte [rsp + 0x8a], 0
lea r8, [rsp + 0xc4]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x120]
call fcn.1400352b0
mov dword [rsp + 0xc0], eax
jmp 0x14003c5cb
mov eax, dword [rsp + 0x130]
and eax, 8
test eax, eax
je 0x14003c586
mov dword [rsp + 0x5c], 1
jmp 0x14003c58e
mov dword [rsp + 0x5c], 0
lea rax, [rsp + 0xc4]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x5c]
mov rax, qword [rsp + 0x128]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x128]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x120]
call fcn.14002c7d0
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14003c5e1
mov eax, dword [rsp + 0xc0]
jmp 0x14003cbd2
cmp dword [rsp + 0xc4], 0
jne 0x14003c65c
mov rcx, qword [rsp + 0x120]
call fcn.140033810
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx + 8]
cmp qword [rax + 0x30], rcx
jne 0x14003c65c
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x128]
mov eax, dword [rax + 8]
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0xb8], 0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x120]
call fcn.14003c1b0
jmp 0x14003cbd2
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
jge 0x14003c6c5
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax]
cmp eax, 1
jle 0x14003c69e
mov ecx, 0x13c01
call fcn.1400ef4a0
mov dword [rsp + 0xc0], eax
jmp 0x14003c6af
mov rcx, qword [rsp + 0x30]
call fcn.14002f280
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14003c6c5
mov eax, dword [rsp + 0xc0]
jmp 0x14003cbd2
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x130]
and eax, 0x80
test eax, eax
je 0x14003c7df
mov dword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 4
jge 0x14003c72d
mov dword [rsp + 0x64], 4
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14003c7dd
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0xe]
cmp dword [rsp + 0x64], eax
jle 0x14003c7dd
lea r8, [rsp + 0xe0]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x80]
movzx eax, word [rsp + 0xf4]
cmp dword [rsp + 0xf0], eax
je 0x14003c7dd
mov eax, dword [rsp + 0x64]
sub eax, 4
cdqe
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140011d60
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 4]
mov r8b, 3
mov edx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.14002cb40
cmp dword [rsp + 0xc0], 0
je 0x14003c7dd
jmp 0x14003cbcb
jmp 0x14003c811
lea r9, [rsp + 0x64]
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.140037270
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14003c811
jmp 0x14003cbcb
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x56]
mov dword [rsp + 0x3c], eax
xor eax, eax
mov rcx, qword [rsp + 0x120]
mov word [rcx + 0x46], ax
cmp dword [rsp + 0xc4], 0
jne 0x14003ca30
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jl 0x14003c85b
mov ecx, 0x13c2d
call fcn.1400ef4a0
jmp 0x14003cbd2
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.140024910
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14003c87f
jmp 0x14003cbcb
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1a]
mov ecx, dword [rsp + 0x3c]
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x14003c8d2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx]
mov dword [rax], ecx
lea r8, [rsp + 0xc8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x80]
movzx eax, word [rsp + 0xdc]
cmp eax, dword [rsp + 0xd8]
je 0x14003c920
lea r8, [rsp + 0xc8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.140037080
mov dword [rsp + 0xc0], eax
jmp 0x14003c92b
mov dword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0xfffffffb
mov rcx, qword [rsp + 0x120]
mov byte [rcx + 1], al
movzx eax, word [rsp + 0xde]
cmp eax, dword [rsp + 0x64]
jne 0x14003c9fe
movzx eax, word [rsp + 0xdc]
cmp eax, dword [rsp + 0xd8]
jne 0x14003c9fe
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14003c98c
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x10]
cmp dword [rsp + 0x64], eax
jge 0x14003c9fe
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 9]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x50]
lea rax, [rcx + rax + 0xa]
cmp qword [rsp + 0x50], rax
jae 0x14003c9b9
mov ecx, 0x13c48
call fcn.1400ef4a0
jmp 0x14003cbd2
movsxd rax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
cmp rax, qword [rcx + 0x58]
jbe 0x14003c9e3
mov ecx, 0x13c4b
call fcn.1400ef4a0
jmp 0x14003cbd2
movsxd rax, dword [rsp + 0x64]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
xor eax, eax
jmp 0x14003cbd2
movzx eax, word [rsp + 0xde]
lea r9, [rsp + 0xc0]
mov r8d, eax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.140037860
cmp dword [rsp + 0xc0], 0
je 0x14003ca2e
jmp 0x14003cbcb
jmp 0x14003ca8f
cmp dword [rsp + 0xc4], 0
jge 0x14003ca8f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
test eax, eax
jle 0x14003ca8f
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x56]
inc ax
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x120]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x56], cx
movzx eax, word [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0xfffffff9
mov rcx, qword [rsp + 0x120]
mov byte [rcx + 1], al
mov r9d, dword [rsp + 0x64]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.140037de0
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x14003cbcb
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0xfffffff9
mov rcx, qword [rsp + 0x120]
mov byte [rcx + 1], al
mov rcx, qword [rsp + 0x120]
call fcn.14003ba70
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x88]
mov byte [rax + 0xc], 0
mov rax, qword [rsp + 0x120]
mov byte [rax], 1
mov eax, dword [rsp + 0x130]
and eax, 2
test eax, eax
je 0x14003cbcb
cmp dword [rsp + 0xc0], 0
jne 0x14003cbcb
mov rcx, qword [rsp + 0x120]
call fcn.14002c460
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14003cba8
mov rax, qword [rsp + 0x128]
mov rcx, qword [rax + 8]
call fcn.140007560
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x18], 0
jne 0x14003cb83
mov dword [rsp + 0xc0], 7
jmp 0x14003cba8
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x128]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rcx]
mov rcx, qword [rdx + 8]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x120]
mov byte [rax], 3
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx + 8]
mov qword [rax + 0x48], rcx
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140124a90
add rsp, 0x108
pop rdi
pop rsi
ret