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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, qword [rcx + 0x18]
xor r12d, r12d
xor r14d, r14d
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rax + 0x20], r12
cmp r8d, 2
jb 0x14002919d
cmp r8d, dword [rcx + 0x3c]
ja 0x14002919d
test rdx, rdx
je 0x140028e60
mov qword [rax + 8], rdx
mov rax, qword [rdx + 0x70]
lea ecx, [r12 + 1]
add word [rax + 0x36], cx
mov rax, qword [rax + 0x18]
add dword [rax + 0x18], ecx
jmp 0x140028e70
mov edx, r8d
call fcn.14002571c
mov rdi, rax
mov qword [rsp + 0x70], rax
mov rcx, qword [r15 + 0x70]
call fcn.140020918
mov ebx, eax
mov dword [rsp + 0x80], eax
test eax, eax
jne 0x140029172
mov rdx, qword [r15 + 0x50]
movzx eax, byte [rdx + 0x26]
movzx r13d, byte [rdx + 0x25]
shl r13d, 8
or r13d, eax
movzx eax, byte [rdx + 0x24]
shl eax, 0x18
shl r13d, 8
or r13d, eax
movzx eax, byte [rdx + 0x27]
or r13d, eax
lea ecx, [r13 + 1]
mov eax, ecx
mov byte [rdx + 0x27], cl
shr eax, 0x18
mov byte [rdx + 0x24], al
mov eax, ecx
shr eax, 0x10
mov byte [rdx + 0x25], al
mov eax, ecx
shr eax, 8
mov byte [rdx + 0x26], al
test byte [rsi + 0x26], 4
je 0x140028f2b
test rdi, rdi
jne 0x140028efe
lea r8, [rsp + 0x70]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
call fcn.1400256ac
mov ebx, eax
test eax, eax
jne 0x140029196
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rdi + 0x70]
call fcn.140020918
mov ebx, eax
mov dword [rsp + 0x80], eax
test eax, eax
jne 0x140029172
mov rax, qword [rdi + 0x48]
mov rcx, qword [rdi + 0x50]
xor edx, edx
mov r8d, dword [rax + 0x30]
call sub.msvcrt.dll_memset
cmp byte [rsi + 0x21], r12b
je 0x140028f5d
lea rax, [rsp + 0x80]
xor r9d, r9d
mov r8b, 2
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1400243e0
mov ebx, dword [rsp + 0x80]
test ebx, ebx
jne 0x140029172
test r13d, r13d
je 0x1400290eb
mov rcx, qword [r15 + 0x50]
lea r8, [rsp + 0x88]
xor r9d, r9d
movzx eax, byte [rcx + 0x22]
movzx r14d, byte [rcx + 0x21]
shl r14d, 8
or r14d, eax
movzx eax, byte [rcx + 0x23]
shl r14d, 8
or r14d, eax
movzx eax, byte [rcx + 0x20]
mov rcx, rsi
shl eax, 0x18
or r14d, eax
mov edx, r14d
call fcn.1400256ac
mov r12, qword [rsp + 0x88]
mov ebx, eax
test eax, eax
jne 0x140029172
mov rcx, qword [r12 + 0x50]
movzx eax, byte [rcx + 6]
movzx r13d, byte [rcx + 5]
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 4]
shl eax, 0x18
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 7]
mov ecx, dword [rsi + 0x34]
shr ecx, 2
or r13d, eax
lea eax, [rcx - 2]
cmp r13d, eax
jbe 0x140029000
mov ecx, 0x11010
call fcn.140082d0c
mov ebx, eax
jmp 0x140029172
lea eax, [rcx - 8]
cmp r13d, eax
jae 0x1400290eb
mov rcx, qword [r12 + 0x70]
call fcn.140020918
mov ebx, eax
test eax, eax
jne 0x140029172
mov rcx, qword [r12 + 0x50]
lea edx, [r13 + 1]
mov byte [rcx + 7], dl
mov eax, edx
shr eax, 0x18
mov byte [rcx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 5], al
mov eax, edx
shr eax, 8
mov byte [rcx + 6], al
lea ecx, [r13*4 + 8]
mov eax, ebp
add rcx, qword [r12 + 0x50]
shr eax, 0x18
mov byte [rcx], al
mov eax, ebp
mov byte [rcx + 3], bpl
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, ebp
shr eax, 8
mov byte [rcx + 2], al
test rdi, rdi
je 0x1400290a4
test byte [rsi + 0x26], 4
jne 0x1400290a4
mov rcx, qword [rdi + 0x70]
mov rdx, qword [rcx + 0x28]
cmp byte [rdx + 0x10], bl
jne 0x1400290a4
movzx eax, word [rcx + 0x34]
test al, 2
je 0x1400290a4
cmp dword [rdx + 0x80], ebx
jne 0x1400290a4
mov edx, 0xfffb
and ax, dx
or ax, 0x10
mov word [rcx + 0x34], ax
xor ebx, ebx
cmp qword [rsi + 0x58], rbx
jne 0x1400290d3
mov r13d, dword [rsi + 0x3c]
mov ecx, 0x200
call fcn.140014a40
test rax, rax
je 0x1400290c2
mov dword [rax], r13d
mov qword [rsi + 0x58], rax
test rax, rax
jne 0x1400290d3
lea ebx, [rax + 7]
jmp 0x140029172
mov rcx, qword [rsi + 0x58]
cmp ebp, dword [rcx]
ja 0x140029172
mov edx, ebp
call fcn.14001b6dc
jmp 0x140028ff9
test rdi, rdi
jne 0x140029111
lea r8, [rsp + 0x70]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
call fcn.1400256ac
mov ebx, eax
test eax, eax
jne 0x140029196
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rdi + 0x70]
call fcn.140020918
mov ebx, eax
test eax, eax
jne 0x140029172
mov rcx, qword [rdi + 0x50]
mov eax, r14d
shr eax, 0x18
mov byte [rcx + 3], r14b
mov byte [rcx], al
mov eax, r14d
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, r14d
shr eax, 8
mov byte [rcx + 2], al
mov rax, qword [rdi + 0x50]
mov byte [rax + 4], bl
mov byte [rax + 5], bl
mov byte [rax + 6], bl
mov byte [rax + 7], bl
mov rdx, qword [r15 + 0x50]
mov eax, ebp
shr eax, 0x18
mov byte [rdx + 0x23], bpl
mov byte [rdx + 0x20], al
mov eax, ebp
shr eax, 0x10
mov byte [rdx + 0x21], al
mov eax, ebp
shr eax, 8
mov byte [rdx + 0x22], al
test rdi, rdi
je 0x140029183
mov byte [rdi], 0
mov rcx, qword [rdi + 0x70]
call fcn.140020300
test r12, r12
je 0x140029192
mov rcx, qword [r12 + 0x70]
call fcn.140020300
mov eax, ebx
jmp 0x1400291a7
mov rdi, qword [rsp + 0x70]
jmp 0x140029172
mov ecx, 0x10fda
call fcn.140082d0c
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret