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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
movsxd rax, dword [0x1006d918]
imul rax, rax, 0x40
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [0x1006d918]
imul rcx, rcx, 0x40
add rax, rcx
movsxd rcx, dword [0x1006d918]
imul rcx, rcx, 0x40
add rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
movsxd rcx, dword [0x1006d914]
sub rax, rcx
movsxd rcx, dword [0x1006d914]
sub rax, rcx
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
sub rax, rcx
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d844]
movsxd rcx, ecx
add rax, rcx
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d87c]
movsxd rcx, ecx
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
sub rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d844]
movsxd rcx, ecx
sub rax, rcx
movsxd rcx, dword [0x1006d910]
add rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
movsxd rcx, dword [0x1006d914]
sub rax, rcx
movsxd rcx, dword [0x1006d914]
sub rax, rcx
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
sub rax, rcx
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d844]
movsxd rcx, ecx
add rax, rcx
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d87c]
movsxd rcx, ecx
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
sub rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d844]
movsxd rcx, ecx
sub rax, rcx
movsxd rcx, dword [0x1006d910]
add rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
movsxd rcx, dword [0x1006d914]
sub rax, rcx
movsxd rcx, dword [0x1006d914]
sub rax, rcx
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
sub rax, rcx
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d844]
movsxd rcx, ecx
add rax, rcx
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d87c]
movsxd rcx, ecx
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
sub rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d844]
movsxd rcx, ecx
sub rax, rcx
movsxd rcx, dword [0x1006d910]
add rax, rcx
movsxd rcx, dword [0x1006d914]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d914]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d918]
imul rcx, rcx, 0x108
add rax, rcx
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d910]
imul ecx, dword [0x1006d914]
movsxd rcx, ecx
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d918]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d910]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d914]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d844]
imul rcx, rcx, 0x108
add rax, rcx
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d914]
imul rcx, rcx, 0x108
add rax, rcx
movsxd rcx, dword [0x1006d91c]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d914]
imul rcx, rcx, 0x108
add rax, rcx
movsxd rcx, dword [0x1006d914]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d914]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d918]
imul rcx, rcx, 0x108
add rax, rcx
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d910]
imul ecx, dword [0x1006d914]
movsxd rcx, ecx
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d918]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d910]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d914]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d844]
imul rcx, rcx, 0x108
add rax, rcx
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d914]
imul rcx, rcx, 0x108
add rax, rcx
movsxd rcx, dword [0x1006d91c]
imul rcx, rcx, 0x108
sub rax, rcx
movsxd rcx, dword [0x1006d914]
imul rcx, rcx, 0x108
add rax, rcx
mov qword [rsp + 0x48], rax
mov eax, dword [0x1006d910]
imul eax, dword [0x1006d910]
mov ecx, dword [0x1006d910]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
sub eax, ecx
sub eax, dword [0x1006d91c]
add eax, dword [0x1006d87c]
sub eax, dword [0x1006d914]
add eax, dword [0x1006d910]
add eax, dword [0x1006d918]
sub eax, dword [0x1006d914]
add eax, dword [0x1006d910]
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d910]
sub eax, ecx
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
sub eax, ecx
sub eax, dword [0x1006d91c]
add eax, dword [0x1006d87c]
sub eax, dword [0x1006d914]
add eax, dword [0x1006d910]
add eax, dword [0x1006d918]
sub eax, dword [0x1006d914]
add eax, dword [0x1006d910]
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d910]
sub eax, ecx
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
sub eax, ecx
sub eax, dword [0x1006d91c]
add eax, dword [0x1006d87c]
sub eax, dword [0x1006d914]
add eax, dword [0x1006d910]
add eax, dword [0x1006d918]
sub eax, dword [0x1006d914]
cdqe
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*8 + 0x88]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [0x1006d91c]
imul rcx, rcx, 0x28
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
imul rcx, rcx, 0x28
add rax, rcx
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d910]
movsxd rcx, ecx
imul rcx, rcx, 0x28
sub rax, rcx
movsxd rcx, dword [0x1006d910]
imul rcx, rcx, 0x28
add rax, rcx
movsxd rcx, dword [0x1006d91c]
imul rcx, rcx, 0x28
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
imul rcx, rcx, 0x28
add rax, rcx
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d910]
movsxd rcx, ecx
imul rcx, rcx, 0x28
sub rax, rcx
movsxd rcx, dword [0x1006d910]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
movsxd rcx, dword [0x1006d914]
add rax, rcx
movsxd rcx, dword [0x1006d918]
add rax, rcx
movsxd rcx, dword [0x1006d910]
add rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d914]
movsxd rcx, ecx
add rax, rcx
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d914]
movsxd rcx, ecx
sub rax, rcx
movsxd rcx, dword [0x1006d914]
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d914]
movsxd rcx, ecx
add rax, rcx
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
add rax, rcx
movsxd rcx, dword [0x1006d918]
sub rax, rcx
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
movsxd rcx, ecx
sub rax, rcx
movsxd rcx, dword [0x1006d918]
add rax, rcx
movsxd rcx, dword [0x1006d918]
lea rax, [rax + rcx*4]
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d910]
movsxd rcx, ecx
lea rax, [rax + rcx*4]
movsxd rcx, dword [0x1006d918]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d918]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
shl rcx, 2
sub rax, rcx
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
lea rax, [rax + rcx*4]
movsxd rcx, dword [0x1006d918]
lea rax, [rax + rcx*4]
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d910]
movsxd rcx, ecx
lea rax, [rax + rcx*4]
movsxd rcx, dword [0x1006d918]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d918]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
shl rcx, 2
sub rax, rcx
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
lea rax, [rax + rcx*4]
movsxd rcx, dword [0x1006d918]
lea rax, [rax + rcx*4]
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d910]
movsxd rcx, ecx
lea rax, [rax + rcx*4]
movsxd rcx, dword [0x1006d918]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d918]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
shl rcx, 2
sub rax, rcx
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
lea rax, [rax + rcx*4]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [0x1006d914]
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
add rax, rcx
movsxd rcx, dword [0x1006d87c]
sub rax, rcx
movsxd rcx, dword [0x1006d914]
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
add rax, rcx
movsxd rcx, dword [0x1006d87c]
sub rax, rcx
movsxd rcx, dword [0x1006d918]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d918]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d918]
lea rax, [rax + rcx*4]
movsxd rcx, dword [0x1006d918]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d914]
shl rcx, 2
sub rax, rcx
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d91c]
movsxd rcx, ecx
shl rcx, 2
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d87c]
movsxd rcx, ecx
lea rax, [rax + rcx*4]
movsxd rcx, dword [0x1006d91c]
lea rax, [rax + rcx*4]
mov ecx, dword [0x1006d844]
imul ecx, dword [0x1006d910]
movsxd rcx, ecx
lea rax, [rax + rcx*4]
movsxd rcx, dword [0x1006d918]
shl rcx, 2
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
lea rax, [rax + rcx*4]
movsxd rcx, dword [0x1006d91c]
lea rax, [rax + rcx*4]
mov ecx, dword [0x1006d844]
imul ecx, dword [0x1006d844]
movsxd rcx, ecx
lea rax, [rax + rcx*4]
movsxd rcx, dword [0x1006d91c]
shl rcx, 2
sub rax, rcx
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
shl rcx, 2
sub rax, rcx
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d844]
movsxd rcx, ecx
shl rcx, 2
sub rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
movsxd rcx, dword [0x1006d844]
add rax, rcx
movsxd rcx, dword [0x1006d918]
sub rax, rcx
movsxd rcx, dword [0x1006d91c]
sub rax, rcx
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d910]
movsxd rcx, ecx
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
lea rax, [rax + rcx*2]
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
lea rax, [rax + rcx*2]
movsxd rcx, dword [0x1006d87c]
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d918]
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d91c]
shl rcx, 1
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d844]
movsxd rcx, ecx
lea rax, [rax + rcx*2]
movsxd rcx, dword [0x1006d91c]
shl rcx, 1
sub rax, rcx
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d914]
movsxd rcx, ecx
lea rax, [rax + rcx*2]
movsxd rcx, dword [0x1006d87c]
lea rax, [rax + rcx*2]
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d914]
movsxd rcx, ecx
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
lea rax, [rax + rcx*2]
movsxd rcx, dword [0x1006d91c]
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d914]
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d91c]
lea rax, [rax + rcx*2]
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d87c]
movsxd rcx, ecx
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
shl rcx, 1
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
lea rax, [rax + rcx*2]
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d918]
movsxd rcx, ecx
lea rax, [rax + rcx*2]
movsxd rcx, dword [0x1006d87c]
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d918]
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d91c]
shl rcx, 1
sub rax, rcx
mov ecx, dword [0x1006d918]
imul ecx, dword [0x1006d844]
movsxd rcx, ecx
lea rax, [rax + rcx*2]
movsxd rcx, dword [0x1006d91c]
shl rcx, 1
sub rax, rcx
mov ecx, dword [0x1006d910]
imul ecx, dword [0x1006d914]
movsxd rcx, ecx
lea rax, [rax + rcx*2]
movsxd rcx, dword [0x1006d87c]
lea rax, [rax + rcx*2]
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d914]
movsxd rcx, ecx
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
lea rax, [rax + rcx*2]
movsxd rcx, dword [0x1006d91c]
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d914]
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d91c]
lea rax, [rax + rcx*2]
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d87c]
movsxd rcx, ecx
shl rcx, 1
sub rax, rcx
movsxd rcx, dword [0x1006d87c]
shl rcx, 1
sub rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x1004948f
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
add eax, dword [0x1006d91c]
cmp dword [rsp + 0x20], eax
jae 0x1004968d
mov eax, dword [0x1006d844]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
add eax, dword [0x1006d918]
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
call fcn.10029c60
test eax, eax
jne 0x10049688
mov eax, dword [0x1006d87c]
imul eax, dword [0x1006d918]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d910]
imul ecx, dword [0x1006d910]
add eax, ecx
sub eax, dword [0x1006d910]
sub eax, dword [0x1006d87c]
add eax, dword [0x1006d918]
sub eax, dword [0x1006d918]
add eax, dword [0x1006d91c]
sub eax, dword [0x1006d918]
sub eax, dword [0x1006d91c]
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d844]
imul ecx, dword [0x1006d910]
mov edx, dword [0x1006d87c]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
add eax, dword [0x1006d918]
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
sub eax, ecx
sub eax, dword [0x1006d914]
add eax, dword [0x1006d910]
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d914]
imul ecx, dword [0x1006d844]
imul ecx, dword [0x1006d844]
mov edx, dword [0x1006d87c]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d918]
sub eax, ecx
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d910]
imul ecx, dword [0x1006d910]
add eax, ecx
sub eax, dword [0x1006d910]
sub eax, dword [0x1006d87c]
add eax, dword [0x1006d918]
sub eax, dword [0x1006d918]
add eax, dword [0x1006d91c]
sub eax, dword [0x1006d918]
sub eax, dword [0x1006d91c]
mov ecx, dword [0x1006d87c]
imul ecx, dword [0x1006d844]
imul ecx, dword [0x1006d910]
mov edx, dword [0x1006d87c]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
add eax, dword [0x1006d918]
mov ecx, dword [0x1006d91c]
imul ecx, dword [0x1006d87c]
sub eax, ecx
sub eax, dword [0x1006d914]
add eax, dword [0x1006d910]
mov ecx, dword [0x1006d914]
imul ecx, dword [0x1006d914]
imul ecx, dword [0x1006d844]
imul ecx, dword [0x1006d844]
mov edx, dword [0x1006d87c]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x1004968f
jmp 0x10049484
xor eax, eax
add rsp, 0x68
ret