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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov r13d, dword [rcx + 0xc]
xor edi, edi
mov dword [rbp + 0xa8], r13d
mov r12, rdx
mov r15, rcx
mov r10d, edi
mov r11d, edi
mov esi, edi
cmp r13d, 2
jb 0x1801181e4
mov r9, qword [rcx]
lea eax, [r13 - 2]
shr eax, 1
mov r8d, edi
inc eax
mov ebx, eax
lea r14d, [rax + rax]
nop dword [rax]
mov rcx, qword [r9 + r8*8]
mov eax, 0xaaaaaaab
mul dword [rcx + 0x4c]
mov rcx, qword [r9 + r8*8 + 8]
mov eax, 0xaaaaaaab
shr edx, 1
add r8, 2
add r10d, edx
mul dword [rcx + 0x4c]
shr edx, 1
add r11d, edx
sub rbx, 1
jne 0x1801181b0
cmp r14d, r13d
jb 0x1801181f0
jmp 0x180118200
test r13d, r13d
je 0x180118207
mov r9, qword [rcx]
mov r8, rdi
nop
mov rcx, qword [r9 + r8*8]
mov eax, 0xaaaaaaab
mul dword [rcx + 0x4c]
mov esi, edx
shr esi, 1
mov r9, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
lea eax, [r10 + r11]
add eax, esi
mov byte [rsp + 0x50], dil
add eax, eax
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x60], r8
mov r14d, 1
mov dword [rsp + 0x54], r14d
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], edi
test r9, r9
je 0x180118254
xor edx, edx
mov ecx, r14d
call r9
test al, al
jne 0x180118254
mov eax, r14d
xchg byte [rsp + 0x50], al
mov eax, dword [r15 + 0x3c]
mov byte [r15 + 0x48], dil
test eax, eax
je 0x180118324
mov ecx, edi
mov dword [rbp + 0xb8], ecx
nop dword [rax]
mov eax, ecx
mov esi, edi
lea r14, [rax + rax*2]
mov rax, qword [r15 + 0x30]
cmp dword [rax + r14*8 + 0xc], edi
jbe 0x1801182db
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rax + r14*8]
mov ebx, esi
mov rcx, qword [rax + rbx*8]
call fcn.1800d3c00
mov rax, qword [r15 + 0x30]
mov rcx, qword [rax + r14*8]
mov rcx, qword [rcx + rbx*8]
test rcx, rcx
je 0x1801182c8
mov rax, qword [0x180197198]
test rax, rax
je 0x1801182c0
call rax
jmp 0x1801182c8
xor edx, edx
call qword [0x180197190]
mov rax, qword [r15 + 0x30]
inc esi
cmp esi, dword [rax + r14*8 + 0xc]
jb 0x180118290
mov ecx, dword [rbp + 0xb8]
inc ecx
mov dword [rax + r14*8 + 0xc], edi
mov eax, dword [r15 + 0x3c]
mov dword [rbp + 0xb8], ecx
cmp ecx, eax
jb 0x180118270
mov r14d, 1
cmp eax, r13d
je 0x180118324
mov rax, qword [0x1801951d8]
test rax, rax
je 0x180118324
mov r9d, 0x1f06
lea r8, str.C:BuildAgentwork78a794e88763017dUE4EnginePluginsRuntimeGeometryProcessingSourceGeometryAlgorithmsPrivateThirdPartyxatlasxatlas.cpp
lea rdx, str.m_meshChartGroups.size____meshCount
lea rcx, str._rASSERT:__s__s__d_n
call rax
mov dword [r15 + 0x3c], r13d
cmp r13d, dword [r15 + 0x40]
jbe 0x18011833a
mov edx, r13d
lea rcx, [r15 + 0x30]
call fcn.1801552f0
mov edx, edi
cmp dword [r15 + 0x3c], edi
jbe 0x180118373
nop dword [rax]
nop word [rax + rax]
mov eax, edx
inc edx
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 0x30]
mov qword [rax + rcx*8], rdi
mov qword [rax + rcx*8 + 8], 8
mov dword [rax + rcx*8 + 0x10], edi
cmp edx, dword [r15 + 0x3c]
jb 0x180118350
lea rbx, [r15 + 0x18]
mov dword [rbx + 0xc], r13d
cmp r13d, dword [rbx + 0x10]
jbe 0x18011838c
mov edx, r13d
mov rcx, rbx
call fcn.1801552f0
mov edx, edi
cmp dword [rbx + 0xc], edi
jbe 0x1801183e9
nop dword [rax]
nop word [rax + rax]
mov eax, edx
inc edx
lea rcx, [rax + rax*8]
mov rax, qword [rbx]
mov qword [rax + rcx*8], rdi
mov qword [rax + rcx*8 + 8], 4
mov dword [rax + rcx*8 + 0x10], edi
mov qword [rax + rcx*8 + 0x18], rdi
mov qword [rax + rcx*8 + 0x20], 4
mov dword [rax + rcx*8 + 0x28], edi
mov qword [rax + rcx*8 + 0x30], rdi
mov qword [rax + rcx*8 + 0x38], 4
mov dword [rax + rcx*8 + 0x40], edi
cmp edx, dword [rbx + 0xc]
jb 0x1801183a0
lea rbx, [r15 + 0x18]
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], 0x18
mov dword [rbp - 0x78], edi
mov dword [rbp - 0x7c], r13d
test r13d, r13d
je 0x18011857a
mov edx, r13d
lea rcx, [rsp + 0x78]
call fcn.1801552f0
mov rdx, qword [rsp + 0x78]
mov r8, rdi
add rdx, 0x10
mov r9, rdi
mov r10, rdi
mov r11, r13
nop word [rax + rax]
mov rax, qword [r15]
lea rdx, [rdx + 0x18]
lea r8, [r8 + 8]
mov rcx, qword [r8 + rax - 8]
mov qword [rdx - 0x28], rcx
mov rcx, qword [r15 + 0x30]
add rcx, r10
add r10, 0x18
mov qword [rdx - 0x20], rcx
mov rcx, qword [rbx]
add rcx, r9
add r9, 0x48
mov qword [rdx - 0x18], rcx
sub r11, 1
jne 0x180118430
mov edx, r13d
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x44], r13d
call fcn.1801552f0
mov r10, qword [rsp + 0x38]
mov r9d, edi
cmp r13d, 4
jb 0x180118534
lea eax, [r13 - 4]
mov r8, rdi
shr eax, 2
lea rdx, [r10 + 8]
inc eax
mov r11d, eax
lea r9d, [rax*4]
nop word [rax + rax]
mov rax, qword [r15]
lea rdx, [rdx + 0x10]
xorps xmm0, xmm0
mov rcx, qword [rax + r8*8]
mov eax, dword [rcx + 0x4c]
cvtsi2ss xmm0, rax
movss dword [rdx - 0x18], xmm0
xorps xmm0, xmm0
mov rax, qword [r15]
mov rcx, qword [rax + r8*8 + 8]
mov eax, dword [rcx + 0x4c]
cvtsi2ss xmm0, rax
movss dword [rdx - 0x14], xmm0
xorps xmm0, xmm0
mov rax, qword [r15]
mov rcx, qword [rax + r8*8 + 0x10]
mov eax, dword [rcx + 0x4c]
cvtsi2ss xmm0, rax
movss dword [rdx - 0x10], xmm0
xorps xmm0, xmm0
mov rax, qword [r15]
mov rcx, qword [rax + r8*8 + 0x18]
add r8, 4
mov eax, dword [rcx + 0x4c]
cvtsi2ss xmm0, rax
movss dword [rdx - 0xc], xmm0
sub r11, 1
jne 0x1801184c0
cmp r9d, r13d
jb 0x18011853c
jmp 0x180118593
test r13d, r13d
je 0x180118593
mov r8, rdi
mov eax, r13d
lea rdx, [r8*8]
sub eax, r9d
lea r8, [r10 + r8*4]
mov r9d, eax
mov rax, qword [r15]
xorps xmm0, xmm0
lea r8, [r8 + 4]
lea rdx, [rdx + 8]
mov rcx, qword [rdx + rax - 8]
mov eax, dword [rcx + 0x4c]
cvtsi2ss xmm0, rax
movss dword [r8 - 4], xmm0
sub r9, 1
jne 0x180118551
jmp 0x180118593
mov r10, rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x44], r13d
mov eax, dword [rsp + 0x44]
lea rdx, [rbp + 0x40]
mov dword [rbp - 0x68], eax
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x70], r10
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp + 0x40], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 4
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], 4
mov dword [rbp - 0x18], edi
mov byte [rbp - 0x10], dil
call fcn.1801597e0
call sub.MSVCP140.dll__Thrd_hardware_concurrency
mov ebx, eax
imul rdx, rbx, 0x380
mov esi, eax
test rdx, rdx
jne 0x1801185f0
mov rax, rdi
jmp 0x1801185f8
xor ecx, ecx
call qword [0x180197190]
mov qword [rsp + 0x28], rax
test ebx, ebx
je 0x180118621
mov rbx, rdi
lea rcx, [rbx + rax]
call fcn.1800cce70
lea rbx, [rbx + 0x380]
sub rsi, 1
je 0x180118621
mov rax, qword [rsp + 0x28]
jmp 0x180118604
call sub.MSVCP140.dll__Thrd_hardware_concurrency
mov esi, eax
imul rdx, rsi, 0xb0
mov ebx, eax
test rdx, rdx
jne 0x18011863b
mov rax, rdi
jmp 0x180118643
xor ecx, ecx
call qword [0x180197190]
mov qword [rsp + 0x20], rax
test esi, esi
je 0x1801186e7
mov rcx, rdi
mov qword [rcx + rax], rdi
mov qword [rcx + rax + 8], 4
mov dword [rcx + rax + 0x10], edi
mov qword [rcx + rax + 0x18], rdi
mov dword [rcx + rax + 0x20], edi
mov qword [rcx + rax + 0x28], rdi
mov dword [rcx + rax + 0x30], edi
mov qword [rcx + rax + 0x50], rdi
mov qword [rcx + rax + 0x58], 4
mov dword [rcx + rax + 0x60], edi
mov qword [rcx + rax + 0x68], rdi
mov qword [rcx + rax + 0x70], 4
mov dword [rcx + rax + 0x78], edi
mov qword [rcx + rax + 0x80], rdi
mov qword [rcx + rax + 0x88], 4
mov dword [rcx + rax + 0x90], edi
mov qword [rcx + rax + 0x98], rdi
mov qword [rcx + rax + 0xa0], 4
mov dword [rcx + rax + 0xa8], edi
lea rcx, [rcx + 0xb0]
sub rbx, 1
je 0x1801186e7
mov rax, qword [rsp + 0x20]
jmp 0x180118653
call sub.MSVCP140.dll__Thrd_hardware_concurrency
mov esi, eax
mov ebx, eax
lea rdx, [rsi + rsi*2]
shl rdx, 4
test rdx, rdx
jne 0x180118702
mov rax, rdi
jmp 0x18011870a
xor ecx, ecx
call qword [0x180197190]
mov qword [rbp + 0xc0], rax
test esi, esi
je 0x180118756
mov rcx, rdi
nop dword [rax + rax]
mov qword [rcx + rax], rdi
mov qword [rcx + rax + 8], 4
mov dword [rcx + rax + 0x10], edi
mov qword [rcx + rax + 0x18], rdi
mov qword [rcx + rax + 0x20], 4
mov dword [rcx + rax + 0x28], edi
lea rcx, [rcx + 0x30]
sub rbx, 1
je 0x180118756
mov rax, qword [rbp + 0xc0]
jmp 0x180118720
lea rcx, [rsp + 0x30]
call fcn.1800cb970
lea rax, [rsp + 0x28]
mov qword [rbp + 0x18], r12
mov esi, edi
mov qword [rbp], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 8], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x10], rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0xc0]
mov qword [rbp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x30], rax
cmp dword [r12 + 0x24], edi
jbe 0x1801187d0
nop word [rax + rax]
mov eax, esi
imul rbx, rax, 0x38
mov al, 1
add rbx, qword [r12]
lock cmpxchg byte [rbx], dil
je 0x180118913
inc esi
cmp esi, dword [r12 + 0x24]
jb 0x1801187b0
mov esi, 0xffffffff
mov r13d, edi
mov dword [rbp + 0xb0], esi
cmp dword [rbp + 0xa8], edi
jbe 0x1801188f5
mov r15d, dword [rbp + 0xa8]
lea rax, [0x1801522c0]
mov qword [rbp - 0x60], rax
mov eax, esi
imul rsi, rax, 0x38
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbp - 0x50]
mov ecx, r15d
mov rbx, qword [r12]
sub ecx, r13d
dec ecx
mov ecx, dword [rax + rcx*4]
mov rax, qword [rsp + 0x78]
lea rdx, [rcx + rcx*2]
lea rcx, [rax + rdx*8]
mov qword [rbp - 0x58], rcx
mov eax, r14d
xchg dword [rsi + rbx + 0x24], eax
test eax, eax
jne 0x180118834
mov edx, dword [rsi + rbx + 0x14]
lea r14, [rsi + rbx]
mov ecx, dword [r14 + 0x18]
inc edx
mov dword [r14 + 0x14], edx
cmp edx, ecx
jbe 0x18011886a
mov eax, edx
shr eax, 2
add eax, edx
test ecx, ecx
lea rcx, [r14 + 8]
cmovne edx, eax
call fcn.1801552f0
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x18011888f
mov ecx, dword [r14 + 0x10]
mov eax, dword [r14 + 0x14]
mov r8d, ecx
dec eax
imul ecx, eax
add rcx, rdx
lea rdx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memcpy
nop
mov dword [rsi + rbx + 0x24], edi
lock inc dword [rsi + rbx + 0x28]
mov ebx, edi
mov r14d, 1
cmp dword [r12 + 0x14], edi
jbe 0x1801188e2
nop dword [rax + rax]
mov rcx, qword [r12 + 8]
mov eax, ebx
imul rdx, rax, 0xa8
mov eax, r14d
xchg byte [rcx + rdx + 0xa0], al
mov rcx, qword [r12 + 8]
add rcx, 0x58
add rcx, rdx
call sub.MSVCP140.dll__Cnd_signal
inc ebx
cmp ebx, dword [r12 + 0x14]
jb 0x1801188b0
inc r13d
cmp r13d, r15d
jb 0x180118810
mov r15, qword [rbp + 0xa0]
lea rdx, [rbp + 0xb0]
mov rcx, r12
call fcn.1801617e0
movzx eax, byte [rsp + 0x50]
nop
test al, al
je 0x18011894b
xor r12b, r12b
jmp 0x180118953
mov eax, r14d
xchg dword [rbx + 0x24], eax
test eax, eax
jne 0x180118913
lea rcx, [rbx + 8]
mov dword [rbx + 0x20], edi
mov dword [rbx + 0x14], edi
cmp r13d, dword [rcx + 0x10]
jbe 0x180118935
mov edx, r13d
call fcn.1801552f0
nop
lea rax, [rbp]
mov dword [rbx + 0x24], edi
mov qword [rbx + 0x30], rax
mov eax, edi
xchg dword [rbx + 0x28], eax
jmp 0x1801187d5
mov byte [r15 + 0x48], 1
mov r12b, 1
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x18011897b
mov rbx, rdi
mov esi, eax
mov rcx, qword [rsp + 0x30]
add rcx, rbx
call fcn.1800d4880
add rbx, 0x1c8
sub rsi, 1
jne 0x180118961
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18011899d
mov rax, qword [0x180197198]
test rax, rax
je 0x180118995
call rax
jmp 0x18011899d
xor edx, edx
call qword [0x180197190]
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x180118a04
mov rbx, rdi
mov r15d, eax
nop dword [rax]
mov rsi, qword [rbp + 0xc0]
mov rcx, qword [rbx + rsi + 0x18]
test rcx, rcx
je 0x1801189d9
mov rax, qword [0x180197198]
test rax, rax
je 0x1801189d1
call rax
jmp 0x1801189d9
xor edx, edx
call qword [0x180197190]
mov rcx, qword [rbx + rsi]
test rcx, rcx
je 0x1801189fa
mov rax, qword [0x180197198]
test rax, rax
je 0x1801189f2
call rax
jmp 0x1801189fa
xor edx, edx
call qword [0x180197190]
add rbx, 0x30
sub r15, 1
jne 0x1801189b0
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x180118a2f
mov rax, qword [0x180197198]
test rax, rax
je 0x180118a20
call rax
jmp 0x180118a2f
mov rcx, qword [rbp + 0xc0]
xor edx, edx
call qword [0x180197190]
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x180118a5a
mov rbx, rdi
mov esi, eax
nop dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rbx
call fcn.1800d5010
add rbx, 0xb0
sub rsi, 1
jne 0x180118a40
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180118a7c
mov rax, qword [0x180197198]
test rax, rax
je 0x180118a74
call rax
jmp 0x180118a7c
xor edx, edx
call qword [0x180197190]
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x180118ad1
mov esi, eax
nop word [rax + rax]
mov rbx, qword [rsp + 0x28]
add rbx, rdi
lea rcx, [rbx + 0x1e8]
call fcn.1800d3de0
lea rcx, [rbx + 0x138]
call fcn.1800d4a10
lea rcx, [rbx + 0xd0]
call fcn.1800d47d0
mov rcx, rbx
call fcn.1800d3a00
add rdi, 0x380
sub rsi, 1
jne 0x180118a90
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180118af3
mov rax, qword [0x180197198]
test rax, rax
je 0x180118aeb
call rax
jmp 0x180118af3
xor edx, edx
call qword [0x180197190]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180118b14
mov rax, qword [0x180197198]
test rax, rax
je 0x180118b0c
call rax
jmp 0x180118b14
xor edx, edx
call qword [0x180197190]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x180118b35
mov rax, qword [0x180197198]
test rax, rax
je 0x180118b2d
call rax
jmp 0x180118b35
xor edx, edx
call qword [0x180197190]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180118b57
mov rax, qword [0x180197198]
test rax, rax
je 0x180118b4f
call rax
jmp 0x180118b57
xor edx, edx
call qword [0x180197190]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180118b79
mov rax, qword [0x180197198]
test rax, rax
je 0x180118b71
call rax
jmp 0x180118b79
xor edx, edx
call qword [0x180197190]
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x180118ba3
mov r8, qword [rsp + 0x60]
mov edx, 0x64
mov ecx, dword [rsp + 0x54]
call r9
test al, al
movzx eax, r12b
jne 0x180118ba7
xchg byte [rsp + 0x50], r14b
jmp 0x180118ba7
movzx eax, r12b
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret