Function at 0x140157250
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 [0x1401ac600]
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 0x14015732a
xor eax, eax
jmp 0x1401577a8
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x48], rax
jmp 0x140157348
mov rax, qword [rsp + 0x48]
add rax, 0x38
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x48], rax
jae 0x1401577a4
cmp dword [rsp + 0x24], 0
jne 0x1401577a4
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
and eax, 0x200
test eax, eax
je 0x14015779f
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 0x14015779f
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 0x14015741d
mov rax, qword [rsp + 0x40]
add rax, 0x38
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x40], rax
jae 0x1401576aa
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
and eax, 0x400
test eax, eax
je 0x140157455
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xa0], rax
jmp 0x1401574c2
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
cmp dword [rax + 0x1c], ecx
jne 0x1401574bd
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 0x1401574c2
jmp 0x14015740f
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 0x140157501
mov r8, qword [rsp + 0x390]
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0x98]
call fcn.140156ce0
mov dword [rsp + 0x24], eax
jmp 0x14015751a
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0x98]
call fcn.140155ab0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140157542
mov r8, qword [rsp + 0x390]
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0x98]
call fcn.140157250
mov dword [rsp + 0x24], eax
movzx eax, word [rsp + 0x2e8]
test eax, eax
jne 0x140157562
xor eax, eax
mov word [rsp + 0x2b0], ax
jmp 0x1401576aa
cmp dword [rsp + 0x50], 0
je 0x14015758b
lea rdx, [rsp + 0x2e8]
lea rcx, [rsp + 0x2b0]
call fcn.140150e80
mov dword [rsp + 0x50], 0
jmp 0x1401576a5
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x320]
call fcn.140150e80
xor eax, eax
mov word [rsp + 0x2b0], ax
mov dword [rsp + 0x20], 0
jmp 0x1401575be
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movzx eax, word [rsp + 0x320]
cmp dword [rsp + 0x20], eax
jge 0x1401576a5
mov dword [rsp + 0x28], 0
jmp 0x1401575e4
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movzx eax, word [rsp + 0x2e8]
cmp dword [rsp + 0x28], eax
jge 0x1401576a0
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.1400d0450
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.1400d0450
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.140150ee0
jmp 0x1401575da
jmp 0x1401575b4
jmp 0x14015740f
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 0x140157720
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
jne 0x14015779f
movzx eax, word [rsp + 0x2b0]
cmp dword [rsp + 0x20], eax
jge 0x14015779f
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.140154170
mov dword [rsp + 0x24], eax
jmp 0x140157716
jmp 0x14015733a
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x358]
xor rcx, rsp
call fcn.14016d6a0
add rsp, 0x368
pop rdi
pop rsi
ret