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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r14, r9
mov r13d, edx
mov rsi, rcx
mov qword [rsp + 0x40], rcx
call fcn.140272580
mov rbx, rax
mov eax, dword [rsi + 0x54]
dec eax
mov rcx, rbx
mov dword [rsp + 0x30], eax
call fcn.140237f30
mov r15, qword [rsp + 0xc0]
xor ebp, ebp
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xd8], ebp
jge 0x140261578
movzx r8d, byte [r15 + 0x2c]
mov r9d, eax
mov edx, 0x82
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.140237cb0
mov r12d, dword [rsp + 0xd0]
mov edi, ebp
cmp dword [r15 + 0x28], ebp
jle 0x140261630
mov r14, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xc0]
mov r13d, dword [rsp + 0xa0]
nop dword [rax]
nop dword [rax + rax]
mov r15d, dword [r14]
mov rax, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
inc r15d
add r15d, r12d
cmp dword [rax + 0x64], ebp
jg 0x1402615d2
mov rcx, rbx
call fcn.140237c00
test eax, eax
jne 0x140261606
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
lea rcx, [rbp*2]
add rcx, rbp
xor ebp, ebp
mov word [rax + rcx*8], 0x4c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x140261608
xor ebp, ebp
inc edi
add r14, 4
cmp edi, dword [rsi + 0x28]
jl 0x1402615b0
mov rsi, qword [rsp + 0x40]
mov r13d, dword [rsp + 0xa8]
mov r14, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xc0]
cmp dword [rsp + 0xe0], 0
jne 0x140261bf8
test r14, r14
jne 0x1402617d0
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x140261657
inc dword [rsi + 0x58]
mov edi, dword [rsi + 0x58]
jmp 0x140261663
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov edi, dword [rsi + rax*4 + 0x28]
mov rax, qword [rsp + 0xc8]
lea r8d, [r12 + 1]
mov r9d, edi
mov eax, dword [rax]
mov edx, 0x22
mov rcx, rbx
add r8d, eax
mov dword [rsp + 0x20], ebp
call fcn.140237cb0
xor r9d, r9d
mov r8d, edi
lea edx, [r9 + 0x26]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.140237cb0
mov r14, qword [rsp + 0xb0]
mov ebp, eax
cmp r14, qword [r15]
jne 0x1402616ea
cmp dword [rsp + 0xd8], 1
jne 0x1402616ea
mov r9d, dword [rsp + 0xa0]
mov r8d, r12d
mov edx, 0x4f
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.140237cb0
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1402616ea
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x88
mov r15d, dword [rsp + 0x30]
mov r9, r14
mov r8d, r13d
mov rcx, rsi
mov edx, r15d
mov dword [rsp + 0x20], 0x34
call fcn.1402647f0
xor r9d, r9d
mov r8d, r15d
lea edx, [r9 + 0x43]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.140237cb0
mov r12d, dword [rsp + 0xa0]
xor r8d, r8d
lea edx, [r8 + 0x10]
mov rcx, rbx
mov r9d, r12d
mov dword [rsp + 0x20], 0
call fcn.140237cb0
mov edx, dword [rbx + 0x3c]
lea eax, [rdx - 2]
cmp edx, eax
jbe 0x140261756
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x68], ecx
mov edx, dword [rbx + 0x3c]
cmp edx, ebp
jbe 0x14026177c
mov rax, qword [rbx + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
xor ebp, ebp
dec ecx
mov dword [rax + 0x68], ecx
test edi, edi
je 0x140261c07
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x140261c07
mov ecx, ebp
lea rax, [rsi + 0x88]
cmp dword [rax + 0xc], edi
je 0x1402617c7
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1402617a8
movzx eax, dl
mov dword [rsi + rax*4 + 0x28], edi
inc byte [rsi + 0x1f]
jmp 0x140261c07
mov byte [rax + 6], 1
jmp 0x140261c07
movsxd r15, dword [r15 + 0x28]
mov ecx, dword [rsi + 0x48]
mov ebp, dword [rsi + 0x4c]
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0xe0], ebp
cmp r15d, ecx
jg 0x1402617fa
lea eax, [r15 + rbp]
sub ecx, r15d
mov dword [rsi + 0x4c], eax
mov dword [rsi + 0x48], ecx
jmp 0x14026180d
mov eax, dword [rsi + 0x58]
lea ebp, [rax + 1]
add eax, r15d
mov dword [rsp + 0xe0], ebp
mov dword [rsi + 0x58], eax
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x14026181d
inc dword [rsi + 0x58]
mov eax, dword [rsi + 0x58]
jmp 0x140261829
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov eax, dword [rsi + rax*4 + 0x28]
mov r9d, dword [r14 + 0x58]
mov r8d, dword [rsp + 0x30]
mov edx, 0x34
mov rcx, rbx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], r13d
call fcn.140237cb0
mov rdx, r14
mov rcx, rsi
call fcn.1402385e0
xor edi, edi
mov r13, r15
test r15d, r15d
jle 0x1402618dd
mov rsi, qword [rsp + 0xc8]
nop dword [rax]
mov rax, qword [rbx + 0x30]
movsxd r14, dword [rbx + 0x3c]
lea r15d, [r12 + 1]
add r15d, dword [rsi + rdi*4]
cmp dword [rax + 0x64], r14d
jg 0x140261893
mov rcx, rbx
call fcn.140237c00
test eax, eax
jne 0x1402618c3
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [r14 + r14*2]
mov word [rax + rcx*8], 0x21
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], 0
mov qword [rax + rcx*8 + 0x10], 0
inc rdi
inc ebp
cmp rdi, r13
jl 0x140261870
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0xb8]
mov r15d, r13d
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb0]
cmp rdx, qword [rax]
jne 0x140261a1d
cmp dword [rsp + 0xd8], 1
jne 0x140261a1d
mov eax, dword [rbx + 0x3c]
xor edi, edi
inc eax
add eax, r15d
test r13, r13
jle 0x1402619ca
mov esi, eax
nop dword [rax]
mov rax, qword [rsp + 0xc8]
lea r15d, [r12 + 1]
lea ebp, [r12 + 1]
mov eax, dword [rax + rdi*4]
add r15d, eax
mov rax, qword [r14 + 8]
movsxd r14, dword [rbx + 0x3c]
movsx ecx, word [rax + rdi*2]
mov rax, qword [rbx + 0x30]
add ebp, ecx
cmp cx, word [rdx + 0x40]
cmove ebp, r12d
cmp dword [rax + 0x64], r14d
jg 0x140261964
mov rcx, rbx
call fcn.140237c00
test eax, eax
jne 0x140261990
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [r14 + r14*2]
mov word [rax + rcx*8], 0x4e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], 0
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1402619a6
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
mov r14, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xb0]
inc rdi
cmp rdi, r13
jl 0x140261920
mov rsi, qword [rsp + 0x40]
mov r15d, r13d
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x64], edi
jg 0x1402619e3
mov rcx, rbx
call fcn.140237c00
test eax, eax
jne 0x140261a1d
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
mov edx, dword [rsp + 0xa0]
lea rcx, [rdi + rdi*2]
mov word [rax + rcx*8], 0x10
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], 0
mov qword [rax + rcx*8 + 0x10], 0
mov rdx, qword [rsp + 0xb8]
mov rcx, rbx
call fcn.1402648c0
mov rcx, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
mov r14, rax
mov edi, 1
cmp dword [rcx + 0x64], ebp
jg 0x140261a5f
mov rcx, rbx
call fcn.140237c00
test eax, eax
je 0x140261a5f
mov r15d, dword [rsp + 0x34]
mov r13d, dword [rsp + 0xe0]
mov ebp, edi
jmp 0x140261aa1
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
mov r13d, dword [rsp + 0xe0]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], r15d
mov r15d, dword [rsp + 0x34]
mov word [rax + rcx*8], 0x30
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov qword [rax + rcx*8 + 0x10], 0
mov dword [rax + rcx*8 + 0xc], r15d
mov r12d, dword [rsp + 0x38]
mov r8, r14
mov edx, ebp
mov r9d, r12d
mov rcx, rbx
call fcn.1402384d0
mov rax, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ebp
jg 0x140261acf
mov rcx, rbx
call fcn.140237c00
test eax, eax
jne 0x140261b0f
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
mov edx, dword [rsp + 0x30]
lea rcx, [rbp*2]
mov edi, ebp
add rcx, rbp
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xa0]
mov word [rax + rcx*8], 0x42
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], 0
mov dword [rax + rcx*8 + 8], edx
mov r8, qword [rbx + 8]
mov rcx, qword [rbx]
test r8, r8
je 0x140261b53
cmp byte [rcx + 0x50], 0
jne 0x140261b53
test edi, edi
jns 0x140261b2a
mov edi, dword [rbx + 0x3c]
dec edi
movsxd rax, edi
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140238280
xor ebp, ebp
mov byte [rdi + 1], 0xf2
mov qword [rdi + 0x10], rbp
mov dword [rdi + 0x10], ebp
jmp 0x140261b61
xor r8d, r8d
lea edx, [r8 - 0xe]
call fcn.140238280
xor ebp, ebp
test r15d, r15d
je 0x140261b9a
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x140261b9a
mov ecx, ebp
lea rax, [rsi + 0x88]
cmp dword [rax + 0xc], r15d
je 0x140261b96
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140261b78
movzx eax, dl
mov dword [rsi + rax*4 + 0x28], r15d
inc byte [rsi + 0x1f]
jmp 0x140261b9a
mov byte [rax + 6], 1
lea r9d, [r12 - 1]
lea rcx, [rsi + 0x94]
mov r8d, 0xa
add r9d, r13d
nop
mov edx, dword [rcx]
cmp edx, r13d
jl 0x140261bda
cmp edx, r9d
jg 0x140261bda
cmp byte [rcx - 6], 0
je 0x140261bd8
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x140261bd4
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebp
add rcx, 0x14
dec r8
jne 0x140261bb0
mov r15d, dword [rsp + 0x30]
cmp r12d, dword [rsi + 0x48]
jle 0x140261bff
mov dword [rsi + 0x48], r12d
mov dword [rsi + 0x4c], r13d
jmp 0x140261bff
mov r15d, dword [rsp + 0x30]
xor ebp, ebp
mov r12d, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0xc0]
movzx ecx, byte [rdx + 0x2c]
test cl, cl
jne 0x140261cdd
mov rax, qword [rsi]
test dword [rax + 0x2c], 0x1000000
jne 0x140261cdd
cmp qword [rsi + 0x1c0], 0
jne 0x140261cdd
cmp byte [rsi + 0x22], cl
jne 0x140261cdd
mov rcx, rsi
call fcn.140272580
mov rcx, qword [rsi + 0x1c0]
mov edx, 0x18
test rcx, rcx
lea r9d, [rdx - 0x16]
mov r8d, 0x313
cmovne rsi, rcx
mov rcx, rax
mov r14, rax
mov byte [rsi + 0x23], 1
mov dword [rsp + 0x20], ebp
call fcn.140237cb0
mov r8, qword [r14 + 8]
mov rcx, qword [r14]
test r8, r8
je 0x140261cb9
cmp byte [rcx + 0x50], 0
jne 0x140261cb9
test eax, eax
jns 0x140261c96
mov eax, dword [r14 + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140238280
mov qword [rdi + 0x10], rbp
mov byte [rdi + 1], 0
jmp 0x140261cc5
xor r8d, r8d
lea edx, [r8 - 2]
call fcn.140238280
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140261d48
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 4
jmp 0x140261d48
mov ebp, dword [rsp + 0xd8]
test ebp, ebp
jle 0x140261cfe
test cl, cl
jne 0x140261cfe
mov rax, qword [rsi + 0x1c0]
test rax, rax
cmovne rsi, rax
mov byte [rsi + 0x23], 1
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
movzx esi, byte [rdx + 0x2c]
cmp dword [rax + 0x64], edi
jg 0x140261d1b
mov rcx, rbx
call fcn.140237c00
test eax, eax
jne 0x140261d46
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 8], ebp
xor ebp, ebp
mov word [rax + rcx*8], 0x81
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x140261d48
xor ebp, ebp
mov r8, qword [rbx + 0x30]
or eax, 0xffffffff
sub eax, r12d
js 0x140261d69
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x140261d69
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [r8 + 0x68], eax
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x64], edi
jg 0x140261d8b
mov rcx, rbx
call fcn.140237c00
test eax, eax
jne 0x140261db4
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [rdi + rdi*2]
mov word [rax + rcx*8], 0x3a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret