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

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov r12d, edx
mov qword [rsp + 0x48], r14
mov r14, rcx
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x18002989e
call qword [0x1800fe1f0]
mov rcx, qword [r14 + 0x28]
call fcn.180057430
mov rax, qword [r14]
test rax, rax
je 0x1800298be
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1800298be
call qword [0x1800fe1f0]
mov ebx, dword [r14 + 0x30]
test ebx, ebx
je 0x1800298d2
lea eax, [rbx - 5]
cmp eax, 1
ja 0x18002a03a
mov rax, qword [r14 + 0x28]
mov r8, qword [r14 + 8]
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x68], rsi
mov rcx, qword [rax + 8]
mov rax, qword [r8 + 8]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x40], r15
xor r15d, r15d
mov rdi, qword [rcx]
mov rdx, qword [rax]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x98], rdi
mov dword [rsp + 0x90], r15d
cmp qword [r14], r15
je 0x18002992b
cmp byte [rcx + 0x27], 2
jne 0x18002992b
lea ebx, [r15 + 5]
jmp 0x180029b03
mov ebx, r15d
cmp dword [r14 + 0x14], ebx
jne 0x180029963
mov edx, 2
mov rcx, r8
call fcn.1800564f0
mov ebx, eax
test eax, eax
jne 0x180029b03
mov rcx, qword [r14 + 8]
lea r8, [r14 + 0x10]
lea edx, [rax + 1]
mov dword [r14 + 0x14], 1
call fcn.1800576d0
mov rbp, qword [r14 + 0x28]
cmp byte [rbp + 0x10], r15b
jne 0x180029b03
mov rdi, qword [rbp + 8]
mov rcx, rbp
mov ebx, r15d
call fcn.180057430
movzx eax, byte [rbp + 0x10]
dec al
cmp al, 1
jbe 0x180029acd
cmp byte [rdi + 0x89], bl
je 0x1800299ac
mov rax, qword [rdi + 0x80]
cmp qword [rax], rbx
je 0x1800299ac
mov ebx, 0x106
jmp 0x180029acd
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], bl
je 0x1800299fa
cmp qword [rax + 0x80], rbp
je 0x1800299d0
cmp byte [rax + 0x88], bl
je 0x1800299d0
mov ebx, 0x106
jmp 0x180029acd
mov rax, qword [rax + 0x78]
test rax, rax
je 0x1800299fa
nop dword [rax]
cmp qword [rax], rbp
je 0x1800299f1
cmp dword [rax + 8], 1
jne 0x1800299f1
cmp byte [rax + 0xc], 1
jne 0x1800299a2
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1800299e0
cmp dword [rdi + 0x40], r15d
sete al
mov byte [rdi + 0x23], al
cmp qword [rdi + 0x18], r15
jne 0x180029a1a
mov rcx, rdi
call fcn.1800455f0
mov ebx, eax
test eax, eax
je 0x180029a04
jmp 0x180029a1e
test ebx, ebx
je 0x180029a58
cmp byte [rdi + 0x27], r15b
jne 0x180029a58
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180029a58
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x180029a54
mov rsi, qword [rcx + 0x20]
call fcn.18006e7f0
mov rax, qword [rsi + 0xe0]
cmp dword [rax + 0x18], r15d
jne 0x180029a54
mov rcx, rsi
call fcn.180049c70
mov qword [rdi + 0x18], r15
cmp bl, 5
jne 0x180029a98
cmp byte [rdi + 0x27], r15b
jne 0x180029a98
mov rsi, qword [rdi + 8]
add rsi, 0x2b8
je 0x180029a98
mov rax, qword [rsi]
test rax, rax
je 0x180029a98
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x180029a98
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x180029a91
inc dword [rsi + 0x10]
jmp 0x180029a04
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x180029acd
cmp byte [rbp + 0x10], r15b
jne 0x180029abf
inc dword [rdi + 0x3c]
cmp byte [rbp + 0x11], r15b
je 0x180029abf
mov byte [rbp + 0x3c], 1
mov rax, qword [rdi + 0x78]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rdi + 0x78], rax
mov byte [rbp + 0x10], 1
cmp byte [rdi + 0x27], 1
jae 0x180029acd
mov byte [rdi + 0x27], 1
cmp byte [rbp + 0x11], r15b
je 0x180029af0
sub dword [rbp + 0x14], 1
jne 0x180029af0
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x180029aec
call qword [0x1800fe200]
mov byte [rbp + 0x12], r15b
mov rdi, qword [rsp + 0x98]
mov dword [rsp + 0x90], 1
mov rax, qword [r14 + 0x28]
mov r8d, 8
mov rcx, qword [rax + 8]
mov rax, qword [r14 + 8]
mov edx, dword [rcx + 0x34]
mov rax, qword [rax + 8]
mov dword [rsp + 0x80], edx
mov r13d, dword [rax + 0x34]
test ebx, ebx
jne 0x180029b3b
mov rax, qword [rax]
cmp byte [rax + 9], 5
jne 0x180029b3b
cmp edx, r13d
cmovne ebx, r8d
movsxd r15, dword [rcx + 0x40]
xor ebp, ebp
test r12d, r12d
js 0x180029b4f
cmp ebp, r12d
jge 0x180029bdd
mov esi, dword [r14 + 0x18]
cmp esi, r15d
ja 0x180029bdd
test ebx, ebx
jne 0x180029c26
mov rax, qword [r14 + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x1800fe0d8]
div dword [rcx + 0x34]
inc eax
cmp esi, eax
je 0x180029bca
xor r9d, r9d
lea r8, [rsp + 0x20]
mov edx, esi
mov rcx, rdi
call fcn.18006be30
mov ebx, eax
test eax, eax
jne 0x180029bca
mov rdi, qword [rsp + 0x20]
mov edx, esi
mov rcx, r14
mov r8, qword [rdi]
call fcn.1800310a0
mov rsi, qword [rdi + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.18006e7f0
mov rax, qword [rsi + 0xe0]
cmp dword [rax + 0x18], 0
jne 0x180029bca
mov rcx, rsi
call fcn.180049c70
inc dword [r14 + 0x18]
mov rdi, qword [rsp + 0x98]
inc ebp
jmp 0x180029b41
test ebx, ebx
jne 0x180029c26
mov eax, r15d
mov dword [r14 + 0x38], r15d
sub eax, dword [r14 + 0x18]
inc eax
mov dword [r14 + 0x34], eax
cmp dword [r14 + 0x18], r15d
ja 0x180029c2f
cmp dword [r14 + 0x3c], ebx
jne 0x180029f01
mov rax, qword [r14 + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [r14 + 0x40], rax
mov qword [rdx + 0x70], r14
mov dword [r14 + 0x3c], 1
jmp 0x180029f01
cmp ebx, 0x65
jne 0x180029f01
mov rdi, qword [r14 + 8]
mov esi, dword [r14 + 0x10]
mov rcx, rdi
inc esi
mov rbx, qword [rdi + 8]
call fcn.180057430
mov rcx, qword [rbx + 0x18]
mov rbp, qword [rcx + 0x70]
mov rcx, qword [rcx + 0x78]
call fcn.18006d820
mov ebx, eax
test eax, eax
jne 0x180029c78
mov eax, esi
mov byte [rbp + 0x2b], sil
shr eax, 0x18
mov byte [rbp + 0x28], al
mov eax, esi
shr eax, 0x10
mov byte [rbp + 0x29], al
mov eax, esi
shr eax, 8
mov byte [rbp + 0x2a], al
cmp byte [rdi + 0x11], 0
je 0x180029c9b
sub dword [rdi + 0x14], 1
jne 0x180029c9b
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x180029c97
call qword [0x1800fe200]
mov byte [rdi + 0x12], 0
test ebx, ebx
jne 0x180029f01
mov rcx, qword [r14]
test rcx, rcx
je 0x180029cb3
or edx, 0xffffffff
call fcn.180072d30
movsxd rbp, dword [rsp + 0x80]
cmp ebp, r13d
jge 0x180029cf7
mov eax, r13d
cdq
idiv ebp
mov ecx, eax
lea eax, [r15 - 1]
add eax, ecx
cdq
idiv ecx
mov rcx, qword [r14 + 8]
xor edx, edx
mov r9d, eax
mov eax, dword [0x1800fe0d8]
mov r8, qword [rcx + 8]
lea ecx, [r9 - 1]
div dword [r8 + 0x34]
inc eax
cmp r9d, eax
cmovne ecx, r9d
jmp 0x180029d03
mov eax, ebp
cdq
idiv r13d
mov ecx, eax
imul ecx, r15d
mov rax, qword [rsp + 0x28]
xor edx, edx
mov dword [rax + 0x1c], ecx
mov rcx, rax
cmp ebp, r13d
jge 0x180029e74
mov rsi, r15
lea r8d, [rdx + 1]
mov r15, qword [rax + 0x48]
mov r12, rbp
imul rsi, rbp
mov qword [rsp + 0x30], rsi
call fcn.18006c310
mov edx, dword [0x1800fe0d8]
mov ebx, eax
lea eax, [rdx + r13]
mov r13, rsi
movsxd rcx, eax
lea eax, [rdx + rbp]
cmp rcx, rsi
movsxd rdi, eax
cmovl r13, rcx
test ebx, ebx
jne 0x180029f01
nop dword [rax]
cmp rdi, r13
jge 0x180029dee
mov rcx, qword [rsp + 0x98]
lea r8, [rsp + 0x20]
mov rax, rdi
mov qword [rsp + 0x20], 0
cqo
xor r9d, r9d
idiv r12
lea edx, [rax + 1]
call fcn.18006be30
mov rsi, qword [rsp + 0x20]
mov ebx, eax
test eax, eax
jne 0x180029db1
mov rax, qword [r15]
mov r9, rdi
mov rdx, qword [rsi]
mov r8d, ebp
mov rcx, r15
call qword [rax + 0x18]
mov ebx, eax
test rsi, rsi
je 0x180029dde
mov rbp, qword [rsi + 0x20]
mov rcx, rsi
call fcn.18006e7f0
mov rax, qword [rbp + 0xe0]
cmp dword [rax + 0x18], 0
jne 0x180029dd7
mov rcx, rbp
call fcn.180049c70
mov ebp, dword [rsp + 0x80]
add rdi, r12
test ebx, ebx
je 0x180029d60
jmp 0x180029f01
test ebx, ebx
jne 0x180029f01
mov rax, qword [r15]
lea rdx, [rsp + 0x80]
mov rcx, r15
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x180029e2a
mov rsi, qword [rsp + 0x30]
cmp qword [rsp + 0x80], rsi
jle 0x180029e2a
mov rax, qword [r15]
mov rdx, rsi
mov rcx, r15
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x180029f01
mov rax, qword [rsp + 0x28]
mov dword [rsp + 0x80], ebx
mov rcx, qword [rax + 0x48]
cmp byte [rax + 0xc], bl
jne 0x180029e53
movzx edx, byte [rax + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x180029e7c
cmp qword [rcx], rbx
je 0x180029e7e
mov rax, qword [rcx]
lea r8, [rsp + 0x80]
mov edx, 8
call qword [rax + 0x50]
mov ebx, dword [rsp + 0x80]
jmp 0x180029e7e
xor r8d, r8d
call fcn.18006c310
mov ebx, eax
test ebx, ebx
jne 0x180029f01
mov rdi, qword [r14 + 8]
cmp byte [rdi + 0x10], bl
je 0x180029efc
mov rcx, rdi
call fcn.180057430
cmp byte [rdi + 0x10], 2
jne 0x180029ed1
mov r15, qword [rdi + 8]
mov rsi, qword [r15]
mov ebx, dword [rsi + 0x2c]
test ebx, ebx
jne 0x180029f9a
cmp byte [rsi + 0x13], 2
jne 0x180029f70
cmp byte [rsi + 8], bl
je 0x180029f70
cmp byte [rsi + 9], 1
jne 0x180029f70
mov byte [rsi + 0x13], 1
mov byte [r15 + 0x27], 1
mov rcx, rdi
call fcn.180034410
cmp byte [rdi + 0x11], 0
je 0x180029efc
sub dword [rdi + 0x14], 1
jne 0x180029efc
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x180029ef8
call qword [0x1800fe200]
mov byte [rdi + 0x12], 0
mov ebx, 0x65
cmp dword [rsp + 0x90], 0
mov r13, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x88]
je 0x18002a01e
mov rcx, qword [r14 + 0x28]
xor edx, edx
call fcn.180056b80
mov rdi, qword [r14 + 0x28]
cmp byte [rdi + 0x10], 0
je 0x18002a01e
mov rcx, rdi
call fcn.180057430
cmp byte [rdi + 0x10], 2
jne 0x180029ff3
mov r15, qword [rdi + 8]
mov rsi, qword [r15]
mov eax, dword [rsi + 0x2c]
test eax, eax
jne 0x180029ffb
cmp byte [rsi + 0x13], 2
jne 0x180029fca
cmp byte [rsi + 8], al
je 0x180029fca
cmp byte [rsi + 9], 1
jne 0x180029fca
mov byte [rsi + 0x13], 1
jmp 0x180029fee
movzx edx, byte [rsi + 0x16]
mov rcx, rsi
call fcn.18004a130
mov ebx, eax
movzx eax, al
cmp eax, 0xd
je 0x180029f8b
cmp eax, 0xa
jne 0x180029f92
mov dword [rsi + 0x2c], ebx
mov byte [rsi + 0x13], 6
test ebx, ebx
je 0x180029ecc
cmp byte [rdi + 0x11], 0
je 0x180029f01
sub dword [rdi + 0x14], 1
jne 0x180029f01
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x180029fc1
call qword [0x1800fe200]
mov byte [rdi + 0x12], 0
jmp 0x180029f01
movzx edx, byte [rsi + 0x16]
mov rcx, rsi
call fcn.18004a130
movzx ecx, al
cmp ecx, 0xd
je 0x180029fe3
cmp ecx, 0xa
jne 0x180029fea
mov dword [rsi + 0x2c], eax
mov byte [rsi + 0x13], 6
test eax, eax
jne 0x180029ffb
mov byte [r15 + 0x27], 1
mov rcx, rdi
call fcn.180034410
cmp byte [rdi + 0x11], 0
je 0x18002a01e
sub dword [rdi + 0x14], 1
jne 0x18002a01e
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x18002a01a
call qword [0x1800fe200]
mov byte [rdi + 0x12], 0
mov r15, qword [rsp + 0x40]
cmp ebx, 0xc0a
mov rsi, qword [rsp + 0x68]
mov eax, 7
cmove ebx, eax
mov dword [r14 + 0x30], ebx
mov rax, qword [r14]
mov r12, qword [rsp + 0x58]
test rax, rax
je 0x18002a056
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x18002a056
call qword [0x1800fe200]
mov rdi, qword [r14 + 0x28]
cmp byte [rdi + 0x11], 0
je 0x18002a07d
sub dword [rdi + 0x14], 1
jne 0x18002a07d
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x18002a079
call qword [0x1800fe200]
mov byte [rdi + 0x12], 0
mov rax, qword [r14 + 0x20]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x18002a09a
call qword [0x1800fe200]
mov eax, ebx
add rsp, 0x70
pop rbx
ret