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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov eax, dword [rcx + 0x30]
mov dword [rsp + 0xa8], edx
mov r15, rcx
mov r13, r8
mov dword [rsp + 0xb8], r9d
mov dword [rsp + 0x4c], eax
test eax, eax
jne 0x1407367f4
mov r14, qword [rcx + 0x10]
mov ecx, dword [r8 + 0x30]
mov byte [r8], 1
mov dword [rsp + 0x48], 0
mov rbx, qword [r8 + 0x28]
mov dword [rsp + 0x3c], 0
test ecx, ecx
jle 0x140736761
mov qword [rsp + 0xb0], r8
mov r13, rbx
jmp 0x1407363ff
mov rax, qword [r13]
cmp byte [r13 + 0x1d], 1
mov ebx, dword [rdi]
mov rax, qword [rax + 0x10]
mov r11, qword [rax + 0x20]
mov r12d, dword [r11]
adc r12d, 0
cmp byte [r13 + 0x1c], 0
je 0x1407362f4
add r12d, ebx
add r12d, 1
mov rcx, r15
mov edx, r12d
call fcn.1406a57e0
xor r9d, r9d
mov rdx, r11
mov qword [rsp + 0x40], r11
mov dword [rsp + 0x20], 1
mov r8d, eax
mov ebp, eax
call fcn.140732c70
mov r11, qword [rsp + 0x40]
cmp byte [r13 + 0x1d], 0
mov r11d, dword [r11]
je 0x140736638
cmp byte [r13 + 0x1c], 0
mov eax, ebp
jne 0x140736608
mov r8d, dword [r13 + 0x10]
test r8d, r8d
js 0x140736377
test esi, esi
jne 0x140736358
mov esi, dword [r15 + 0x44]
sub esi, 1
mov dword [r15 + 0x44], esi
mov dword [rsp + 0x28], eax
mov edx, dword [rsp + 0xb8]
mov r9d, esi
mov rcx, r15
mov qword [rsp + 0x20], rdi
call fcn.1406d4e60
mov dword [r13 + 0x10], eax
mov r11d, dword [r13 + 0x18]
test r11d, r11d
js 0x1407364f8
lea ebx, [r12 + rbp - 1]
lea edi, [r12 - 1]
mov r8d, ebp
mov rcx, r14
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov edx, 0x61
call fcn.1406c9b90
mov r8d, dword [r13 + 0x18]
mov dword [rsp + 0x28], edi
mov r9d, ebx
mov dword [rsp + 0x20], ebp
mov edx, 0x8a
mov rcx, r14
call fcn.1406ca680
cmp r12d, 1
je 0x1407365d8
cmp dword [r15 + 0x28], r12d
jge 0x1407363d9
mov dword [r15 + 0x28], r12d
mov dword [r15 + 0x2c], ebp
test esi, esi
jne 0x1407365ad
mov rsi, qword [rsp + 0xb0]
add dword [rsp + 0x3c], 1
add r13, 0x20
mov eax, dword [rsp + 0x3c]
cmp dword [rsi + 0x30], eax
jle 0x140736750
mov rax, qword [r13]
xor esi, esi
mov rdi, qword [rax + 0x20]
test byte [rax + 7], 1
je 0x14073645f
mov rax, qword [rax + 0x40]
mov r12, qword [rax + 0x48]
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x24]
test eax, eax
je 0x140736440
mov rax, qword [r13 + 8]
test byte [rax + 4], 0x20
je 0x140736440
mov ebp, dword [rsp + 0xa8]
test ebp, ebp
jne 0x140736900
nop
mov eax, dword [r15 + 0x44]
mov r9d, 0x10
mov rdx, r12
mov rcx, r15
lea esi, [rax - 1]
mov dword [r15 + 0x44], esi
mov r8d, esi
call fcn.14072bae0
mov ebx, dword [r13 + 0x18]
test ebx, ebx
jns 0x1407362d0
test rdi, rdi
je 0x140736690
mov ebx, dword [rdi]
mov rcx, r15
xor r12d, r12d
mov edx, ebx
call fcn.1406a57e0
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov rdx, rdi
mov r8d, eax
mov ebp, eax
call fcn.140732c70
mov r8d, dword [r13 + 0x10]
mov eax, ebp
test r8d, r8d
jns 0x140736349
mov edx, dword [r13 + 0x18]
test edx, edx
js 0x1407364f8
lea ebx, [rbp - 1]
mov r8d, ebp
mov rcx, r14
mov r9d, 0xffffffff
mov dword [rsp + 0x20], ebx
mov edx, 0x61
call fcn.1406c9b90
mov r8d, dword [r13 + 0x18]
mov dword [rsp + 0x20], ebp
mov r9d, ebx
mov dword [rsp + 0x28], 0xffffffff
mov edx, 0x8a
mov rcx, r14
call fcn.1406ca680
jmp 0x1407363cb
movzx eax, bl
mov word [rsp + 0x40], ax
mov rax, qword [r13 + 8]
test byte [rax + 4], 0x20
jne 0x140736808
xor r8d, r8d
mov edx, 0xa2
mov rcx, r14
mov r9d, ebp
mov rax, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb0]
mov eax, dword [rax + 0x20]
add eax, dword [rdi + 0xc]
add eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
call fcn.1406c9b90
mov rcx, qword [r14]
mov rdx, qword [r13 + 8]
cmp byte [rcx + 0x67], 0
jne 0x140736670
movsxd rcx, dword [r14 + 0x90]
lea r8, [rcx + rcx*2]
mov rax, rcx
mov rcx, qword [r14 + 0x88]
lea rcx, [rcx + r8*8 - 0x18]
mov byte [rcx + 1], 0xf9
mov qword [rcx + 0x10], rdx
test eax, eax
jle 0x14073658e
mov r9, qword [r14 + 0x88]
movzx edi, word [rsp + 0x40]
lea rax, [rax + rax*2]
lea rax, [r9 + rax*8]
mov word [rax - 0x16], di
cmp ebx, 1
je 0x1407365d8
cmp dword [r15 + 0x28], ebx
jge 0x1407363d9
mov dword [r15 + 0x28], ebx
mov dword [r15 + 0x2c], ebp
test esi, esi
je 0x1407363e1
mov rcx, qword [r14 + 0x18]
not esi
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1407368d0
mov edx, dword [r14 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd rsi, esi
mov dword [rax + rsi*4], edx
jmp 0x1407363e1
test ebp, ebp
je 0x1407363d9
movzx eax, byte [r15 + 0x1f]
cmp al, 7
ja 0x1407363d9
lea edx, [rax + 1]
mov byte [r15 + 0x1f], dl
mov dword [r15 + rax*4 + 0xe8], ebp
jmp 0x1407363d9
lea eax, [r11 + rbp]
xor r9d, r9d
mov rdx, rdi
mov rcx, r15
mov dword [rsp + 0x20], 1
mov r8d, eax
mov dword [rsp + 0x40], eax
call fcn.140732c70
mov eax, dword [rsp + 0x40]
jmp 0x140736340
mov r8d, dword [r13 + 0x18]
lea r9d, [rbp + r11]
mov edx, 0x7e
mov rcx, r14
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x40], r11d
call fcn.1406c9b90
mov r11d, dword [rsp + 0x40]
add r11d, 1
jmp 0x140736333
test byte [rdx + 4], 0x10
jne 0x1407368f0
movsxd rax, dword [r14 + 0x90]
jmp 0x140736572
mov rax, qword [r13 + 8]
xor ebx, ebx
xor ebp, ebp
test byte [rax + 4], 0x20
mov eax, 0
mov word [rsp + 0x40], ax
je 0x14073650e
mov rax, qword [r15]
mov rdi, qword [rax + 0x10]
nop dword [rax + rax]
mov r10d, dword [rsp + 0x48]
test r10d, r10d
jne 0x1407366e4
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x48], eax
test eax, eax
je 0x1407366e4
mov eax, dword [r15 + 0x38]
add eax, 1
mov dword [rsp + 0x48], eax
mov dword [r15 + 0x38], eax
mov edx, dword [r14 + 0x90]
cmp edx, dword [r14 + 0x94]
jge 0x140736950
lea eax, [rdx + 1]
mov dword [r14 + 0x90], eax
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
lea rax, [rax + rcx*8]
mov ecx, dword [rsp + 0x48]
mov qword [rax + 8], 0
mov dword [rax + 4], ecx
mov qword [rax + 0x10], 0
mov dword [rax], 0x55
mov r9d, 0xfffffffe
mov r8, rdi
mov rcx, r14
call fcn.1406bdc50
jmp 0x14073650e
mov r8d, dword [rsp + 0x48]
mov r13, rsi
test r8d, r8d
jne 0x140736868
mov edx, dword [rsp + 0xa8]
mov eax, dword [r13 + 0x24]
test edx, edx
je 0x140736778
test eax, eax
jne 0x140736859
mov rbx, qword [r13 + 0x18]
xor esi, esi
test eax, eax
jle 0x140736999
mov edi, dword [rsp + 0x4c]
nop word [rax + rax]
cmp qword [r15 + 0x10], 0
je 0x1407367aa
mov r8d, dword [r13 + 0xc]
mov rdx, qword [rbx + 8]
mov rcx, r15
add r8d, edi
call fcn.14072e070
add edi, 1
add rbx, 0x18
cmp dword [r13 + 0x24], edi
jg 0x140736790
mov byte [r13], 0
test esi, esi
je 0x1407367f4
mov eax, dword [r14 + 0x90]
lea edx, [rax - 1]
cmp esi, edx
je 0x14073693e
mov rcx, qword [r14]
lea rdx, [0x140c43220]
cmp byte [rcx + 0x67], 0
jne 0x1407367f1
mov rdx, qword [r14 + 0x88]
lea rcx, [rsi + rsi*2]
lea rdx, [rdx + rcx*8]
mov dword [rdx + 8], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [rdi + 8]
test ebx, ebx
jle 0x1407366ac
xor r12d, r12d
mov rdi, r8
nop word [rax + rax]
mov rdx, qword [rdi]
mov rcx, r15
add r12d, 1
add rdi, 0x20
call fcn.1406d4080
test rax, rax
jne 0x1407368e0
cmp r12d, ebx
jl 0x140736820
mov rdi, rax
test rax, rax
jne 0x1407366b8
mov rax, qword [r15]
mov rdi, qword [rax + 0x10]
jmp 0x1407366b8
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x48], eax
nop dword [rax]
movsxd rsi, dword [r14 + 0x90]
cmp esi, dword [r14 + 0x94]
jge 0x140736974
lea eax, [rsi + 1]
mov ebx, dword [rsp + 0x48]
mov dword [r14 + 0x90], eax
movsxd rax, esi
lea rdx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], ebx
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x10
mov ecx, dword [r13 + 0x24]
mov rbx, qword [r13 + 0x18]
test ecx, ecx
jg 0x140736786
jmp 0x1407367b7
mov r8d, esi
mov rdx, r14
call fcn.1406cc8a0
jmp 0x1407363e1
mov rdi, rax
jmp 0x1407366b8
call fcn.1406ac8c0
jmp 0x14073667a
mov esi, dword [rsp + 0x48]
test esi, esi
jne 0x140736917
mov eax, dword [r15 + 0x38]
add eax, 1
mov dword [rsp + 0x48], eax
mov dword [r15 + 0x38], eax
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x48]
mov edx, 0x50
mov rcx, r14
mov r8d, dword [rsp + 0xa8]
call fcn.1406c9b90
jmp 0x140736440
mov dword [r14 + 0x90], esi
jmp 0x1407367f4
mov r8d, dword [rsp + 0x48]
mov edx, 0x55
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], 0
call fcn.1406c9b00
mov edx, eax
jmp 0x140736731
mov r8d, dword [rsp + 0x48]
xor r9d, r9d
mov edx, 0x10
mov rcx, r14
mov dword [rsp + 0x20], 0
call fcn.1406c9b00
movsxd rsi, eax
jmp 0x1407368b5
mov byte [r13], 0
jmp 0x1407367f4