Function at 0x140276e40
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.14023b570
mov r13d, dword [rsp + 0xa8]
xor r12d, r12d
mov ebp, eax
mov dword [rsp + 0x80], eax
test r13d, r13d
je 0x140276fdc
lea edx, [r12 + 0x2d]
xor r9d, r9d
mov r8d, r13d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.14023b2f0
mov rsi, qword [rsp + 0xb0]
mov dword [rsp + 0xa8], eax
test rsi, rsi
je 0x140276ec3
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.14023b2f0
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
mov r12d, eax
test r8, r8
je 0x140276f40
cmp byte [rcx + 0x50], 0
jne 0x140276f40
test eax, eax
jns 0x140276f01
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.14023b8c0
xor eax, eax
mov qword [rbp + 0x10], rax
test rsi, rsi
jne 0x140276f32
mov qword [rbp + 0x10], rax
mov byte [rbp + 1], al
lea ebp, [r13 + 1]
jmp 0x140276f4d
mov qword [rbp + 0x10], rsi
mov byte [rbp + 1], 0xfa
lea ebp, [r13 + 1]
jmp 0x140276f4d
mov r8, rsi
mov edx, 0xfffffffa
call fcn.14023b8c0
mov r9d, dword [rsp + 0x80]
lea r8d, [r12 + 2]
mov edx, 0x2a
mov rcx, rdi
mov dword [rsp + 0x20], r8d
call fcn.14023b2f0
mov edx, dword [rdi + 0x3c]
mov eax, dword [rsp + 0xa8]
cmp edx, eax
jbe 0x140276f86
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.14023b2f0
xor r12d, r12d
lea edx, [r12 + 0x19]
lea r8d, [r12 + 1]
mov r9d, r13d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.14023b2f0
mov rsi, qword [rsp + 0x88]
mov ebp, dword [rsp + 0x80]
mov rax, qword [rbx]
cmp byte [rax + 0x50], 0
je 0x140276fec
xor eax, eax
jmp 0x140277243
mov edx, dword [rsi + 0x10]
mov r8d, ebp
mov rcx, rdi
call fcn.1402737d0
movzx ecx, byte [r15]
sub ecx, 6
je 0x140277369
dec ecx
je 0x140277264
dec ecx
je 0x1402770bf
dec ecx
je 0x140277052
dec ecx
je 0x1402770bf
mov r9d, dword [r14 + 0xc]
mov r8d, dword [r14 + 8]
mov edx, 0x23
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.14023b2f0
mov r8d, dword [r14 + 0xc]
mov edx, dword [r14 + 8]
mov rcx, rbx
call fcn.140250670
jmp 0x1402771cc
cmp dword [r15 + 8], 0
jne 0x14027708e
mov ecx, dword [r14 + 0xc]
mov edx, dword [rbx + 0x48]
mov r8d, dword [rbx + 0x4c]
cmp ecx, edx
jg 0x140277076
lea eax, [r8 + rcx]
sub edx, ecx
mov dword [rbx + 0x4c], eax
mov dword [rbx + 0x48], edx
jmp 0x140277082
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.1402509e0
mov r8d, dword [r15 + 4]
xor r9d, r9d
lea edx, [r9 + 0x16]
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.14023b2f0
jmp 0x1402771cc
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1402770cf
inc dword [rbx + 0x58]
mov ebp, dword [rbx + 0x58]
jmp 0x1402770db
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 0x1402770eb
inc dword [rbx + 0x58]
mov esi, dword [rbx + 0x58]
jmp 0x1402770f7
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.14023b2f0
mov r8d, dword [r15 + 4]
mov r9d, esi
mov edx, 0x45
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.14023b2f0
mov r8d, dword [r15 + 4]
mov r9d, ebp
mov edx, 0x46
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.14023b2f0
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140277157
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
test esi, esi
je 0x140277190
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x140277190
mov ecx, r12d
lea rax, [rbx + 0x88]
nop
cmp dword [rax + 0xc], esi
je 0x14027718c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140277170
movzx eax, dl
mov dword [rbx + rax*4 + 0x28], esi
inc byte [rbx + 0x1f]
jmp 0x140277190
mov byte [rax + 6], 1
test ebp, ebp
je 0x1402771c5
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x1402771c5
mov ecx, r12d
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], ebp
je 0x14027725b
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1402771a7
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 0x1402771f9
mov r9d, dword [rsp + 0xb8]
mov edx, 0x87
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.14023b2f0
sub ebx, ebp
mov r9, qword [rdi + 0x30]
js 0x140277217
mov rcx, qword [r9 + 0x80]
test rcx, rcx
je 0x140277217
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.14023b2f0
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 0x1402771c5
mov rax, qword [rsi]
movzx edx, byte [r15 + 1]
lea rbp, [r15 + 1]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call fcn.14024d5d0
mov byte [rbp], al
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140277290
inc dword [rbx + 0x58]
mov r12d, dword [rbx + 0x58]
jmp 0x14027729d
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.14023b2f0
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x14027731e
cmp byte [rcx + 0x50], 0
jne 0x14027731e
test eax, eax
jns 0x1402772d3
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.14023b8c0
mov qword [rsi + 0x10], 0
test rbp, rbp
jne 0x140277303
mov qword [rsi + 0x10], rbp
mov byte [rsi + 1], bpl
jmp 0x14027732b
mov rcx, qword [rdi]
mov r8d, 1
mov rdx, rbp
call fcn.14021bd60
mov byte [rsi + 1], 0xff
mov qword [rsi + 0x10], rax
jmp 0x14027732b
mov r8, rbp
mov edx, 1
call fcn.14023b8c0
mov edx, dword [r14 + 8]
mov r8d, 1
mov rcx, rbx
call fcn.140250670
mov r8d, dword [r15 + 4]
mov r9d, r12d
mov edx, 0x6b
mov rcx, rdi
mov dword [rsp + 0x20], 0
call fcn.14023b2f0
mov edx, r12d
mov rcx, rbx
call fcn.1402534f0
jmp 0x1402771c5
mov r8d, dword [r15 + 4]
mov edx, dword [r14 + 8]
mov r9d, 1
mov rcx, rbx
call fcn.1402509e0
jmp 0x1402771cc