Function at 0x1400038e0
Capabilities:
Load assembly via iassembly

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x218
cmp qword [rsp + 0x238], 0
jne 0x140003907
mov eax, 9
jmp 0x14000436b
xor edx, edx
xor ecx, ecx
call fcn.14000d000
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003925
mov eax, 1
jmp 0x14000436b
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140001100
mov r8, rax
lea rdx, [0x14000e368]
lea rcx, [0x14000e398]
call fcn.14000cf70
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003968
call fcn.14000d1a0
mov eax, 2
jmp 0x14000436b
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x28]
call fcn.140001100
mov qword [rsp + 0x98], rax
mov r9, qword [rsp + 0x98]
lea r8, [0x14000e3a8]
lea rdx, str.v4.0.30319
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400039e3
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 3
jmp 0x14000436b
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0xa8], rax
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0xa8]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003a45
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 4
jmp 0x14000436b
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xb0], rax
lea r9, [rsp + 0x38]
lea r8, [0x14000e378]
lea rdx, [0x14000e388]
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003abb
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 5
jmp 0x14000436b
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x50]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003b15
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 6
jmp 0x14000436b
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0xb8], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.NHACEngine
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0xb8]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003ba0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 7
jmp 0x14000436b
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
lea r8, [rsp + 0x48]
lea rdx, [0x140010210]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0xc0]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003c25
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 8
jmp 0x14000436b
mov r8d, dword [rsp + 0x230]
xor edx, edx
mov cx, 0x11
call fcn.14000d040
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140003cb4
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0xc8]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 9
jmp 0x14000436b
mov qword [rsp + 0x88], 0
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call fcn.14000cf20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003d56
mov rcx, qword [rsp + 0x60]
call fcn.14000d0d0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0xd0]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 0xa
jmp 0x14000436b
mov dword [rsp + 0x50], 0
jmp 0x140003d6a
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x230]
cmp dword [rsp + 0x50], eax
jge 0x140003d9b
movsxd rax, dword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x238]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
jmp 0x140003d60
mov rcx, qword [rsp + 0x60]
call fcn.14000d110
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x168]
mov qword [rsp + 0xd8], rax
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0xd8]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003e5f
mov rcx, qword [rsp + 0x60]
call fcn.14000d0d0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0xe0]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 0xb
jmp 0x14000436b
mov rcx, qword [rsp + 0x60]
call fcn.14000d0d0
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0xe8]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003f38
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0xf0]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0xf8]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 0xc
jmp 0x14000436b
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x94], 0
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x90], 1
lea r8, [rsp + 0x90]
mov dx, 1
mov cx, 0xc
call fcn.14000d150
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140003f8c
mov eax, 0xffffffff
jmp 0x14000436b
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x68]
call fcn.14000cf20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140003fbd
mov rcx, qword [rsp + 0x68]
call fcn.14000d0d0
mov eax, 0xfffffffe
jmp 0x14000436b
lea rcx, [rsp + 0x158]
call fcn.14000d090
mov eax, 0x2008
mov word [rsp + 0x158], ax
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x84], 0
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x80], 3
lea r8, [rsp + 0x80]
mov dx, 1
mov cx, 8
call fcn.14000d150
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140004035
mov rcx, qword [rsp + 0x68]
call fcn.14000d0d0
mov eax, 0xfffffffd
jmp 0x14000436b
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x78]
call fcn.14000cf20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140004070
mov rcx, qword [rsp + 0x78]
call fcn.14000d0d0
mov rcx, qword [rsp + 0x68]
call fcn.14000d0d0
mov eax, 0xfffffffc
jmp 0x14000436b
mov dword [rsp + 0x54], 0
jmp 0x140004084
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x80]
cmp dword [rsp + 0x54], eax
jae 0x1400040c9
lea rcx, [0x14000e360]
call fcn.14000cfc0
mov qword [rsp + 0x108], rax
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x108]
mov qword [rcx + rax*8], rdx
jmp 0x14000407a
mov rcx, qword [rsp + 0x78]
call fcn.14000d110
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x160], rax
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x110]
lea rdx, [rsp + 0x158]
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x68]
call fcn.14000d110
lea rcx, [rsp + 0x1d0]
call fcn.14000d090
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rax, qword [rax + 0x128]
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x170]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0x188]
lea rcx, [rsp + 0x170]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1a0]
lea rcx, [rsp + 0x188]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1b8]
lea rcx, [rsp + 0x1a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x1f0]
lea rcx, [rsp + 0x1b8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x1d0]
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x118]
call qword [rsp + 0x120]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x170]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [rsp + 0x20], 0
jge 0x1400042b4
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x128]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x130]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x138]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
mov eax, 0xd
jmp 0x14000436b
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x140]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x148]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x150]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x58]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
call fcn.14000d1a0
xor eax, eax
add rsp, 0x218
pop rdi
pop rsi
ret