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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
push rdi
sub rsp, 0x88
mov qword [rax + 0x18], rbp
lea r11d, [r8 + r8]
mov qword [rax - 0x18], rsi
xor edi, edi
cmp byte [rcx + 0x2f], dil
lea rsi, [0x180000000]
mov qword [rax - 0x20], r12
mov rbx, rcx
mov qword [rax - 0x28], r13
mov r10, rdx
mov qword [rax - 0x30], r14
mov ecx, 0xffffffff
mov qword [rax - 0x38], r15
mov edx, edi
mov eax, edi
mov dword [rsp + 0xa0], ecx
setne al
mov dword [rsp + 0xb8], edx
inc eax
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x24], eax
lea r15, [rbx + 0x423c8]
lea rax, [rbx + 0x423a0]
mov qword [rsp + 0x30], rax
lea r14, [r10 + 0x50]
jmp 0x18002c2d2
xor edi, edi
mov r13d, dword [r10]
cmp r13d, 3
jne 0x18002c2e3
mov dword [rbx + 0x426c8], edi
jmp 0x18002c2e9
cmp r13d, 2
jne 0x18002c30d
cmp edx, 1
jne 0x18002c304
cmp byte [rbx + 0x42349], 0
jne 0x18002c2fc
mov r13d, edi
jmp 0x18002c30d
mov r13d, 2
jmp 0x18002c31b
lea eax, [r13 - 2]
cmp eax, 1
jbe 0x18002c31b
cmp byte [rbx + 0x426cf], 0
je 0x18002c321
test r13d, r13d
jne 0x18002c321
mov dword [rbx + 0x426dc], edi
movzx r9d, byte [rbx + 0x426ce]
test r9b, r9b
jne 0x18002c337
cmp byte [rbx + 0x426cd], r9b
je 0x18002c357
mov ecx, dword [rbx + 0x426d0]
mov eax, dword [rbx + 0x426dc]
dec ecx
lea rdx, [rax + rcx*8]
mov ecx, dword [rsi + rdx*4 + 0xee030]
mov dword [rsp + 0xa0], ecx
movzx r8d, byte [rbx + 0x426cf]
test r8b, r8b
je 0x18002c384
mov ecx, dword [rbx + 0x426d0]
mov eax, dword [rbx + 0x426dc]
dec ecx
lea rdx, [rax + rcx*8]
mov ecx, dword [rsi + rdx*4 + 0xee0b0]
mov dword [rsp + 0xa0], ecx
cmp r13d, 3
jne 0x18002c38f
mov r12d, r13d
jmp 0x18002c3a8
cmp r13d, 1
jne 0x18002c3a2
cmp byte [r10 + 0x1a88], 0
mov r12d, edi
je 0x18002c3a8
mov r12d, 2
test r8b, r8b
jne 0x18002c3d1
test r9b, r9b
jne 0x18002c3d1
cmp byte [rbx + 0x426cd], r9b
jne 0x18002c3d1
cmp byte [rbx + 0x31], r9b
je 0x18002c3ea
cmp r13d, 1
jne 0x18002c3ea
test r12d, r12d
jne 0x18002c3ea
mov r13d, edi
jmp 0x18002c3ea
cmp dword [rbx + 0x426d0], 1
jbe 0x18002c3ea
cmp ecx, dword [rbx + 0x426e0]
mov r12d, 3
cmove r12d, edi
mov dword [r14], r13d
mov dword [r14 + 8], r11d
mov dword [r14 + 0x10], r12d
cmp byte [rbx + 0x426cd], 0
je 0x18002c41b
test ecx, ecx
mov eax, edi
cmovg eax, ecx
mov dword [r14 + 0x5c], eax
add ecx, dword [rbx + 0x426e4]
mov dword [r14 + 0x58], ecx
mov qword [r14 + 0x60], 0
test byte [r14 - 0x38], 0x20
je 0x18002c52b
test dword [rbx + 0xa39c], 0x4000
je 0x18002c52b
lea rdi, [rbx + 0x42598]
mov edx, 0xffffffff
lea rcx, [rdi + 0x28]
call fcn.1800645f0
test al, al
je 0x18002c4b1
lea rcx, [rdi + 8]
call fcn.1800645e0
mov ecx, dword [rdi + 0x40]
mov rax, qword [rdi]
mov esi, dword [rdi + 0x38]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x28], rax
lea eax, [rcx + 1]
mov dword [rdi + 0x40], eax
cmp eax, esi
jb 0x18002c479
sub eax, esi
mov dword [rdi + 0x40], eax
mov ebp, dword [rdi + 0x3c]
lea rcx, [rdi + 0x18]
lea eax, [rbp - 1]
mov dword [rdi + 0x3c], eax
call fcn.180064e00
lea rcx, [rdi + 8]
call fcn.180065570
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x18002c4aa
cmp ebp, esi
jne 0x18002c4aa
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x10]
lea r15, [rbx + 0x423c8]
mov rsi, qword [rsp + 0x28]
lea rdi, [rbx + 0x425e8]
lea rcx, [rdi + 0x18]
mov qword [r14 + 0x698], rsi
xor edx, edx
call fcn.1800645f0
test al, al
je 0x18002c52b
lea rcx, [rdi + 8]
call fcn.1800645e0
mov ecx, dword [rdi + 0x44]
mov rax, qword [rdi]
mov qword [rax + rcx*8], rsi
mov eax, dword [rdi + 0x44]
mov edx, dword [rdi + 0x38]
inc eax
mov dword [rdi + 0x44], eax
cmp eax, edx
jb 0x18002c4fa
sub eax, edx
mov dword [rdi + 0x44], eax
mov esi, dword [rdi + 0x3c]
lea rcx, [rdi + 0x28]
lea eax, [rsi + 1]
mov dword [rdi + 0x3c], eax
call fcn.180064e00
lea rcx, [rdi + 8]
call fcn.180065570
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x18002c52b
test esi, esi
jne 0x18002c52b
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov edx, 0xffffffff
call fcn.1800645f0
test al, al
je 0x18002c5aa
lea rcx, [rbx + 0x42380]
call fcn.1800645e0
lea rdx, [rbx + 0x42378]
mov ecx, dword [rdx + 0x40]
mov rax, qword [rdx]
mov edi, dword [rdx + 0x38]
mov r8, qword [rax + rcx*8]
lea eax, [rcx + 1]
mov qword [rsp + 0x38], r8
mov dword [rdx + 0x40], eax
cmp eax, edi
jb 0x18002c572
sub eax, edi
mov dword [rdx + 0x40], eax
mov esi, dword [rdx + 0x3c]
lea rcx, [rdx + 0x18]
lea eax, [rsi - 1]
mov dword [rdx + 0x3c], eax
call fcn.180064e00
lea rcx, [rbx + 0x42380]
call fcn.180065570
lea rdx, [rbx + 0x42378]
mov rcx, qword [rdx + 0x48]
test rcx, rcx
je 0x18002c5aa
cmp esi, edi
jne 0x18002c5aa
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [rsp + 0x38]
lea rcx, [r15 + 0x18]
xor edx, edx
mov rax, qword [rdi]
mov qword [r14 - 0x18], rax
mov rax, qword [rdi + 8]
mov qword [r14 - 0x10], rax
call fcn.1800645f0
test al, al
je 0x18002c62c
lea rcx, [r15 + 8]
call fcn.1800645e0
mov ecx, dword [r15 + 0x44]
mov rax, qword [r15]
mov qword [rax + rcx*8], rdi
mov eax, dword [r15 + 0x44]
mov edx, dword [r15 + 0x38]
inc eax
mov dword [r15 + 0x44], eax
cmp eax, edx
jb 0x18002c5f9
sub eax, edx
mov dword [r15 + 0x44], eax
mov edi, dword [r15 + 0x3c]
lea rcx, [r15 + 0x28]
lea eax, [rdi + 1]
mov dword [r15 + 0x3c], eax
call fcn.180064e00
lea rcx, [r15 + 8]
call fcn.180065570
mov rcx, qword [r15 + 0x48]
test rcx, rcx
je 0x18002c62c
test edi, edi
jne 0x18002c62c
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 8]
cmp dword [r14 + 0x2c], 0
jbe 0x18002c713
xor ebp, ebp
xor esi, esi
nop dword [rax + rax]
mov rax, qword [r14 + 0x30]
mov r8d, r13d
mov r9, qword [rbx]
mov rcx, rbx
mov edi, esi
add rdi, rdi
mov edx, dword [rax + rdi*8 + 4]
call qword [r9 + 0xd8]
test al, al
jne 0x18002c68b
mov rcx, qword [r14 + 0x30]
mov rcx, qword [rcx + rdi*8 + 8]
call fcn.180068884
mov rax, qword [r14 + 0x30]
xor ecx, ecx
inc ebp
mov qword [rax + rdi*8 + 8], rcx
mov rax, qword [r14 + 0x30]
mov dword [rax + rdi*8], ecx
mov rax, qword [r14 + 0x30]
mov dword [rax + rdi*8 + 4], ecx
mov eax, dword [r14 + 0x2c]
inc esi
cmp esi, eax
jb 0x18002c640
cmp ebp, eax
jae 0x18002c713
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [r14 - 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rcx]
call qword [rax + 0x118]
test eax, eax
je 0x18002c713
cmp eax, 0x11
je 0x18002c713
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x170]
mov rcx, rax
lea rdx, [0x1800ca440]
call fcn.18009f210
test eax, eax
je 0x18002c713
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x170]
lea rcx, [rbx + 0x422a9]
mov r8d, 0x9f
mov rdx, rax
call fcn.18009cf90
mov byte [rbx + 0x42348], 0
mov eax, dword [rsp + 0x20]
lea rdx, [r14 - 0x48]
mov dword [r14 + 8], eax
mov dword [r14], r13d
mov dword [r14 + 0x10], r12d
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov edi, eax
test eax, eax
je 0x18002c808
cmp eax, 0x11
je 0x18002c808
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
call qword [rdx + 0x170]
mov rcx, rax
lea rdx, [0x1800ca440]
call fcn.18009f210
test eax, eax
je 0x18002c78f
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x170]
lea rcx, [rbx + 0x422a9]
mov r8d, 0x9f
mov rdx, rax
call fcn.18009cf90
mov byte [rbx + 0x42348], 0
cmp edi, 0x12
jne 0x18002c808
mov ecx, 1
call sub.KERNEL32.dll_Sleep
mov rcx, qword [rbx + 8]
lea rdx, [r14 - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov edi, eax
test eax, eax
je 0x18002c808
cmp eax, 0x11
je 0x18002c808
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x170]
mov rcx, rax
lea rdx, [0x1800ca440]
call fcn.18009f210
test eax, eax
je 0x18002c803
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x170]
lea rcx, [rbx + 0x422a9]
mov r8d, 0x9f
mov rdx, rax
call fcn.18009cf90
mov byte [rbx + 0x42348], 0
cmp edi, 0x12
je 0x18002c794
cmp byte [rbx + 0x2c], 0
je 0x18002c824
test byte [r14 - 0x38], 8
jne 0x18002c824
mov rdx, qword [r14 - 0x20]
xor r8d, r8d
mov rcx, rbx
call fcn.180029970
mov edx, dword [rsp + 0xb8]
lea rsi, [0x180000000]
mov ecx, dword [rsp + 0xa0]
inc edx
mov r10, qword [rsp + 0xa8]
add r14, 0xd28
mov r11d, dword [rsp + 0x20]
mov dword [rsp + 0xb8], edx
cmp edx, dword [rsp + 0x24]
jb 0x18002c2d0
cmp byte [rbx + 0x426cf], 0
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xb0]
jne 0x18002c89a
cmp byte [rbx + 0x426ce], 0
jne 0x18002c89a
cmp byte [rbx + 0x426cd], 0
je 0x18002c8b4
inc dword [rbx + 0x426dc]
xor edx, edx
mov eax, dword [rbx + 0x426dc]
div dword [rbx + 0x426d8]
mov dword [rbx + 0x426dc], edx
test r12d, r12d
mov eax, edi
mov r12, qword [rsp + 0x78]
je 0x18002c8c6
inc dword [rbx + 0x426c8]
add rsp, 0x88
pop rdi
pop rbx
ret