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

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x298
mov rax, qword [0x1400bc040]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x2b0]
add rax, 0x20
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0xb0]
call fcn.140029bb0
mov qword [rsp + 0xb8], rax
mov r8d, 1
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0xb8]
call fcn.1400341d0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x210]
call fcn.140034ef0
nop
lea rax, [rsp + 0x210]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov ecx, 1
mov dword [rsp + 0x40], ecx
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x14003c695
mov dword [rsp + 0x30], 1
jmp 0x14003c69d
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
movzx eax, al
test eax, eax
jne 0x14003c6f3
mov byte [rsp + 0x22], 0
mov qword [rsp + 0xd8], 0
mov rax, qword [rsp + 0x2b8]
movzx ecx, byte [rsp + 0x22]
mov byte [rax], cl
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0xd8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x2b8]
jmp 0x14003ce66
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax]
mov qword [rsp + 0x200], rax
xor edx, edx
lea rcx, [rsp + 0x270]
call fcn.140027220
nop
movzx eax, byte [rsp + 0x2c8]
test eax, eax
jne 0x14003c797
mov rax, qword [rsp + 0x2b0]
add rax, 0x70
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
lea r9, [rsp + 0x270]
mov r8b, 5
mov edx, eax
mov rcx, qword [rsp + 0xe8]
call fcn.140034590
movzx eax, al
test eax, eax
jne 0x14003c797
mov byte [rsp + 0x20], 0
jmp 0x14003c79c
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x14003c823
mov byte [rsp + 0x24], 0
mov qword [rsp + 0xf0], 0
mov rax, qword [rsp + 0x2b8]
movzx ecx, byte [rsp + 0x24]
mov byte [rax], cl
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0xf0]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x270]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x60]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0xf8]
call fcn.1400209c0
nop
mov rax, qword [rsp + 0x2b8]
jmp 0x14003ce66
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
cmp qword [rax], rcx
jne 0x14003c851
mov dword [rsp + 0x34], 1
jmp 0x14003c859
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
movzx eax, al
test eax, eax
je 0x14003c984
lea rax, [rsp + 0x240]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x270]
mov rdi, qword [rsp + 0x70]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x270], 0
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rax]
call fcn.140027120
nop
mov byte [rsp + 0x26], 1
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x2b8]
movzx ecx, byte [rsp + 0x26]
mov byte [rax], cl
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x120]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x270]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x78]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x128]
call fcn.1400209c0
nop
mov rax, qword [rsp + 0x2b8]
jmp 0x14003ce66
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x130], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
cmp qword [rax], 0
jne 0x14003ca41
mov byte [rsp + 0x27], 0
mov qword [rsp + 0x140], 0
mov rax, qword [rsp + 0x2b8]
movzx ecx, byte [rsp + 0x27]
mov byte [rax], cl
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x140]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x270]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x80]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x148]
call fcn.1400209c0
nop
mov rax, qword [rsp + 0x2b8]
jmp 0x14003ce66
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x150], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x150]
add rax, qword [rcx + 8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
cmp byte [rax], 2
jne 0x14003ca9c
mov dword [rsp + 0x38], 1
jmp 0x14003caa4
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
movzx eax, al
test eax, eax
je 0x14003cc19
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x168], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x168]
add rax, qword [rcx + 8]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x178], rax
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x178]
call fcn.140024790
mov qword [rsp + 0x208], rax
mov byte [rsp + 0x29], 1
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x180], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x180]
add rax, qword [rcx + 8]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov eax, 0x10
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x198]
add rax, qword [rcx + 8]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x2b8]
movzx ecx, byte [rsp + 0x29]
mov byte [rax], cl
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x1a8]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x270]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rax, 8
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x88]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400209c0
nop
mov rax, qword [rsp + 0x2b8]
jmp 0x14003ce66
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
mov qword [rsp + 0x1b8], rax
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x1b8]
call fcn.140034040
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 8]
mov ecx, 1
mov dword [rsp + 0x48], ecx
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x1c0]
mov ecx, dword [rcx]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x14003cc9f
mov dword [rsp + 0x3c], 1
jmp 0x14003cca7
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2a]
mov byte [rsp + 0x2b], al
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
mov rcx, rax
call fcn.140033f80
nop
movzx eax, byte [rsp + 0x2b]
test eax, eax
jne 0x14003cd55
mov byte [rsp + 0x2c], 0
mov qword [rsp + 0x1c8], 0
mov rax, qword [rsp + 0x2b8]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax], cl
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x1c8]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x270]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x98]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400209c0
nop
mov rax, qword [rsp + 0x2b8]
jmp 0x14003ce66
lea rax, [rsp + 0x260]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x270]
mov rdi, qword [rsp + 0xa0]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x270], 0
lea rax, [rsp + 0x1d8]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x1f0], rax
mov rdx, qword [rsp + 0x1f0]
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rax + 0x60]
call fcn.140027120
nop
mov byte [rsp + 0x2d], 1
mov rax, qword [rsp + 0x2b8]
movzx ecx, byte [rsp + 0x2d]
mov byte [rax], cl
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2b0]
mov rcx, qword [rcx + 0x60]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x270]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
add rax, 8
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0xa8]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x1f8]
call fcn.1400209c0
nop
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140099510
add rsp, 0x298
pop rdi
pop rsi
ret