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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov r15d, dword [rsp + 0x100]
mov r12, rdx
mov eax, dword [rcx + 0x38]
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
mov rbp, qword [rcx]
mov dword [rsp + 0x50], r15d
inc r15d
mov dword [rsp + 0x4c], r15d
inc r15d
mov dword [rsp + 0x54], r15d
inc r15d
mov r13d, r15d
mov dword [rsp + 0x44], r15d
mov qword [rsp + 0x80], rbp
mov byte [rsp + 0x40], 1
lea r14d, [r15 + 1]
add r15d, 2
mov dword [rsp + 0x68], r15d
inc r15d
mov dword [rsp + 0x58], r15d
inc r15d
cmp eax, r15d
mov dword [rsp + 0x5c], r14d
mov dword [rsp + 0x100], r15d
cmovle eax, r15d
mov dword [rcx + 0x38], eax
test rbx, rbx
jne 0x1400570c0
call fcn.14007a150
mov rbx, rax
test rax, rax
je 0x140057c58
test r12, r12
je 0x140057c58
cmp dword [r12 + 0x38], 0
je 0x140057c58
mov rdx, qword [r12]
lea r8, [0x1400dff54]
xor r9d, r9d
lea rcx, str.sqlite__
call fcn.140065e80
test eax, eax
je 0x140057c58
mov rdx, qword [r12 + 0x70]
mov rcx, rbp
mov qword [rsp + 0x98], rsi
call fcn.140075940
mov rcx, qword [rbp + 0x20]
xor r9d, r9d
mov r8, qword [r12]
movsxd rsi, eax
mov rdx, rsi
mov dword [rsp + 0x60], esi
shl rdx, 5
mov rdx, qword [rdx + rcx]
mov rcx, rdi
mov qword [rsp + 0x20], rdx
lea edx, [r9 + 0x1c]
call fcn.1400598f0
test eax, eax
jne 0x140057c50
mov rax, qword [r12]
xor r9d, r9d
mov r8d, dword [r12 + 0x38]
mov edx, esi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400599b0
mov esi, dword [rsp + 0x108]
mov r9, r12
mov eax, dword [rdi + 0x34]
mov ebp, esi
mov r8d, dword [rsp + 0x60]
mov edx, ebp
mov dword [rsp + 0x7c], esi
inc esi
mov dword [rsp + 0x108], esi
mov dword [rsp + 0x20], 0x69
lea ecx, [rsi + 1]
cmp eax, ecx
cmovle eax, ecx
mov rcx, rdi
mov dword [rdi + 0x34], eax
call fcn.14006b640
mov r8, qword [r12]
mov edx, r14d
mov rcx, rbx
call fcn.140037270
mov r14, qword [r12 + 0x10]
xor ecx, ecx
mov qword [rsp + 0x70], r14
test r14, r14
je 0x140057b6a
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x1400571d5
cmp rax, r14
jne 0x140057b54
cmp qword [r14 + 0x48], 0
movzx eax, byte [rsp + 0x40]
cmovne ecx, eax
test byte [r12 + 0x40], 0x20
mov byte [rsp + 0x40], cl
je 0x140057204
mov eax, dword [r14 + 0x64]
and al, 3
cmp al, 2
jne 0x140057204
movzx edi, word [r14 + 0x5e]
mov r8, r12
mov ebp, edi
jmp 0x14005721a
test byte [r14 + 0x64], 8
mov r8, r14
movzx edi, word [r14 + 0x60]
mov ebp, edi
je 0x14005721a
movzx ebp, word [r14 + 0x5e]
mov r8, qword [r8]
lea r12d, [rbp - 1]
mov edx, dword [rsp + 0x68]
mov rcx, rbx
call fcn.140037270
mov rdx, qword [rsp + 0xe0]
lea ecx, [r12 + r15]
mov r8d, esi
mov eax, dword [rdx + 0x38]
cmp eax, ecx
cmovle eax, ecx
mov rcx, rbx
mov dword [rdx + 0x38], eax
mov edx, 0x69
mov eax, dword [rsp + 0x60]
mov r9d, dword [r14 + 0x58]
mov dword [rsp + 0x20], eax
call fcn.140037050
mov rcx, qword [rsp + 0xe0]
mov rdx, r14
call fcn.1400382b0
mov esi, dword [rsp + 0x4c]
mov r8d, edi
inc esi
mov edx, 0x4d
mov r9d, esi
mov rcx, rbx
call fcn.1400371a0
mov edi, dword [rsp + 0x4c]
mov edx, 0x4d
movzx r8d, word [r14 + 0x5e]
mov rcx, rbx
lea r9d, [rdi + 2]
call fcn.1400371a0
mov rax, qword [rbx + 0x18]
movsxd rdx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], edx
jg 0x1400572cd
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, esi
mov rcx, rbx
lea edx, [r8 + 0x5a]
call fcn.140036ff0
mov edx, eax
jmp 0x1400572f6
lea rcx, [rdx + rdx*2]
xor r8d, r8d
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov qword [rax + rcx*8], 0x5a
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x140057312
lea r8, [0x1400e2680]
mov edx, 0xfffffffc
call fcn.140037e90
jmp 0x14005735a
test edx, edx
jns 0x14005731e
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x14005734b
mov r9d, 0xfffffffc
lea r8, [0x1400e2680]
mov rcx, rbx
call fcn.1400380f0
jmp 0x14005735a
lea rax, [0x1400e2680]
mov byte [rdx + 1], 0xfc
mov qword [rdx + 0x10], rax
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x140057377
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8 - 0x16], dx
mov esi, dword [rsp + 0x108]
mov edx, 0x3a
mov r8d, esi
mov rcx, rbx
call fcn.140037130
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x78], eax
lea edx, [r8 + 0x4d]
call fcn.1400371a0
mov edi, dword [rbx + 0xb8]
test r12d, r12d
jle 0x140057748
mov rcx, rbx
call fcn.140037930
mov rcx, qword [rsp + 0x80]
mov esi, eax
mov edx, ebp
mov dword [rsp + 0x64], eax
lea rdx, [rdx*4 - 4]
call fcn.1400157c0
mov qword [rsp + 0x88], rax
mov r13, rax
test rax, rax
je 0x140057b36
mov edx, 0xd
mov rcx, rbx
call fcn.1400370c0
mov edi, dword [rbx + 0xb8]
mov dword [rsp + 0x48], edi
cmp r12d, 1
jne 0x14005742c
cmp word [r14 + 0x5e], r12w
jne 0x14005742c
cmp byte [r14 + 0x62], 0
je 0x14005742c
mov r9d, esi
lea edx, [r12 + 0x22]
mov r8d, r15d
mov rcx, rbx
call fcn.1400371a0
xor eax, eax
mov ebp, eax
test r12d, r12d
jle 0x1400575ab
mov r14, r13
mov r15d, eax
mov r13, qword [rsp + 0x70]
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [r13 + 0x40]
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rdx + r15]
call fcn.14005c8a0
mov r9d, dword [rsp + 0x54]
mov r8d, ebp
mov edx, 0x4d
mov rcx, rbx
mov rsi, rax
call fcn.1400371a0
mov eax, dword [rsp + 0x44]
mov r9d, ebp
mov r8d, dword [rsp + 0x108]
mov edx, 0x62
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.140037050
mov rax, qword [rbx + 0x18]
mov edx, dword [rsp + 0x100]
movsxd rdi, dword [rbx + 0xb8]
add edx, ebp
mov r8d, dword [rsp + 0x44]
cmp dword [rax + 0x3c], edi
jg 0x1400574d2
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov rcx, rbx
lea edx, [r9 + 0x24]
call fcn.140036ff0
mov edi, eax
jmp 0x140057500
lea rcx, [rdi + rdi*2]
xor r9d, r9d
lea eax, [rdi + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
mov rcx, qword [rbx]
mov eax, edi
cmp byte [rcx + 0x55], 0
je 0x14005751a
mov r8, rsi
mov edx, 0xfffffffd
call fcn.140037e90
jmp 0x14005755b
test edi, edi
jns 0x140057526
mov eax, dword [rbx + 0xb8]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x14005754e
mov r9d, 0xfffffffd
mov r8, rsi
mov rcx, rbx
call fcn.1400380f0
jmp 0x14005755b
test rsi, rsi
je 0x14005755b
mov qword [rdx + 0x10], rsi
mov byte [rdx + 1], 0xfd
mov dword [r14], edi
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x14005757b
lea rcx, [rax + rax*2]
mov edx, 0x80
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8 - 0x16], dx
inc ebp
add r15, 8
add r14, 4
cmp ebp, r12d
jl 0x140057450
mov r13, qword [rsp + 0x88]
mov r14, qword [rsp + 0x70]
mov esi, dword [rsp + 0x64]
mov r15d, dword [rsp + 0x100]
mov edi, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x54]
mov r8d, r12d
mov edx, 0x4d
mov rcx, rbx
call fcn.1400371a0
mov edx, esi
mov rcx, rbx
call fcn.140037210
mov rax, qword [rbx]
lea ecx, [rdi - 1]
mov edx, dword [rbx + 0xb8]
cmp byte [rax + 0x55], 0
je 0x1400575e5
lea rax, [0x1400fbd48]
jmp 0x1400575fc
test ecx, ecx
mov eax, edx
cmovns eax, edi
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
xor r8d, r8d
mov dword [rax + 8], edx
mov edi, r8d
test r12d, r12d
jle 0x1400576c5
mov r14d, dword [rsp + 0x108]
mov rsi, r13
nop dword [rax]
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
mov ecx, dword [rsi]
cmp byte [rax + 0x55], 0
je 0x14005763a
lea rax, [0x1400fbd48]
jmp 0x140057650
test ecx, ecx
lea eax, [rdx - 1]
cmovns eax, ecx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
lea edx, [rdi + r15]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140057683
mov dword [rsp + 0x20], edx
mov r9d, edi
mov edx, 0x62
mov r8d, r14d
mov rcx, rbx
call fcn.140036ff0
xor r8d, r8d
jmp 0x1400576ad
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x62
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r8
inc edi
add rsi, 4
cmp edi, r12d
jl 0x140057620
mov r14, qword [rsp + 0x70]
mov esi, dword [rsp + 0x64]
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400576e5
mov eax, 0xffffffff
sub eax, esi
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
mov rbp, qword [rsp + 0x80]
cmp qword [rbp + 0x298], 0
je 0x140057704
mov rdx, r13
mov rcx, rbp
call fcn.140015440
jmp 0x140057738
cmp r13, qword [rbp + 0x180]
jb 0x140057730
cmp r13, qword [rbp + 0x188]
jae 0x140057730
mov rax, qword [rbp + 0x178]
mov qword [r13], rax
dec dword [rbp + 0x160]
mov qword [rbp + 0x178], r13
jmp 0x140057738
mov rcx, r13
call fcn.1400153d0
mov edi, dword [rsp + 0x48]
mov r13d, dword [rsp + 0x44]
mov esi, dword [rsp + 0x108]
mov rax, qword [rbx + 0x18]
mov r8d, 1
movsxd rdx, dword [rbx + 0xb8]
mov r12d, dword [rsp + 0x4c]
cmp dword [rax + 0x3c], edx
jg 0x14005777d
mov r9d, r12d
mov dword [rsp + 0x20], r13d
lea edx, [r8 + 0x59]
mov rcx, rbx
call fcn.140036ff0
mov edx, eax
xor ebp, ebp
jmp 0x1400577ab
lea rcx, [rdx + rdx*2]
xor ebp, ebp
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x5a
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x1400577c7
lea r8, [0x1400e5148]
mov edx, 0xfffffffc
call fcn.140037e90
jmp 0x14005780f
test edx, edx
jns 0x1400577d3
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x140057800
mov r9d, 0xfffffffc
lea r8, [0x1400e5148]
mov rcx, rbx
call fcn.1400380f0
jmp 0x14005780f
lea rax, [0x1400e5148]
mov byte [rdx + 1], 0xfc
mov qword [rdx + 0x10], rax
movsxd rcx, dword [rbx + 0xb8]
test ecx, ecx
jle 0x140057832
mov rax, qword [rbx + 0x68]
lea rcx, [rcx + rcx*2]
mov edx, 2
mov word [rax + rcx*8 - 0x16], dx
mov ecx, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x140057854
mov r9d, edi
mov dword [rsp + 0x20], ebp
mov r8d, esi
mov edx, 7
mov rcx, rbx
call fcn.140036ff0
jmp 0x140057880
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 7
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx + 0x18]
movsxd rdx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], edx
jg 0x1400578ae
mov eax, dword [rsp + 0x58]
xor r8d, r8d
mov r9d, r12d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [r8 + 0x5a]
call fcn.140036ff0
mov edx, eax
jmp 0x1400578db
mov r8d, dword [rsp + 0x58]
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov qword [rax + rcx*8], 0x5a
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x1400578f7
lea r8, [0x1400e24e0]
mov edx, 0xfffffffc
call fcn.140037e90
jmp 0x14005793f
test edx, edx
jns 0x140057903
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x140057930
mov r9d, 0xfffffffc
lea r8, [0x1400e24e0]
mov rcx, rbx
call fcn.1400380f0
jmp 0x14005793f
lea rax, [0x1400e24e0]
mov byte [rdx + 1], 0xfc
mov qword [rdx + 0x10], rax
movsxd rdx, dword [rbx + 0xb8]
test edx, edx
jle 0x140057962
mov rax, qword [rbx + 0x68]
lea rcx, [rdx + rdx*2]
mov edx, 1
mov word [rax + rcx*8 - 0x16], dx
mov edx, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
mov r8d, dword [rsp + 0x5c]
cmp dword [rax + 0x3c], edx
jg 0x14005798b
mov r9d, 3
mov dword [rsp + 0x20], r13d
mov rcx, rbx
lea edx, [r9 + 0x61]
call fcn.140036ff0
mov edx, eax
jmp 0x1400579bd
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x64
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], 3
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x1400579d6
lea r8, [0x1400dcf20]
xor edx, edx
call fcn.140037e90
jmp 0x140057a03
test edx, edx
jns 0x1400579e2
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea r8, [0x1400dcf20]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rdx, [rax + rcx*8]
mov rcx, rbx
call fcn.1400380f0
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140057a41
mov r9d, dword [rsp + 0x50]
mov edx, 0x73
mov r8d, dword [rsp + 0xf8]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.140036ff0
mov edx, dword [rsp + 0xf8]
xor ebp, ebp
mov r8d, dword [rsp + 0x50]
jmp 0x140057a77
mov edx, dword [rsp + 0xf8]
lea eax, [rcx + 1]
mov r8d, dword [rsp + 0x50]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x73
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140057aa1
mov dword [rsp + 0x20], r8d
mov r9d, r13d
mov r8d, edx
mov rcx, rbx
mov edx, 0x74
call fcn.140036ff0
jmp 0x140057acc
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x74
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rbp
movsxd rdx, dword [rbx + 0xb8]
test edx, edx
jle 0x140057aef
mov rax, qword [rbx + 0x68]
lea rcx, [rdx + rdx*2]
mov edx, 8
mov word [rax + rcx*8 - 0x16], dx
mov edx, dword [rbx + 0xb8]
mov ecx, dword [rsp + 0x78]
test ecx, ecx
jns 0x140057afa
lea ecx, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x140057b18
lea rax, [0x1400fbd48]
mov dword [rax + 8], edx
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x40], al
jmp 0x140057b42
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x40], al
jmp 0x140057b42
mov r13d, dword [rsp + 0x44]
mov esi, dword [rsp + 0x108]
mov rax, qword [rsp + 0xf0]
xor ecx, ecx
mov r12, qword [rsp + 0xe8]
mov r14, qword [r14 + 0x28]
mov qword [rsp + 0x70], r14
test r14, r14
jne 0x1400571c7
mov ebp, dword [rsp + 0x7c]
cmp qword [rsp + 0xf0], 0
jne 0x140057c50
cmp byte [rsp + 0x40], 0
je 0x140057c50
mov r9d, dword [rsp + 0x58]
mov r8d, ebp
mov edx, 0x65
mov rcx, rbx
call fcn.1400371a0
mov r8d, dword [rsp + 0x58]
mov edx, 0x16
mov rcx, rbx
call fcn.140037130
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rcx, rbx
mov edi, eax
lea edx, [r8 + 0x50]
call fcn.1400371a0
mov r8d, dword [rsp + 0x5c]
xor eax, eax
mov dword [rsp + 0x30], eax
mov r9d, 3
lea rax, [0x1400dcf20]
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea edx, [r9 + 0x61]
call fcn.1400374e0
mov r12d, dword [rsp + 0x50]
mov edx, 0x73
mov r8d, dword [rsp + 0xf8]
mov r9d, r12d
mov rcx, rbx
call fcn.1400371a0
mov r8d, dword [rsp + 0xf8]
mov r9d, r13d
mov edx, 0x74
mov dword [rsp + 0x20], r12d
mov rcx, rbx
call fcn.140037050
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x140057c46
lea rcx, [rax + rax*2]
mov edx, 8
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8 - 0x16], dx
mov edx, edi
mov rcx, rbx
call fcn.140037c50
mov rsi, qword [rsp + 0x98]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret