Function at 0x1401ac180
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 [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 + 0x98]
call fcn.1402357d0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x70
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 + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x48], rax
jmp 0x1401ac24f
mov rax, qword [rsp + 0x48]
add rax, 0x38
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x48], rax
jae 0x1401ac6ad
cmp dword [rsp + 0x24], 0
jne 0x1401ac6ad
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
and eax, 0x200
test eax, eax
je 0x1401ac6a8
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 0x1401ac6a8
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 + 0xd0]
mov rdi, rax
mov rsi, qword [rsp + 0x380]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf8]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
jmp 0x1401ac324
mov rax, qword [rsp + 0x40]
add rax, 0x38
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x40], rax
jae 0x1401ac5b2
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
and eax, 0x400
test eax, eax
je 0x1401ac35c
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xd8], rax
jmp 0x1401ac3c9
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
cmp dword [rax + 0x1c], ecx
jne 0x1401ac3c4
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x178], rax
mov byte [rsp + 0x180], 0x2c
mov dword [rsp + 0x184], 1
mov dword [rsp + 0x18c], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0xd8], rax
jmp 0x1401ac3c9
jmp 0x1401ac316
xor eax, eax
mov word [rsp + 0xf8], ax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3f]
cmp eax, 1
jne 0x1401ac408
mov r8, qword [rsp + 0x390]
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0xd0]
call fcn.1401ac6c0
mov dword [rsp + 0x24], eax
jmp 0x1401ac421
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0xd0]
call fcn.1401aa8d0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1401ac449
mov r8, qword [rsp + 0x390]
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0xd0]
call fcn.1401ac180
mov dword [rsp + 0x24], eax
movzx eax, word [rsp + 0xf8]
test eax, eax
jne 0x1401ac469
xor eax, eax
mov word [rsp + 0x98], ax
jmp 0x1401ac5b2
cmp dword [rsp + 0x50], 0
je 0x1401ac492
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x98]
call fcn.1401ae5d0
mov dword [rsp + 0x50], 0
jmp 0x1401ac5ad
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x130]
call fcn.1401ae5d0
xor eax, eax
mov word [rsp + 0x98], ax
mov dword [rsp + 0x20], 0
jmp 0x1401ac4c5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movzx eax, word [rsp + 0x130]
cmp dword [rsp + 0x20], eax
jge 0x1401ac5ad
mov dword [rsp + 0x28], 0
jmp 0x1401ac4eb
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movzx eax, word [rsp + 0xf8]
cmp dword [rsp + 0x28], eax
jge 0x1401ac5a8
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x10
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
movzx edx, word [rsp + rax + 0x10a]
movzx ecx, word [rsp + rcx + 0x142]
call fcn.1401605b0
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 + 0x108]
mov rcx, qword [rsp + 0x90]
movzx ecx, word [rsp + rcx + 0x140]
call fcn.1401605b0
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
movsxd rdx, dword [rsp + 0x28]
imul rdx, rdx, 0x10
mov rdx, qword [rsp + rdx + 0x100]
mov rcx, qword [rsp + rcx + 0x138]
or rcx, rdx
movzx edx, word [rsp + 0x38]
movzx r9d, dx
movzx r8d, ax
mov rdx, rcx
lea rcx, [rsp + 0x98]
call fcn.1401ae3f0
nop
jmp 0x1401ac4e1
jmp 0x1401ac4bb
jmp 0x1401ac316
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 fcn.1402357d0
nop
mov dword [rsp + 0x20], 0
jmp 0x1401ac629
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
jne 0x1401ac6a8
movzx eax, word [rsp + 0x98]
cmp dword [rsp + 0x20], eax
jge 0x1401ac6a8
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x10
movsx eax, word [rsp + rax + 0xa8]
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 + 0xaa]
mov word [rcx + 0x16], ax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + rax + 0xa0]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x380]
call fcn.1401ad9e0
mov dword [rsp + 0x24], eax
jmp 0x1401ac61f
jmp 0x1401ac241
mov eax, dword [rsp + 0x24]
add rsp, 0x368
pop rdi
pop rsi
ret