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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x368
mov rax, qword [0x1401a1608]
xor rax, rsp
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x380]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x380]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x58]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x380]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x68
lea rax, [rax + rcx + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
je 0x140150d9a
xor eax, eax
jmp 0x140151218
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x48], rax
jmp 0x140150db8
mov rax, qword [rsp + 0x48]
add rax, 0x38
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x48], rax
jae 0x140151214
cmp dword [rsp + 0x24], 0
jne 0x140151214
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
and eax, 0x200
test eax, eax
je 0x14015120f
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x1e8]
and rax, rcx
test rax, rax
je 0x14015120f
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x68]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x50], 1
lea rax, [rsp + 0x98]
mov rdi, rax
mov rsi, qword [rsp + 0x380]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2e8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
jmp 0x140150e8d
mov rax, qword [rsp + 0x40]
add rax, 0x38
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x40], rax
jae 0x14015111a
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
and eax, 0x400
test eax, eax
je 0x140150ec5
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xa0], rax
jmp 0x140150f32
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
cmp dword [rax + 0x1c], ecx
jne 0x140150f2d
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc8], rax
mov byte [rsp + 0xd0], 0x2c
mov dword [rsp + 0xd4], 1
mov dword [rsp + 0xdc], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa0], rax
jmp 0x140150f32
jmp 0x140150e7f
xor eax, eax
mov word [rsp + 0x2e8], ax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3f]
cmp eax, 1
jne 0x140150f71
mov r8, qword [rsp + 0x390]
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0x98]
call fcn.140150750
mov dword [rsp + 0x24], eax
jmp 0x140150f8a
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0x98]
call fcn.14014f520
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140150fb2
mov r8, qword [rsp + 0x390]
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0x98]
call fcn.140150cc0
mov dword [rsp + 0x24], eax
movzx eax, word [rsp + 0x2e8]
test eax, eax
jne 0x140150fd2
xor eax, eax
mov word [rsp + 0x2b0], ax
jmp 0x14015111a
cmp dword [rsp + 0x50], 0
je 0x140150ffb
lea rdx, [rsp + 0x2e8]
lea rcx, [rsp + 0x2b0]
call fcn.14014a8f0
mov dword [rsp + 0x50], 0
jmp 0x140151115
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x320]
call fcn.14014a8f0
xor eax, eax
mov word [rsp + 0x2b0], ax
mov dword [rsp + 0x20], 0
jmp 0x14015102e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movzx eax, word [rsp + 0x320]
cmp dword [rsp + 0x20], eax
jge 0x140151115
mov dword [rsp + 0x28], 0
jmp 0x140151054
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movzx eax, word [rsp + 0x2e8]
cmp dword [rsp + 0x28], eax
jge 0x140151110
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x10
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
movzx edx, word [rsp + rax + 0x2fa]
movzx ecx, word [rsp + rcx + 0x332]
call fcn.1400c9ec0
mov word [rsp + 0x38], ax
movsxd rcx, dword [rsp + 0x28]
imul rcx, rcx, 0x10
movsxd rdx, dword [rsp + 0x20]
imul rdx, rdx, 0x10
mov qword [rsp + 0x90], rdx
movzx edx, word [rsp + rcx + 0x2f8]
mov rcx, qword [rsp + 0x90]
movzx ecx, word [rsp + rcx + 0x330]
call fcn.1400c9ec0
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
movsxd rdx, dword [rsp + 0x28]
imul rdx, rdx, 0x10
mov rdx, qword [rsp + rdx + 0x2f0]
mov rcx, qword [rsp + rcx + 0x328]
or rcx, rdx
movzx edx, word [rsp + 0x38]
movzx r9d, dx
movzx r8d, ax
mov rdx, rcx
lea rcx, [rsp + 0x2b0]
call fcn.14014a950
jmp 0x14015104a
jmp 0x140151024
jmp 0x140150e7f
mov eax, 1
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3c], ax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x48]
mov qword [rax + rcx], rdx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x2000
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x11], 0
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov r8d, 0x20
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0
jmp 0x140151190
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
jne 0x14015120f
movzx eax, word [rsp + 0x2b0]
cmp dword [rsp + 0x20], eax
jge 0x14015120f
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x10
movsx eax, word [rsp + rax + 0x2c0]
inc eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
movzx eax, word [rsp + rax + 0x2c2]
mov word [rcx + 0x16], ax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + rax + 0x2b8]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x380]
call fcn.14014dbe0
mov dword [rsp + 0x24], eax
jmp 0x140151186
jmp 0x140150daa
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x358]
xor rcx, rsp
call fcn.140167110
add rsp, 0x368
pop rdi
pop rsi
ret