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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x88]
lea r12d, [rdx + 0x468]
mov r14, r8
mov ebp, edx
mov r13, rcx
cmp edx, r12d
jae 0x180015437
mov r15, qword [rsp + 0x88]
lea rdx, [0x180000000]
nop
cmp ebp, 0x124
ja 0x180015516
je 0x1800154f0
lea eax, [rbp - 0x1c]
cmp eax, 0xa0
ja case.0x180015402.34
movzx eax, byte [rdx + rax + 0x1566c]
mov ecx, dword [rdx + rax*4 + 0x15650]
add rcx, rdx
jmp rcx
mov qword [rsp + 0x88], r13
jmp case.0x180015402.34
mov rcx, qword [rsp + 0x88]
mov eax, 1
xchg dword [rcx + 0x11c], eax
jmp case.0x180015402.34
cmp byte [r13 + 0x118], 0
jne case.0x180015402.34
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [r13 + 0x48]
mov ecx, 0x90
call fcn.180016d50
jmp 0x180015638
mov rcx, qword [r13 + 0x40]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [r13 + 0x18]
mov rsi, qword [r13 + 0x20]
cmp rdi, rsi
je 0x180015638
cmp qword [r14 + 0x18], 0x10
mov rdx, r14
jb 0x18001548f
mov rdx, qword [r14]
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
jb 0x18001549c
mov rcx, qword [rdi]
mov r8, qword [rdi + 0x10]
cmp r8, qword [r14 + 0x10]
jne 0x1800154e2
call fcn.180042d20
test eax, eax
jne 0x1800154e2
mov ecx, 0x51
mov eax, ecx
sub eax, 0x51
je 0x1800154d4
cmp eax, 0x4d
jne 0x1800154d7
mov rcx, qword [r13 + 0x40]
mov ebp, 0x90
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x180015638
inc dword [rdi + 0x24]
add ecx, 0x4d
cmp ecx, 0xeb
jb 0x1800154b4
add rdi, 0x28
cmp rdi, rsi
jne 0x180015482
jmp 0x180015638
mov rdx, qword [0x18007d6b8]
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xa9
call fcn.1800069f0
test al, al
jne 0x180015638
xor eax, eax
jmp 0x18001543a
mov eax, ebp
sub eax, 0x182
je 0x18001561c
sub eax, 0x5e
je 0x1800155ce
sub eax, 0x5e
je 0x18001555e
sub eax, 0x5e
je 0x180015544
cmp eax, 0x5e
je 0x180015437
jmp case.0x180015402.34
mov rcx, qword [0x18007d6b8]
xor edx, edx
lea r8d, [rdx + 0x3c]
call fcn.180038030
mov rbx, r15
jmp 0x180015638
mov rcx, qword [r13 + 0x28]
call qword [r13 + 0x20]
test al, al
je 0x180015638
xor edi, edi
lea esi, [rdi + 8]
lea rdx, [0x180000000]
cmp edi, 7
ja case.0x180015589.0
mov ecx, dword [rdx + rdi*4 + 0x15710]
add rcx, rdx
jmp rcx
mov rdx, r13
mov ecx, 0x93
call fcn.180016d50
jmp 0x1800155bd
xor ecx, ecx
call fcn.18004a3f8
mov qword [rsp + 0x20], rax
jmp 0x1800155bd
call qword [r13 + 0x50]
jmp 0x1800155bd
xor ecx, ecx
call fcn.18004a3f8
mov r15, rax
sub r15, qword [rsp + 0x20]
lea rdx, [0x180000000]
inc edi
sub rsi, 1
jne 0x180015573
jmp case.0x180015402.34
mov edx, 0xe5
mov rcx, r13
call fcn.180026510
test al, al
jne 0x180015617
mov edi, 0x115
mov eax, edi
sub eax, 0x115
je 0x1800155f8
cmp eax, 0x5d
je 0x180015437
jmp 0x18001560c
mov rcx, qword [0x18007d6b8]
xor edx, edx
lea r8d, [rdx + 0x3c]
call fcn.180038030
xor ebx, ebx
add edi, 0x5d
cmp edi, 0x1cf
jb 0x1800155e4
xor r15d, r15d
jmp 0x180015638
mov rcx, qword [0x18007d6b8]
lea r9, [rsp + 0x78]
xor edx, edx
mov byte [rsp + 0x78], 1
lea r8d, [rdx + 0x2b]
call fcn.180034fc0
lea rdx, [0x180000000]
add ebp, 0x5e
cmp ebp, r12d
jb 0x1800153d0
jmp 0x180015437