Function at 0x1401bb490
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 rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0xf0]
and eax, 1
test eax, eax
jne 0x1401bb511
mov dword [rsp + 0x70], 1
jmp 0x1401bb519
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x84], eax
call fcn.1401b4060
mov dword [rsp + 0x74], eax
mov dword [rsp + 0xa0], 0x1000
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x50], 0
mov rcx, qword [rsp + 0xd0]
call fcn.1401f5370
add eax, 7
and eax, 0xfffffff8
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xd8]
mov qword [rax], 0
mov eax, dword [rsp + 0xf0]
and eax, 2
test eax, eax
je 0x1401bb5ec
mov dword [rsp + 0x54], 1
cmp qword [rsp + 0xe0], 0
je 0x1401bb5ec
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1401bb5ec
mov rdx, qword [rsp + 0xe0]
xor ecx, ecx
call fcn.1401a5a00
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1401bb5d2
mov eax, 7
jmp 0x1401bbe17
mov rcx, qword [rsp + 0x48]
call fcn.1401aa6c0
mov dword [rsp + 0x38], eax
mov qword [rsp + 0xe0], 0
cmp qword [rsp + 0xe0], 0
je 0x1401bb778
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1401bb778
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 8]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
add eax, eax
cdqe
mov rdx, rax
xor ecx, ecx
call fcn.1401a56a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1401bb652
mov eax, 7
jmp 0x1401bbe17
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax], 0
mov r9, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd0]
call fcn.1401a4000
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x48]
call fcn.1401aa6c0
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0xe0]
call fcn.1401aa6c0
inc eax
cdqe
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movsx eax, byte [rax]
test eax, eax
je 0x1401bb713
mov rcx, qword [rsp + 0x60]
call fcn.1401aa6c0
inc eax
cdqe
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1401aa6c0
inc eax
cdqe
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x1401bb6c9
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x88]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x3c], 0
jne 0x1401bb75c
mov eax, dword [rsp + 0x38]
add eax, 8
mov rcx, qword [rsp + 0xd0]
cmp eax, dword [rcx + 8]
jle 0x1401bb75c
mov ecx, 0xdb6e
call fcn.140268460
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x1401bb778
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call fcn.1401a53a0
mov eax, dword [rsp + 0x3c]
jmp 0x1401bbe17
mov eax, dword [rsp + 0x74]
add eax, 7
and eax, 0xfffffff8
cdqe
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 4]
add ecx, 7
and ecx, 0xfffffff8
movsxd rcx, ecx
lea rax, [rax + rcx + 0x130]
mov ecx, dword [rsp + 0x68]
shl ecx, 1
movsxd rcx, ecx
add rax, rcx
movsxd rcx, dword [rsp + 0x38]
add rax, rcx
movsxd rcx, dword [rsp + 0x50]
lea rax, [rax + rcx + 1]
movsxd rcx, dword [rsp + 0x38]
add rax, rcx
movsxd rcx, dword [rsp + 0x38]
lea rax, [rax + rcx + 0x10]
mov rcx, rax
call fcn.1401a55d0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1401bb7fb
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call fcn.1401a53a0
mov eax, 7
jmp 0x1401bbe17
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
add rax, 0x130
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x118], rcx
mov eax, dword [rsp + 0x74]
add eax, 7
and eax, 0xfffffff8
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x48], rcx
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 4]
add eax, 7
and eax, 0xfffffff8
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x58], rcx
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x50], rcx
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0xd0], rcx
cmp qword [rsp + 0x48], 0
je 0x1401bba0c
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x50]
lea eax, [rax + rcx + 1]
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0xd8], rcx
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rcx + 0xd0]
mov rsi, qword [rsp + 0x48]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x50], 0
je 0x1401bb957
movsxd rax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x38]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov rdx, qword [rdx + 0xd0]
add rdx, rcx
mov rcx, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x88]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rcx + 0xd8]
mov rsi, qword [rsp + 0x48]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xd8]
lea rdx, str._journal
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x38]
add eax, 9
cdqe
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xd8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x128], rax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rcx + 0x128]
mov rsi, qword [rsp + 0x48]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x128]
lea rdx, str._wal
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call fcn.1401a53a0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0xf8]
mov dword [rax + 0xb4], ecx
cmp qword [rsp + 0xe0], 0
je 0x1401bbb9c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1401bbb9c
mov dword [rsp + 0xa4], 0
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xf8]
mov rax, qword [rsp + 0x30]
mov r8, qword [rax + 0x48]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0xd0]
mov rcx, qword [rsp + 0xd0]
call fcn.1401a3f30
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0xa4]
and eax, 1
test eax, eax
je 0x1401bbab8
mov dword [rsp + 0x78], 1
jmp 0x1401bbac0
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x3c], 0
jne 0x1401bbb9a
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x48]
call fcn.1401a3db0
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x58], 0
jne 0x1401bbb3d
mov rcx, qword [rsp + 0x30]
call fcn.1401b8f50
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xb8]
cmp dword [rsp + 0xa0], eax
jae 0x1401bbb3d
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xb8], 0x2000
jbe 0x1401bbb2b
mov dword [rsp + 0xa0], 0x2000
jmp 0x1401bbb3d
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xb8]
mov dword [rsp + 0xa0], eax
xor r8d, r8d
lea rdx, str.nolock
mov rcx, qword [rsp + 0xe0]
call fcn.140269280
mov rcx, qword [rsp + 0x30]
mov byte [rcx + 0x11], al
mov eax, dword [rsp + 0x90]
and eax, 0x2000
test eax, eax
jne 0x1401bbb87
xor r8d, r8d
lea rdx, str.immutable
mov rcx, qword [rsp + 0xe0]
call fcn.140269280
test eax, eax
je 0x1401bbb9a
mov eax, dword [rsp + 0xf8]
or eax, 1
mov dword [rsp + 0xf8], eax
jmp 0x1401bbb9c
jmp 0x1401bbbcd
mov dword [rsp + 0x6c], 1
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x14], 1
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x15], 4
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x11], 1
mov eax, dword [rsp + 0xf8]
and eax, 1
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x3c], 0
jne 0x1401bbbf0
mov r8d, 0xffffffff
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
call fcn.1401ba380
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x1401bbcad
mov eax, dword [rsp + 0xe8]
add eax, 7
and eax, 0xfffffff8
mov dword [rsp + 0xe8], eax
cmp dword [rsp + 0x54], 0
jne 0x1401bbc20
mov dword [rsp + 0x7c], 1
jmp 0x1401bbc28
mov dword [rsp + 0x7c], 0
cmp dword [rsp + 0x7c], 0
je 0x1401bbc40
lea rax, [fcn.1401bb2b0]
mov qword [rsp + 0x98], rax
jmp 0x1401bbc4c
mov qword [rsp + 0x98], 0
cmp dword [rsp + 0x54], 0
jne 0x1401bbc60
mov dword [rsp + 0x80], 1
jmp 0x1401bbc6b
mov dword [rsp + 0x80], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x118]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0xe8]
mov ecx, dword [rsp + 0xa0]
call fcn.1401b4070
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x1401bbce6
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x48]
call fcn.1401a3ae0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x110]
call fcn.1401b54e0
mov rcx, qword [rsp + 0x30]
call fcn.1401a5240
mov eax, dword [rsp + 0x3c]
jmp 0x1401bbe17
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x84]
mov byte [rax + 0xa], cl
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc0], 0x3fffffff
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x6c]
mov byte [rax + 0x10], cl
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x6c]
mov byte [rax + 8], cl
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x10]
mov byte [rax + 0x16], cl
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x54]
mov byte [rax + 0x13], cl
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x58]
mov byte [rax + 0x12], cl
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x10]
mov byte [rax + 0xb], cl
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xb]
test eax, eax
je 0x1401bbd6a
jmp 0x1401bbd8e
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xc], 1
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xd], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xe], 2
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xf], 0xa
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0xe8]
mov word [rax + 0xb0], cx
mov rax, qword [rsp + 0x30]
mov qword [rax + 0xc8], 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
call fcn.1401b8f50
cmp dword [rsp + 0x84], 0
jne 0x1401bbdd1
mov rax, qword [rsp + 0x30]
mov byte [rax + 9], 2
jmp 0x1401bbde7
cmp dword [rsp + 0x54], 0
jne 0x1401bbdde
xor eax, eax
test eax, eax
je 0x1401bbde7
mov rax, qword [rsp + 0x30]
mov byte [rax + 9], 4
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
mov qword [rax + 0x100], rcx
mov rcx, qword [rsp + 0x30]
call fcn.1401b6e90
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140269770
add rsp, 0xb8
pop rdi
pop rsi
ret