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

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x98
xor eax, eax
mov qword [rsp + 0x48], rax
xorps xmm4, xmm4
movaps xmmword [rsp + 0x50], xmm4
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rsp + 0x80], xmm4
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xe8], rdx
mov rsi, r8
mov rdi, qword [rcx]
mov ebx, dword [rcx + 8]
lea rcx, [0x18027cb38]
call fcn.180004490
mov rbp, rax
mov rcx, rbp
mov edx, 0x3c
xor r8d, r8d
call fcn.180162140
xor r14d, r14d
cmp r14d, ebx
ja 0x180125590
mov r15d, r14d
add r15, rdi
mov eax, ebx
sub eax, r14d
cmp eax, 0x100
jb 0x180125596
mov rax, qword [r15 + 0x50]
movsxd rdx, eax
cmp rax, rdx
jne 0x18012558b
mov r12d, eax
mov r13d, r12d
cmp byte [rsp + 0xe8], 0
je 0x1801251fc
cmp dword [rsp + 0xec], r13d
jne 0x18012552a
xor eax, eax
mov rdx, qword [r15 + 0x40]
test rdx, rdx
jne 0x180125289
cmp r13d, 4
je 0x18012525b
test r13d, r13d
je 0x180125252
call fcn.18000174b
mov rcx, qword [rax + 0x18]
test r13d, r13d
jge 0x180125248
test rcx, rcx
je 0x180125230
call fcn.1800a79b0
jmp 0x180125235
call fcn.1800a7910
mov r8, qword [rax + 0x28]
mov ecx, r13d
mov edx, 0xffffffff
call fcn.18008daa0
jmp 0x180125250
mov ecx, r13d
call fcn.18008deb0
jmp 0x180125262
lea rax, [0x1803185d0]
jmp 0x180125262
lea rax, [0x18031cbf0]
test rax, rax
jne 0x18012526d
xor edx, edx
xor ecx, ecx
jmp 0x18012527e
lea rdx, [rax + 0xc]
mov qword [rsp + 0x40], rax
mov ecx, dword [rax + 8]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], ecx
jmp 0x1801252b8
movzx ecx, word [r15 + 0x38]
shr ecx, 1
mov qword [rsp + 0x40], rax
js 0x180125590
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x60], ecx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1801255b0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x88], rcx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x90], ecx
test rsi, rsi
je 0x18012532c
cmp dword [rsi + 8], 0
je 0x18012532c
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x90]
lea r8, [rsi + 0xc]
mov r9d, dword [rsi + 8]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x50], r9d
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov r8d, 5
call fcn.18008b960
test eax, eax
mov rax, qword [rsp + 0x40]
je 0x18012552a
test rax, rax
mov qword [rsp + 0x40], rax
jne 0x180125348
lea rcx, [rsp + 0x88]
call fcn.18015dd40
mov qword [rsp + 0x40], rax
lea rcx, [0x18026b460]
call fcn.180004490
mov qword [rsp + 0x38], rax
mov r8d, dword [r15 + 4]
mov dword [rsp + 0x6c], r8d
lea rcx, [rax + 0x10]
lea rdx, [0x18030e008]
call fcn.1800047a0
lea rcx, [0x1802905c8]
call fcn.180004490
mov qword [rsp + 0x28], rax
mov rcx, rax
mov edx, dword [rsp + 0x6c]
call fcn.18017fc70
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 8]
mov rdx, qword [rsp + 0x28]
call fcn.1800047a0
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 0x10]
mov rdx, qword [rsp + 0x40]
call fcn.1800047a0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x64], r13d
mov ecx, dword [r15 + 0x64]
mov dword [rax + 0x68], ecx
mov rcx, qword [r15 + 0xa0]
mov qword [rax + 0x18], rcx
mov rcx, qword [r15 + 0xb0]
mov qword [rax + 0x20], rcx
mov rcx, qword [r15 + 0x78]
mov qword [rax + 0x28], rcx
mov rcx, qword [r15 + 0x70]
mov qword [rax + 0x30], rcx
mov rcx, qword [r15 + 0x88]
mov qword [rax + 0x38], rcx
mov rcx, qword [r15 + 0x90]
mov qword [rax + 0x40], rcx
mov rcx, qword [r15 + 0xc0]
mov qword [rax + 0x48], rcx
mov rcx, qword [r15 + 0xb8]
mov qword [rax + 0x50], rcx
mov rcx, qword [r15 + 0xc8]
mov qword [rax + 0x58], rcx
mov ecx, dword [r15 + 0x48]
mov dword [rax + 0x60], ecx
mov ecx, dword [r15 + 0x60]
mov dword [rax + 0x6c], ecx
mov r13, rax
mov edx, r12d
mov rcx, rbp
mov r8, r13
mov r9d, 1
call fcn.180162400
lea r12d, [r14 + 0x100]
xor eax, eax
mov dword [rsp + 0x84], eax
cmp dword [r15 + 4], 0
je 0x18012552a
cmp r12d, ebx
ja 0x180125590
mov edx, r12d
add rdx, rdi
mov ecx, ebx
sub ecx, r12d
mov qword [rsp + 0x20], rdx
cmp ecx, 0x50
jb 0x180125596
lea rcx, [0x18026b498]
call fcn.180004490
mov rdx, rax
mov qword [rsp + 0x30], rdx
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + 0x28]
mov dword [rdx + 0x18], eax
mov rax, qword [rcx + 0x30]
mov qword [rdx + 8], rax
mov eax, dword [rcx + 0x3c]
mov dword [rdx + 0x1c], eax
mov eax, dword [rcx + 0x38]
mov dword [rdx + 0x20], eax
mov rax, qword [rcx + 0x20]
mov qword [rdx + 0x10], rax
mov eax, dword [rcx + 0x44]
mov dword [rdx + 0x24], eax
mov ecx, dword [rcx + 0x48]
call fcn.180124b20
mov rdx, qword [rsp + 0x30]
mov dword [rdx + 0x28], eax
mov rcx, qword [r13 + 8]
inc dword [rcx + 0x14]
mov rax, qword [rcx + 8]
mov r8d, dword [rcx + 0x10]
cmp dword [rax + 8], r8d
jbe 0x180125501
lea r9d, [r8 + 1]
mov dword [rcx + 0x10], r9d
mov ecx, r8d
lea rcx, [rax + rcx*8 + 0x10]
call fcn.1800047a0
jmp 0x180125506
call fcn.18017ff40
add r12d, 0x50
mov eax, dword [rsp + 0x84]
inc eax
movsxd rcx, eax
mov edx, dword [r15 + 4]
cmp rcx, rdx
mov dword [rsp + 0x84], eax
jl 0x180125462
cmp dword [r15], 0
je 0x180125538
add r14d, dword [r15]
jmp 0x1801251af
mov rcx, rbp
call fcn.1801621a0
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x38]
sub ecx, dword [rdx + 0x40]
movsxd rdx, ecx
lea rcx, [0x1802a3920]
call fcn.1800045b0
mov rsi, rax
mov rcx, rbp
call fcn.1801621a0
mov rcx, rax
mov rdx, rsi
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.180163470
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.180102450
call fcn.1800996a0
int3
mov ecx, 0x29
call fcn.180099ba0
int3