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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rbx, rcx
mov r15, r9
mov eax, dword [rdi + 0x3c]
mov rcx, rdi
mov r14, r8
mov dword [rsp + 0x30], eax
mov rsi, rdx
call fcn.140235840
mov r13d, dword [rsp + 0xa8]
xor r12d, r12d
mov ebp, eax
mov dword [rsp + 0x80], eax
test r13d, r13d
je 0x1402712ac
lea edx, [r12 + 0x2d]
xor r9d, r9d
mov r8d, r13d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1402355c0
mov rsi, qword [rsp + 0xb0]
mov dword [rsp + 0xa8], eax
test rsi, rsi
je 0x140271193
inc dword [rsi]
mov eax, dword [r14 + 0xc]
mov r8d, dword [r14 + 8]
lea ebp, [r13 + 1]
mov r9d, ebp
mov edx, 0x29
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1402355c0
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
mov r12d, eax
test r8, r8
je 0x140271210
cmp byte [rcx + 0x50], 0
jne 0x140271210
test eax, eax
jns 0x1402711d1
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbp, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbp + 0x10]
call fcn.140235b90
xor eax, eax
mov qword [rbp + 0x10], rax
test rsi, rsi
jne 0x140271202
mov qword [rbp + 0x10], rax
mov byte [rbp + 1], al
lea ebp, [r13 + 1]
jmp 0x14027121d
mov qword [rbp + 0x10], rsi
mov byte [rbp + 1], 0xfa
lea ebp, [r13 + 1]
jmp 0x14027121d
mov r8, rsi
mov edx, 0xfffffffa
call fcn.140235b90
mov r9d, dword [rsp + 0x80]
lea r8d, [r12 + 2]
mov edx, 0x2a
mov rcx, rdi
mov dword [rsp + 0x20], r8d
call fcn.1402355c0
mov edx, dword [rdi + 0x3c]
mov eax, dword [rsp + 0xa8]
cmp edx, eax
jbe 0x140271256
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
mov r9d, ebp
dec ecx
mov edx, 0x21
mov dword [rax + 0x68], ecx
mov eax, dword [r14 + 0xc]
mov r8d, dword [r14 + 8]
dec eax
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1402355c0
xor r12d, r12d
lea edx, [r12 + 0x19]
lea r8d, [r12 + 1]
mov r9d, r13d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1402355c0
mov rsi, qword [rsp + 0x88]
mov ebp, dword [rsp + 0x80]
mov rax, qword [rbx]
cmp byte [rax + 0x50], 0
je 0x1402712bc
xor eax, eax
jmp 0x140271513
mov edx, dword [rsi + 0x10]
mov r8d, ebp
mov rcx, rdi
call fcn.14026daa0
movzx ecx, byte [r15]
sub ecx, 6
je 0x140271639
dec ecx
je 0x140271534
dec ecx
je 0x14027138f
dec ecx
je 0x140271322
dec ecx
je 0x14027138f
mov r9d, dword [r14 + 0xc]
mov r8d, dword [r14 + 8]
mov edx, 0x23
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1402355c0
mov r8d, dword [r14 + 0xc]
mov edx, dword [r14 + 8]
mov rcx, rbx
call fcn.14024a940
jmp 0x14027149c
cmp dword [r15 + 8], 0
jne 0x14027135e
mov ecx, dword [r14 + 0xc]
mov edx, dword [rbx + 0x48]
mov r8d, dword [rbx + 0x4c]
cmp ecx, edx
jg 0x140271346
lea eax, [r8 + rcx]
sub edx, ecx
mov dword [rbx + 0x4c], eax
mov dword [rbx + 0x48], edx
jmp 0x140271352
mov eax, dword [rbx + 0x58]
lea r8d, [rax + 1]
add eax, ecx
mov dword [rbx + 0x58], eax
mov dword [r15 + 8], r8d
mov eax, dword [r14 + 0xc]
mov dword [r15 + 0xc], eax
mov r9d, dword [r15 + 0xc]
mov r8d, dword [r15 + 8]
mov edx, dword [r14 + 8]
mov rcx, rbx
call fcn.14024acb0
mov r8d, dword [r15 + 4]
xor r9d, r9d
lea edx, [r9 + 0x16]
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1402355c0
jmp 0x14027149c
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x14027139f
inc dword [rbx + 0x58]
mov ebp, dword [rbx + 0x58]
jmp 0x1402713ab
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0x28]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1402713bb
inc dword [rbx + 0x58]
mov esi, dword [rbx + 0x58]
jmp 0x1402713c7
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov esi, dword [rbx + rax*4 + 0x28]
mov r9d, dword [r14 + 0xc]
mov r8d, dword [r14 + 8]
mov edx, 0x30
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.1402355c0
mov r8d, dword [r15 + 4]
mov r9d, esi
mov edx, 0x45
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1402355c0
mov r8d, dword [r15 + 4]
mov r9d, ebp
mov edx, 0x46
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.1402355c0
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140271427
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
test esi, esi
je 0x140271460
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x140271460
mov ecx, r12d
lea rax, [rbx + 0x88]
nop
cmp dword [rax + 0xc], esi
je 0x14027145c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140271440
movzx eax, dl
mov dword [rbx + rax*4 + 0x28], esi
inc byte [rbx + 0x1f]
jmp 0x140271460
mov byte [rax + 6], 1
test ebp, ebp
je 0x140271495
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x140271495
mov ecx, r12d
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], ebp
je 0x14027152b
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140271477
movzx eax, dl
mov dword [rbx + rax*4 + 0x28], ebp
inc byte [rbx + 0x1f]
mov ebp, dword [rsp + 0x80]
mov rax, qword [rsp + 0x88]
or ebx, 0xffffffff
mov r8d, dword [rax + 0xc]
test r8d, r8d
je 0x1402714c9
mov r9d, dword [rsp + 0xb8]
mov edx, 0x87
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.1402355c0
sub ebx, ebp
mov r9, qword [rdi + 0x30]
js 0x1402714e7
mov rcx, qword [r9 + 0x80]
test rcx, rcx
je 0x1402714e7
mov edx, dword [rdi + 0x3c]
movsxd r8, ebx
mov dword [rcx + r8*4], edx
mov edx, dword [rdi + 0x3c]
mov r8d, dword [rsp + 0xa0]
mov rcx, rdi
dec edx
mov dword [rsp + 0x20], 0
mov dword [r9 + 0x68], edx
xor r9d, r9d
lea edx, [r9 + 0x12]
call fcn.1402355c0
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov byte [rax + 6], 1
jmp 0x140271495
mov rax, qword [rsi]
movzx edx, byte [r15 + 1]
lea rbp, [r15 + 1]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call fcn.1402478a0
mov byte [rbp], al
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140271560
inc dword [rbx + 0x58]
mov r12d, dword [rbx + 0x58]
jmp 0x14027156d
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0x28]
mov r8d, dword [r14 + 8]
mov r9d, 1
mov rcx, rdi
lea edx, [r9 + 0x2f]
mov dword [rsp + 0x20], r12d
call fcn.1402355c0
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x1402715ee
cmp byte [rcx + 0x50], 0
jne 0x1402715ee
test eax, eax
jns 0x1402715a3
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rsi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rsi + 0x10]
call fcn.140235b90
mov qword [rsi + 0x10], 0
test rbp, rbp
jne 0x1402715d3
mov qword [rsi + 0x10], rbp
mov byte [rsi + 1], bpl
jmp 0x1402715fb
mov rcx, qword [rdi]
mov r8d, 1
mov rdx, rbp
call fcn.140216030
mov byte [rsi + 1], 0xff
mov qword [rsi + 0x10], rax
jmp 0x1402715fb
mov r8, rbp
mov edx, 1
call fcn.140235b90
mov edx, dword [r14 + 8]
mov r8d, 1
mov rcx, rbx
call fcn.14024a940
mov r8d, dword [r15 + 4]
mov r9d, r12d
mov edx, 0x6b
mov rcx, rdi
mov dword [rsp + 0x20], 0
call fcn.1402355c0
mov edx, r12d
mov rcx, rbx
call fcn.14024d7c0
jmp 0x140271495
mov r8d, dword [r15 + 4]
mov edx, dword [r14 + 8]
mov r9d, 1
mov rcx, rbx
call fcn.14024acb0
jmp 0x14027149c