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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov ebp, r8d
mov r13d, edx
mov r12, rcx
mov rax, qword [rcx]
mov r15, qword [rcx + 8]
mov rsi, qword [rcx + 0x10]
mov cl, byte [r15 + 0x20]
mov edi, dword [rax + 0x44]
dec edi
mov qword [rsp + 0x40], rax
mov dword [rax + 0x44], edi
cmp edx, 2
jne 0x140079fe1
xor ebx, ebx
cmp byte [r15 + 0x21], 0x5a
je 0x14007a440
mov dword [rsp + 0x54], r9d
mov byte [rsp + 0x37], cl
xor r14d, r14d
test ebp, ebp
jle 0x14007a067
cmp byte [r15 + 0x20], 0x59
jne 0x14007a028
mov r14d, dword [rsi + 0x90]
cmp r13d, 2
jne 0x14007a045
cmp byte [r15 + 0x21], 0x56
jne 0x14007a08a
mov eax, dword [r12 + 0x28]
mov r8d, dword [r12 + 0x30]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
mov rcx, r12
mov edx, 0x37
jmp 0x14007a0a4
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov edx, 0x2f
mov r8d, ebp
mov r9d, edi
call fcn.14004e997
jmp 0x14007a067
mov eax, dword [r12 + 0x30]
mov r8d, dword [r12 + 0x38]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
mov rcx, r12
mov edx, 0x36
mov r9d, ebp
call fcn.14007a453
cmp r13d, 1
jne 0x14007a0ac
cmp dword [r15 + 0x84], 0
jne 0x14007a0ac
mov rcx, qword [r12]
mov rdx, qword [r12 + 8]
xor r8d, r8d
call fcn.14007952a
jmp 0x14007a0ac
mov r8d, dword [r12 + 0x28]
mov eax, dword [r12 + 0x30]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
mov rcx, r12
mov edx, 0x39
mov r9d, ebp
call fcn.14007a453
mov ecx, dword [rsi + 0x90]
test ebp, ebp
mov dword [rsp + 0x50], ecx
je 0x14007a10a
mov al, byte [r15 + 0x22]
cmp byte [r15 + 0x21], al
jne 0x14007a10a
cmp r13d, 2
jne 0x14007a10a
cmp byte [r15 + 0x20], 0x59
jne 0x14007a10a
mov rdx, qword [rsp + 0x40]
mov al, byte [rdx + 0x1f]
test al, al
mov dword [rsp + 0x3c], edi
je 0x14007a159
lea ecx, [rax - 1]
mov byte [rdx + 0x1f], cl
movzx ecx, cl
mov ebp, dword [rdx + rcx*4 + 0xbc]
test cl, cl
je 0x14007a17c
add al, 0xfe
mov byte [rdx + 0x1f], al
movzx eax, al
mov ebx, dword [rdx + rax*4 + 0xbc]
jmp 0x14007a184
cmp r13d, 2
je 0x14007a21d
cmp r13d, 1
jne 0x14007a135
mov ebp, dword [r12 + 0x30]
mov eax, dword [r12 + 0x34]
mov dword [rsp + 0x4c], eax
mov rcx, r12
call fcn.1400796c2
jmp 0x14007a271
mov ebp, dword [r12 + 0x38]
mov eax, dword [r12 + 0x3c]
cmp dword [r15 + 0x84], 0
mov dword [rsp + 0x4c], eax
je 0x14007a162
mov r8d, dword [r15 + 0x88]
jmp 0x14007a237
mov ebx, dword [rdx + 0x38]
inc ebx
mov ebp, ebx
jmp 0x14007a17f
mov eax, dword [r12 + 0x20]
mov dword [rsp + 0x20], eax
mov rcx, r12
mov rdx, r15
mov r8d, ebp
xor r9d, r9d
jmp 0x14007a26c
mov ebx, dword [rdx + 0x38]
inc ebx
mov dword [rdx + 0x38], ebx
mov r8d, dword [r12 + 0x28]
xor edi, edi
mov dword [rsp + 0x20], edi
mov rcx, rsi
mov edx, 0x80
mov r9d, ebp
call fcn.14004e997
mov r8d, dword [r12 + 0x38]
mov dword [rsp + 0x20], edi
mov rcx, rsi
mov edx, 0x80
mov r9d, ebx
call fcn.14004e997
mov dword [rsp + 0x20], ebp
mov rcx, rsi
mov edx, 0x39
mov r8d, ebx
mov edi, dword [rsp + 0x3c]
mov r9d, edi
call fcn.14004e997
test ebp, ebp
je 0x14007a1f8
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x1f]
cmp rax, 7
ja 0x14007a1f8
lea ecx, [rax + 1]
mov rdx, qword [rsp + 0x40]
mov byte [rdx + 0x1f], cl
mov dword [rdx + rax*4 + 0xbc], ebp
test ebx, ebx
je 0x14007a21d
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x1f]
cmp rax, 7
ja 0x14007a21d
lea ecx, [rax + 1]
mov rdx, qword [rsp + 0x40]
mov byte [rdx + 0x1f], cl
mov dword [rdx + rax*4 + 0xbc], ebx
mov ebp, dword [r12 + 0x28]
mov eax, dword [r12 + 0x2c]
mov r8d, dword [r15 + 0x84]
test r8d, r8d
mov dword [rsp + 0x4c], eax
je 0x14007a254
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 0x53
mov r9d, 1
call fcn.14004e997
jmp 0x14007a271
mov eax, dword [r12 + 0x20]
mov dword [rsp + 0x20], eax
mov rcx, r12
mov rdx, r15
mov r8d, ebp
mov r9d, 1
call fcn.14007a7fe
cmp dword [r12 + 0x24], r13d
jne 0x14007a2b1
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 0x7b
mov r8d, ebp
xor r9d, r9d
call fcn.14004e997
mov eax, dword [rsi + 0x90]
test eax, eax
jle 0x14007a2b1
mov rcx, qword [rsi + 0x88]
dec eax
lea rax, [rax + rax*2]
mov word [rcx + rax*8 + 2], 2
mov r9d, dword [rsi + 0x90]
cmp dword [rsp + 0x54], 0
mov r13d, r14d
je 0x14007a308
add r9d, 2
mov ebx, edi
xor edi, edi
mov dword [rsp + 0x20], edi
mov rcx, rsi
mov edx, 5
mov r14d, ebp
mov r8d, ebp
call fcn.14004e997
mov dword [rsp + 0x20], edi
mov edi, ebx
mov rcx, rsi
mov edx, 0xb
xor r8d, r8d
xor r9d, r9d
call fcn.14004e997
mov ebx, eax
cmp byte [rsp + 0x37], 0x4c
jne 0x14007a361
jmp 0x14007a416
xor eax, eax
mov r8d, ebp
mov bpl, byte [rsp + 0x37]
cmp bpl, 0x4c
sete al
sub r9d, eax
add r9d, 2
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 5
mov r14d, r8d
call fcn.14004e997
xor ebx, ebx
cmp bpl, 0x4c
je 0x14007a416
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov rcx, rsi
mov edx, 0xb
xor r8d, r8d
mov r9d, edi
call fcn.14004e997
mov rax, qword [r15 + 0x18]
xor ebp, ebp
test rax, rax
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x38], r13d
je 0x14007a394
mov edi, dword [rax]
mov r13d, 0
test edi, edi
je 0x14007a397
mov rcx, qword [rsp + 0x40]
mov edx, edi
call fcn.1400599e5
mov r13d, eax
mov ebp, edi
jmp 0x14007a397
xor r13d, r13d
mov rcx, r12
mov edx, r14d
mov r8d, r13d
call fcn.14007a781
mov rdx, qword [r15 + 0x18]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r15, qword [rsp + 0x40]
mov rcx, r15
mov r8d, r13d
mov r9d, dword [rsp + 0x4c]
call fcn.140079ece
cmp ebp, 1
jne 0x14007a3f3
test r13d, r13d
mov edi, dword [rsp + 0x3c]
je 0x14007a411
movzx eax, byte [r15 + 0x1f]
cmp rax, 7
ja 0x14007a411
lea ecx, [rax + 1]
mov byte [r15 + 0x1f], cl
lea r15, [r15 + rax*4]
add r15, 0xbc
jmp 0x14007a405
cmp dword [r15 + 0x28], ebp
mov edi, dword [rsp + 0x3c]
jge 0x14007a411
mov dword [r15 + 0x28], ebp
add r15, 0x2c
mov eax, dword [rsp + 0x38]
mov dword [r15], r13d
mov r13d, eax
jmp 0x14007a416
mov r13d, dword [rsp + 0x38]
test r13d, r13d
je 0x14007a436
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 0xb
xor r8d, r8d
mov r9d, r13d
call fcn.14004e997
mov rcx, rsi
mov edx, edi
call fcn.140057934
mov eax, ebx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret