Function at 0x180113530
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 r15, rdx
mov r12, rcx
mov r10d, edi
mov r11d, edi
mov esi, edi
cmp r13d, 2
jb 0x1801135c4
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 0x180113590
cmp r14d, r13d
jb 0x1801135d0
jmp 0x1801135e0
test r13d, r13d
je 0x1801135e7
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 0x180113634
xor edx, edx
mov ecx, r14d
call r9
test al, al
jne 0x180113634
mov eax, r14d
xchg byte [rsp + 0x50], al
mov eax, dword [r12 + 0x3c]
mov byte [r12 + 0x48], dil
test eax, eax
je 0x18011370b
mov ecx, edi
mov dword [rbp + 0xb8], ecx
nop
mov eax, ecx
mov esi, edi
lea r14, [rax + rax*2]
mov rax, qword [r12 + 0x30]
cmp dword [rax + r14*8 + 0xc], edi
jbe 0x1801136bd
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rax + r14*8]
mov ebx, esi
mov rcx, qword [rax + rbx*8]
call fcn.1800cf5e0
mov rax, qword [r12 + 0x30]
mov rcx, qword [rax + r14*8]
mov rcx, qword [rcx + rbx*8]
test rcx, rcx
je 0x1801136a9
mov rax, qword [0x180192138]
test rax, rax
je 0x1801136a1
call rax
jmp 0x1801136a9
xor edx, edx
call qword [0x180192130]
mov rax, qword [r12 + 0x30]
inc esi
cmp esi, dword [rax + r14*8 + 0xc]
jb 0x180113670
mov ecx, dword [rbp + 0xb8]
inc ecx
mov dword [rax + r14*8 + 0xc], edi
mov eax, dword [r12 + 0x3c]
mov dword [rbp + 0xb8], ecx
cmp ecx, eax
jb 0x180113650
mov r14d, 1
cmp eax, r13d
je 0x18011370b
mov rax, qword [0x1801901d8]
test rax, rax
je 0x18011370b
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 [r12 + 0x3c], r13d
cmp r13d, dword [r12 + 0x40]
jbe 0x180113724
mov edx, r13d
lea rcx, [r12 + 0x30]
call fcn.180150470
mov edx, edi
cmp dword [r12 + 0x3c], edi
jbe 0x180113755
nop dword [rax]
mov eax, edx
inc edx
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 0x30]
mov qword [rax + rcx*8], rdi
mov qword [rax + rcx*8 + 8], 8
mov dword [rax + rcx*8 + 0x10], edi
cmp edx, dword [r12 + 0x3c]
jb 0x180113730
mov dword [r12 + 0x24], r13d
cmp r13d, dword [r12 + 0x28]
jbe 0x18011376e
mov edx, r13d
lea rcx, [r12 + 0x18]
call fcn.180150470
mov edx, edi
cmp dword [r12 + 0x24], edi
jbe 0x1801137c9
nop word [rax + rax]
mov eax, edx
inc edx
lea rcx, [rax + rax*8]
mov rax, qword [r12 + 0x18]
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 [r12 + 0x24]
jb 0x180113780
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], 0x18
mov dword [rbp - 0x78], edi
mov dword [rbp - 0x7c], r13d
test r13d, r13d
je 0x18011395f
mov edx, r13d
lea rcx, [rsp + 0x78]
call fcn.180150470
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 [r12]
lea rdx, [rdx + 0x18]
lea r8, [r8 + 8]
mov rcx, qword [r8 + rax - 8]
mov qword [rdx - 0x28], rcx
mov rcx, qword [r12 + 0x30]
add rcx, r10
add r10, 0x18
mov qword [rdx - 0x20], rcx
mov rcx, qword [r12 + 0x18]
add rcx, r9
add r9, 0x48
mov qword [rdx - 0x18], rcx
sub r11, 1
jne 0x180113810
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.180150470
mov r10, qword [rsp + 0x38]
mov r9d, edi
cmp r13d, 4
jb 0x180113918
lea eax, [r13 - 4]
mov r8, rdi
shr eax, 2
lea rdx, [r10 + 8]
inc eax
mov r11d, eax
lea r9d, [rax*4]
nop dword [rax + rax]
mov rax, qword [r12]
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 [r12]
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 [r12]
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 [r12]
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 0x1801138a0
cmp r9d, r13d
jb 0x180113920
jmp 0x180113978
test r13d, r13d
je 0x180113978
mov r8, rdi
mov eax, r13d
lea rdx, [r8*8]
sub eax, r9d
lea r8, [r10 + r8*4]
mov r9d, eax
mov rax, qword [r12]
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 0x180113935
jmp 0x180113978
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.1801545c0
call sub.MSVCP140.dll__Thrd_hardware_concurrency
mov ebx, eax
imul rdx, rbx, 0x380
mov esi, eax
test rdx, rdx
jne 0x1801139d5
mov rax, rdi
jmp 0x1801139dd
xor ecx, ecx
call qword [0x180192130]
mov qword [rsp + 0x28], rax
test ebx, ebx
je 0x180113a0d
mov rbx, rdi
nop dword [rax]
lea rcx, [rbx + rax]
call fcn.1800c86d0
lea rbx, [rbx + 0x380]
sub rsi, 1
je 0x180113a0d
mov rax, qword [rsp + 0x28]
jmp 0x1801139f0
call sub.MSVCP140.dll__Thrd_hardware_concurrency
mov esi, eax
imul rdx, rsi, 0xb0
mov ebx, eax
test rdx, rdx
jne 0x180113a27
mov rax, rdi
jmp 0x180113a2f
xor ecx, ecx
call qword [0x180192130]
mov qword [rsp + 0x20], rax
test esi, esi
je 0x180113ad4
mov rcx, rdi
nop
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 0x180113ad4
mov rax, qword [rsp + 0x20]
jmp 0x180113a40
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 0x180113aef
mov rax, rdi
jmp 0x180113af7
xor ecx, ecx
call qword [0x180192130]
mov qword [rbp + 0xc0], rax
test esi, esi
je 0x180113b46
mov rcx, rdi
nop word [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 0x180113b46
mov rax, qword [rbp + 0xc0]
jmp 0x180113b10
lea rcx, [rsp + 0x30]
call fcn.1800c6c80
lea rax, [rsp + 0x28]
mov qword [rbp + 0x18], r15
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 [r15 + 0x24], edi
jbe 0x180113bbe
nop word [rax + rax]
mov eax, esi
imul rbx, rax, 0x38
mov al, 1
add rbx, qword [r15]
lock cmpxchg byte [rbx], dil
je 0x180113cf0
inc esi
cmp esi, dword [r15 + 0x24]
jb 0x180113ba0
mov esi, 0xffffffff
mov r13d, edi
mov dword [rbp + 0xb0], esi
cmp dword [rbp + 0xa8], edi
jbe 0x180113cd2
mov r12d, dword [rbp + 0xa8]
lea rax, [0x18014d550]
mov qword [rbp - 0x60], rax
mov eax, esi
imul rsi, rax, 0x38
mov rax, qword [rbp - 0x50]
mov ecx, r12d
mov rbx, qword [r15]
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 0x180113c13
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 0x180113c4d
mov eax, edx
shr eax, 2
add eax, edx
test ecx, ecx
lea rcx, [r14 + 8]
cmovne edx, eax
call fcn.180150470
mov edx, dword [r14 + 0x14]
mov r9, qword [r14 + 8]
test r9, r9
je 0x180113c6f
mov ecx, dword [r14 + 0x10]
lea eax, [rdx - 1]
mov r8d, ecx
lea rdx, [rbp - 0x60]
imul ecx, eax
add rcx, r9
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 [r15 + 0x14], edi
jbe 0x180113cbf
nop word [rax + rax]
mov rcx, qword [r15 + 8]
mov eax, ebx
imul rdx, rax, 0xa8
mov eax, r14d
xchg byte [rcx + rdx + 0xa0], al
mov rcx, qword [r15 + 8]
add rcx, 0x58
add rcx, rdx
call sub.MSVCP140.dll__Cnd_signal
inc ebx
cmp ebx, dword [r15 + 0x14]
jb 0x180113c90
inc r13d
cmp r13d, r12d
jb 0x180113bf0
mov r12, qword [rbp + 0xa0]
lea rdx, [rbp + 0xb0]
mov rcx, r15
call fcn.18015bf20
movzx eax, byte [rsp + 0x50]
nop
test al, al
je 0x180113d28
xor r12b, r12b
jmp 0x180113d31
mov eax, r14d
xchg dword [rbx + 0x24], eax
test eax, eax
jne 0x180113cf0
lea rcx, [rbx + 8]
mov dword [rbx + 0x20], edi
mov dword [rbx + 0x14], edi
cmp r13d, dword [rcx + 0x10]
jbe 0x180113d12
mov edx, r13d
call fcn.180150470
nop
lea rax, [rbp]
mov dword [rbx + 0x24], edi
mov qword [rbx + 0x30], rax
mov eax, edi
xchg dword [rbx + 0x28], eax
jmp 0x180113bc3
mov byte [r12 + 0x48], 1
mov r12b, 1
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x180113d5a
mov rbx, rdi
mov esi, eax
nop
mov rcx, qword [rsp + 0x30]
add rcx, rbx
call fcn.1800d0220
add rbx, 0x1c8
sub rsi, 1
jne 0x180113d40
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180113d7c
mov rax, qword [0x180192138]
test rax, rax
je 0x180113d74
call rax
jmp 0x180113d7c
xor edx, edx
call qword [0x180192130]
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x180113de4
mov rbx, rdi
mov r15d, eax
nop dword [rax + rax]
mov rsi, qword [rbp + 0xc0]
mov rcx, qword [rbx + rsi + 0x18]
test rcx, rcx
je 0x180113db9
mov rax, qword [0x180192138]
test rax, rax
je 0x180113db1
call rax
jmp 0x180113db9
xor edx, edx
call qword [0x180192130]
mov rcx, qword [rbx + rsi]
test rcx, rcx
je 0x180113dda
mov rax, qword [0x180192138]
test rax, rax
je 0x180113dd2
call rax
jmp 0x180113dda
xor edx, edx
call qword [0x180192130]
add rbx, 0x30
sub r15, 1
jne 0x180113d90
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x180113e0f
mov rax, qword [0x180192138]
test rax, rax
je 0x180113e00
call rax
jmp 0x180113e0f
mov rcx, qword [rbp + 0xc0]
xor edx, edx
call qword [0x180192130]
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x180113e3a
mov rbx, rdi
mov esi, eax
nop dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rbx
call fcn.1800d08e0
add rbx, 0xb0
sub rsi, 1
jne 0x180113e20
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180113e5c
mov rax, qword [0x180192138]
test rax, rax
je 0x180113e54
call rax
jmp 0x180113e5c
xor edx, edx
call qword [0x180192130]
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x180113eb1
mov esi, eax
nop word [rax + rax]
mov rbx, qword [rsp + 0x28]
add rbx, rdi
lea rcx, [rbx + 0x1e8]
call fcn.1800cf7a0
lea rcx, [rbx + 0x138]
call fcn.1800d03b0
lea rcx, [rbx + 0xd0]
call fcn.1800d0170
mov rcx, rbx
call fcn.1800cf3e0
add rdi, 0x380
sub rsi, 1
jne 0x180113e70
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180113ed3
mov rax, qword [0x180192138]
test rax, rax
je 0x180113ecb
call rax
jmp 0x180113ed3
xor edx, edx
call qword [0x180192130]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180113ef4
mov rax, qword [0x180192138]
test rax, rax
je 0x180113eec
call rax
jmp 0x180113ef4
xor edx, edx
call qword [0x180192130]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x180113f15
mov rax, qword [0x180192138]
test rax, rax
je 0x180113f0d
call rax
jmp 0x180113f15
xor edx, edx
call qword [0x180192130]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180113f37
mov rax, qword [0x180192138]
test rax, rax
je 0x180113f2f
call rax
jmp 0x180113f37
xor edx, edx
call qword [0x180192130]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180113f59
mov rax, qword [0x180192138]
test rax, rax
je 0x180113f51
call rax
jmp 0x180113f59
xor edx, edx
call qword [0x180192130]
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x180113f83
mov r8, qword [rsp + 0x60]
mov edx, 0x64
mov ecx, dword [rsp + 0x54]
call r9
test al, al
movzx eax, r12b
jne 0x180113f87
xchg byte [rsp + 0x50], r14b
jmp 0x180113f87
movzx eax, r12b
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret