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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r15
sub rsp, 0x78
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebp, ebp
mov dword [rsp + 0x24], r9d
mov r13d, ebp
mov dword [rsp + 0x28], edx
mov r15, r8
mov edi, edx
mov rsi, rcx
call fcn.140028f90
mov ebx, eax
test eax, eax
jne 0x1400295ef
mov eax, dword [rsi + 0x58]
mov dword [rsp + 0x20], eax
test eax, eax
jne 0x1400293c8
mov ecx, dword [rsi + 0x88]
mov eax, edi
mov dword [rsp + 0x38], 0x82067f37
mov dword [rsp + 0x3c], 0x18e22d00
bswap eax
mov dword [rsp + 0x40], eax
mov eax, ecx
bswap eax
mov dword [rsp + 0x44], eax
test ecx, ecx
jne 0x140029316
lea rdx, [rsi + 0x68]
lea ecx, [rbp + 8]
call fcn.1400199e0
mov rax, qword [rsi + 0x68]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov r8d, ebp
mov r9d, ebp
nop word [rax + rax]
mov ecx, dword [rdx]
lea rax, [rsp + 0x50]
add ecx, r8d
add r9d, ecx
mov ecx, dword [rdx + 4]
add ecx, r9d
add rdx, 8
add r8d, ecx
cmp rdx, rax
jb 0x140029330
mov eax, r9d
mov dword [rsi + 0x38], edi
bswap eax
mov byte [rsi + 0x55], bpl
lea rdx, [rsp + 0x38]
mov dword [rsi + 0x60], r9d
xor r9d, r9d
mov dword [rsi + 0x64], r8d
mov rcx, qword [rsi + 0x10]
mov dword [rsp + 0x50], eax
mov eax, r8d
bswap eax
mov dword [rsp + 0x54], eax
lea r8d, [r9 + 0x20]
mov byte [rsi + 0x43], 1
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
jne 0x1400295ef
mov edx, dword [rsp + 0xd8]
cmp byte [rsi + 0x44], bpl
je 0x1400294b7
test edx, edx
je 0x1400294b7
mov rcx, qword [rsi + 0x10]
and edx, 0x13
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
jne 0x1400295ef
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsi + 0x10]
mov dword [rsp + 0x54], edi
mov qword [rsp + 0x70], r12
lea r12d, [rdi + 0x18]
movsxd r8, r12d
mov edi, eax
imul rdi, r8
mov qword [rsp + 0x68], r14
mov r14, r15
add rdi, 0x20
mov qword [rsp + 0x30], r8
mov r8d, dword [rsp + 0xd0]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], edx
test r15, r15
je 0x14002947d
nop word [rax + rax]
inc eax
mov dword [rsp + 0x20], eax
test r8d, r8d
je 0x140029436
mov r8d, dword [rsp + 0x24]
cmp qword [r14 + 0x18], rbp
je 0x140029439
mov r8d, ebp
mov r9, rdi
lea rcx, [rsp + 0x38]
mov rdx, r14
call fcn.140029090
mov ebx, eax
test eax, eax
jne 0x1400295e5
mov r8d, dword [rsp + 0xd0]
mov r13, r14
mov r14, qword [r14 + 0x18]
movsxd rax, r12d
add rdi, rax
mov eax, dword [rsp + 0x20]
test r14, r14
jne 0x140029420
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0xd8]
test r8d, r8d
je 0x14002955d
test dl, 0x20
je 0x14002952b
cmp byte [rsi + 0x45], bpl
je 0x140029520
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400294cc
call rdx
cmp eax, 0x20
jge 0x1400294c0
mov eax, 0x200
jmp 0x1400294d1
mov eax, dword [rsp + 0x20]
jmp 0x1400293cf
mov ecx, 0x10000
cmp eax, ecx
cmovg eax, ecx
jmp 0x1400294d1
mov eax, 0x1000
movsxd rcx, eax
lea r8, [rdi - 1]
add r8, rcx
mov rax, r8
cqo
idiv rcx
sub r8, rdx
mov qword [rsp + 0x48], r8
cmp rdi, r8
jge 0x14002952b
mov r8d, dword [rsp + 0x24]
lea rcx, [rsp + 0x38]
mov r9, rdi
mov rdx, r13
call fcn.140029090
mov ebx, eax
test eax, eax
jne 0x1400295e5
movsxd rax, r12d
inc ebp
add rdi, rax
cmp rdi, qword [rsp + 0x48]
jl 0x1400294f0
jmp 0x14002952b
mov rax, qword [rcx]
and edx, 0x13
call qword [rax + 0x28]
mov ebx, eax
cmp byte [rsi + 0x43], 0
je 0x14002955d
mov rdx, qword [rsi + 0x20]
test rdx, rdx
js 0x14002955d
mov ecx, dword [rsp + 0x20]
add ecx, ebp
imul rcx, qword [rsp + 0x30]
add rcx, 0x20
cmp rcx, rdx
cmovg rdx, rcx
mov rcx, rsi
call fcn.140028430
mov byte [rsi + 0x43], 0
mov edi, dword [rsi + 0x58]
test r15, r15
je 0x140029584
test ebx, ebx
jne 0x1400295e3
mov r8d, dword [r15 + 0x28]
inc edi
mov edx, edi
mov rcx, rsi
call fcn.140027220
mov r15, qword [r15 + 0x18]
mov ebx, eax
test r15, r15
jne 0x140029565
test ebx, ebx
jne 0x1400295e3
test ebp, ebp
jle 0x1400295a6
mov r8d, dword [r13 + 0x28]
inc edi
mov edx, edi
mov rcx, rsi
dec ebp
call fcn.140027220
mov ebx, eax
test eax, eax
je 0x140029588
jmp 0x1400295e3
test ebx, ebx
jne 0x1400295e3
mov ecx, dword [rsp + 0x28]
mov edx, 0xff00
mov eax, ecx
mov dword [rsi + 0x58], edi
sar eax, 0x10
and cx, dx
or ax, cx
mov word [rsi + 0x56], ax
cmp dword [rsp + 0xd0], ebx
je 0x1400295e3
mov eax, dword [rsp + 0x24]
mov rcx, rsi
inc dword [rsi + 0x50]
mov dword [rsi + 0x5c], eax
call fcn.140027090
mov dword [rsi + 0x18], edi
mov eax, ebx
mov r12, qword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c0280
add rsp, 0x78
pop r15
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret