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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
movaps xmmword [rsp + 0x170], xmm6
mov rax, qword [0x1800a74e0]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea eax, [r8 - 5]
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], eax
mov rsi, r9
mov ebp, r8d
mov r13, rdx
cmp r8d, eax
jbe 0x18004ad26
movsd xmm6, qword [0x18009f318]
xor ecx, ecx
mov r12, qword [rsp + 0x48]
mov r14d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
nop
mov eax, ebp
movsxd rbx, r14d
sub eax, 0x42
je 0x18004ad5e
sub eax, 1
je 0x18004ad0e
sub eax, 3
je 0x18004a75d
sub eax, 1
je 0x18004a5cb
cmp eax, 1
jne 0x18004ad15
mov r14d, dword [rsi + 0xc]
mov r15d, dword [rsi + 4]
jmp 0x18004ad15
mov rdi, qword [rsi + 0x1fb0]
test rdi, rdi
jne 0x18004a60e
mov dword [rsp + 0x38], 0x6d
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov r8, rsi
mov qword [rsp + 0x28], rcx
xor edx, edx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov dword [rsp + 0x50], r15d
call fcn.1800602f0
mov qword [rsi + 0x1fb0], rax
mov rdi, rax
test r14d, r14d
jle 0x18004ad15
lea rcx, [rsp + 0x68]
lea rdx, [r13 + 8]
mov eax, dword [rdx - 8]
lea rdx, [rdx + 0x180]
mov dword [rcx - 8], eax
lea rcx, [rcx + 0x80]
mov eax, dword [rdx - 0x184]
mov dword [rcx - 0x84], eax
mov eax, dword [rdx - 0x180]
mov dword [rcx - 0x80], eax
mov eax, dword [rdx - 0x17c]
mov dword [rcx - 0x7c], eax
mov eax, dword [rdx - 0x178]
mov dword [rcx - 0x78], eax
mov eax, dword [rdx - 0x174]
mov dword [rcx - 0x74], eax
mov eax, dword [rdx - 0x170]
mov dword [rcx - 0x70], eax
mov eax, dword [rdx - 0x16c]
mov dword [rcx - 0x6c], eax
mov eax, dword [rdx - 0x168]
mov dword [rcx - 0x68], eax
mov eax, dword [rdx - 0x164]
mov dword [rcx - 0x64], eax
mov eax, dword [rdx - 0x160]
mov dword [rcx - 0x60], eax
mov eax, dword [rdx - 0x15c]
mov dword [rcx - 0x5c], eax
mov eax, dword [rdx - 0x158]
mov dword [rcx - 0x58], eax
mov eax, dword [rdx - 0x154]
mov dword [rcx - 0x54], eax
mov eax, dword [rdx - 0x150]
mov dword [rcx - 0x50], eax
mov eax, dword [rdx - 0x14c]
mov dword [rcx - 0x4c], eax
mov eax, dword [rdx - 0x148]
mov dword [rcx - 0x48], eax
mov eax, dword [rdx - 0x144]
mov dword [rcx - 0x44], eax
mov eax, dword [rdx - 0x140]
mov dword [rcx - 0x40], eax
mov eax, dword [rdx - 0x13c]
mov dword [rcx - 0x3c], eax
mov eax, dword [rdx - 0x138]
mov dword [rcx - 0x38], eax
mov eax, dword [rdx - 0x134]
mov dword [rcx - 0x34], eax
mov eax, dword [rdx - 0x130]
mov dword [rcx - 0x30], eax
mov eax, dword [rdx - 0x12c]
mov dword [rcx - 0x2c], eax
mov eax, dword [rdx - 0x128]
mov dword [rcx - 0x28], eax
mov eax, dword [rdx - 0x124]
mov dword [rcx - 0x24], eax
mov eax, dword [rdx - 0x120]
mov dword [rcx - 0x20], eax
mov eax, dword [rdx - 0x11c]
mov dword [rcx - 0x1c], eax
mov eax, dword [rdx - 0x118]
mov dword [rcx - 0x18], eax
mov eax, dword [rdx - 0x114]
mov dword [rcx - 0x14], eax
mov eax, dword [rdx - 0x110]
mov dword [rcx - 0x10], eax
mov eax, dword [rdx - 0x10c]
mov dword [rcx - 0xc], eax
sub rbx, 1
jne 0x18004a620
jmp 0x18004ad15
test r14d, r14d
jle 0x18004ad15
lea rax, [rsp + 0x64]
mov rcx, r13
sub rcx, rax
lea r10, [rsp + 0x64]
add rcx, 0x88
mov r11, rbx
mov r9d, 2
nop word [rax + rax]
mov rax, r10
mov r8d, 2
nop dword [rax]
mov edx, dword [rcx + rax - 8]
cmp dword [rax - 4], edx
jbe 0x18004a7ac
mov dword [rax - 4], edx
mov edx, dword [rcx + rax - 4]
cmp dword [rax], edx
jbe 0x18004a7b6
mov dword [rax], edx
mov edx, dword [rcx + rax]
cmp dword [rax + 4], edx
jbe 0x18004a7c1
mov dword [rax + 4], edx
mov edx, dword [rcx + rax + 4]
cmp dword [rax + 8], edx
jbe 0x18004a7cd
mov dword [rax + 8], edx
mov edx, dword [rcx + rax + 8]
cmp dword [rax + 0xc], edx
jbe 0x18004a7d9
mov dword [rax + 0xc], edx
mov edx, dword [rcx + rax + 0xc]
cmp dword [rax + 0x10], edx
jbe 0x18004a7e5
mov dword [rax + 0x10], edx
mov edx, dword [rax + rcx + 0x10]
cmp dword [rax + 0x14], edx
jbe 0x18004a7f1
mov dword [rax + 0x14], edx
mov edx, dword [rax + rcx + 0x14]
cmp dword [rax + 0x18], edx
jbe 0x18004a7fd
mov dword [rax + 0x18], edx
mov edx, dword [rax + rcx + 0x18]
cmp dword [rax + 0x1c], edx
jbe 0x18004a809
mov dword [rax + 0x1c], edx
mov edx, dword [rax + rcx + 0x1c]
cmp dword [rax + 0x20], edx
jbe 0x18004a815
mov dword [rax + 0x20], edx
mov edx, dword [rax + rcx + 0x20]
cmp dword [rax + 0x24], edx
jbe 0x18004a821
mov dword [rax + 0x24], edx
mov edx, dword [rax + rcx + 0x24]
cmp dword [rax + 0x28], edx
jbe 0x18004a82d
mov dword [rax + 0x28], edx
mov edx, dword [rax + rcx + 0x28]
cmp dword [rax + 0x2c], edx
jbe 0x18004a839
mov dword [rax + 0x2c], edx
mov edx, dword [rax + rcx + 0x2c]
cmp dword [rax + 0x30], edx
jbe 0x18004a845
mov dword [rax + 0x30], edx
mov edx, dword [rax + rcx + 0x30]
cmp dword [rax + 0x34], edx
jbe 0x18004a851
mov dword [rax + 0x34], edx
mov edx, dword [rax + rcx + 0x34]
cmp dword [rax + 0x38], edx
jbe 0x18004a85d
mov dword [rax + 0x38], edx
add rax, 0x40
sub r8, 1
jne 0x18004a7a0
sub rcx, 0xffffffffffffff80
sub r9, 1
jne 0x18004a790
sub r10, 0xffffffffffffff80
sub r11, 1
jne 0x18004a780
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x68]
add rcx, 0x10
nop word [rax + rax]
mov eax, dword [rdx - 8]
xorps xmm0, xmm0
movaps xmm1, xmm6
cvtsi2sd xmm0, rax
mov eax, dword [rdx - 4]
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx]
addsd xmm1, xmm1
subsd xmm1, qword [rdi]
movsd qword [rcx - 0x10], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 4]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 8]
movsd qword [rcx - 8], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 8]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x10]
movsd qword [rcx], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0xc]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x18]
movsd qword [rcx + 8], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x10]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x20]
movsd qword [rcx + 0x10], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x14]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x28]
movsd qword [rcx + 0x18], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x18]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x30]
movsd qword [rcx + 0x20], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x1c]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x38]
movsd qword [rcx + 0x28], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x20]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x40]
movsd qword [rcx + 0x30], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x48]
movsd qword [rcx + 0x38], xmm1
xorps xmm0, xmm0
movaps xmm1, xmm6
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x24]
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x28]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x50]
movsd qword [rcx + 0x40], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x2c]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x58]
movsd qword [rcx + 0x48], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x30]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x60]
movsd qword [rcx + 0x50], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x34]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x68]
movsd qword [rcx + 0x58], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x38]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x70]
movsd qword [rcx + 0x60], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x3c]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x78]
movsd qword [rcx + 0x68], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x40]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x80]
movsd qword [rcx + 0x70], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x44]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x88]
movsd qword [rcx + 0x78], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x48]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x90]
movsd qword [rcx + 0x80], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0x98]
movsd qword [rcx + 0x88], xmm1
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x4c]
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x50]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xa0]
movsd qword [rcx + 0x90], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x54]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xa8]
movsd qword [rcx + 0x98], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x58]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xb0]
movsd qword [rcx + 0xa0], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x5c]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xb8]
movsd qword [rcx + 0xa8], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x60]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xc0]
movsd qword [rcx + 0xb0], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x64]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xc8]
movsd qword [rcx + 0xb8], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x68]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xd0]
movsd qword [rcx + 0xc0], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x6c]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xd8]
movsd qword [rcx + 0xc8], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, dword [rdx + 0x70]
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xe0]
movsd qword [rcx + 0xd0], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xe8]
movsd qword [rcx + 0xd8], xmm1
mov eax, dword [rdx + 0x74]
movaps xmm1, xmm6
subsd xmm1, xmm0
sub rdx, 0xffffffffffffff80
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xf0]
movsd qword [rcx + 0xe0], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm0
addsd xmm1, xmm1
subsd xmm1, qword [rdi + 0xf8]
movsd qword [rcx + 0xe8], xmm1
add rcx, 0x100
sub rbx, 1
jne 0x18004a8a0
jmp 0x18004ad15
lea r12, str.P_sHandle___sHandle_
dec ebp
mov ecx, 0
cmp ebp, dword [rsp + 0x40]
ja 0x18004a590
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800864a0
mov rbx, qword [rsp + 0x1c8]
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, r12
jmp 0x18004ad2b