Function at 0x180273f6c
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, 0xa8
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0xe0]
and eax, 1
test eax, eax
jne 0x180273fde
mov dword [rsp + 0x84], 1
jmp 0x180273fe9
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x7c], eax
call fcn.18027b11c
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x50], 0x400
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x58], 0
call fcn.180246cf0
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 4], eax
jle 0x180274042
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 4]
add eax, 7
and eax, 0xfffffff8
mov dword [rsp + 0x5c], eax
jmp 0x180274051
call fcn.180246cf0
add eax, 7
and eax, 0xfffffff8
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov eax, dword [rsp + 0xe0]
and eax, 2
test eax, eax
je 0x1802740da
mov dword [rsp + 0x54], 1
cmp qword [rsp + 0xd0], 0
je 0x1802740da
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xd0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1802740da
mov rdx, qword [rsp + 0xd0]
xor ecx, ecx
call fcn.18028726c
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1802740c0
mov eax, 7
jmp 0x1802747fa
mov rcx, qword [rsp + 0x48]
call fcn.180283998
mov dword [rsp + 0x38], eax
mov qword [rsp + 0xd0], 0
cmp qword [rsp + 0xd0], 0
je 0x180274263
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xd0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x180274263
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
add eax, eax
mov edx, eax
xor ecx, ecx
call fcn.180287424
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18027413d
mov eax, 7
jmp 0x1802747fa
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 + 0xd0]
mov rcx, qword [rsp + 0xc0]
call fcn.180288db8
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x48]
call fcn.180283998
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0xd0]
call fcn.180283998
inc eax
cdqe
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsx eax, byte [rax]
test eax, eax
je 0x1802741fe
mov rcx, qword [rsp + 0x68]
call fcn.180283998
inc eax
cdqe
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.180283998
inc eax
cdqe
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
jmp 0x1802741b4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x88]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x3c], 0
jne 0x180274247
mov eax, dword [rsp + 0x38]
add eax, 8
mov rcx, qword [rsp + 0xc0]
cmp eax, dword [rcx + 8]
jle 0x180274247
mov ecx, 0xa94e
call fcn.1801f4718
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x180274263
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call fcn.18028780c
mov eax, dword [rsp + 0x3c]
jmp 0x1802747fa
mov eax, dword [rsp + 0x74]
add eax, 7
and eax, 0xfffffff8
cdqe
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 4]
add ecx, 7
and ecx, 0xfffffff8
movsxd rcx, ecx
lea rax, [rax + rcx + 0x128]
mov ecx, dword [rsp + 0x5c]
shl ecx, 1
movsxd rcx, ecx
add rax, rcx
movsxd rcx, dword [rsp + 0x38]
add rax, rcx
movsxd rcx, dword [rsp + 0x58]
lea rax, [rax + rcx + 1]
movsxd rcx, dword [rsp + 0x38]
add rax, rcx
movsxd rcx, dword [rsp + 0x38]
lea rax, [rax + rcx + 0x10]
mov ecx, eax
call fcn.18028760c
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1802742e5
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call fcn.18028780c
mov eax, 7
jmp 0x1802747fa
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
add rax, 0x128
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x110], 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 + 0xc0]
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 + 0x5c]
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 + 0x5c]
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 0x1802744f6
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x58]
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 + 0x58], 0
je 0x180274441
movsxd rax, dword [rsp + 0x58]
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 + 0x120], rax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rcx + 0x120]
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 + 0x120]
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.18028780c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0xe8]
mov dword [rax + 0xb4], ecx
cmp qword [rsp + 0xd0], 0
je 0x1802745ed
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xd0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1802745ed
mov dword [rsp + 0x80], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xe8]
mov rax, qword [rsp + 0x30]
mov r8, qword [rax + 0x48]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0xd0]
mov rcx, qword [rsp + 0xc0]
call fcn.180288e84
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x80]
and eax, 1
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x3c], 0
jne 0x1802745eb
cmp dword [rsp + 0x60], 0
jne 0x1802745eb
mov rcx, qword [rsp + 0x30]
call fcn.180276970
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xb8]
cmp dword [rsp + 0x50], eax
jae 0x1802745eb
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xb8], 0x2000
jbe 0x1802745dc
mov dword [rsp + 0x50], 0x2000
jmp 0x1802745eb
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xb8]
mov dword [rsp + 0x50], eax
jmp 0x180274615
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x13], 1
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x14], 4
mov eax, dword [rsp + 0xe8]
and eax, 1
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x3c], 0
jne 0x180274635
mov r8d, 0xffffffff
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.18027552c
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x18027465d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x48]
call fcn.1802892b8
mov rcx, qword [rsp + 0x30]
call fcn.1802878ec
mov eax, dword [rsp + 0x3c]
jmp 0x1802747fa
mov eax, dword [rsp + 0xd8]
add eax, 7
and eax, 0xfffffff8
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0x54], 0
jne 0x180274689
lea rax, [0x18027480c]
mov qword [rsp + 0x90], rax
jmp 0x180274695
mov qword [rsp + 0x90], 0
cmp dword [rsp + 0x54], 0
jne 0x1802746a6
mov dword [rsp + 0x78], 1
jmp 0x1802746ae
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x90]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0xd8]
mov ecx, dword [rsp + 0x50]
call fcn.18027b0a4
mov rax, qword [rsp + 0x30]
mov cl, byte [rsp + 0x7c]
mov byte [rax + 0xa], cl
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc0], 0x3fffffff
mov rax, qword [rsp + 0x30]
mov cl, byte [rsp + 0x70]
mov byte [rax + 0x10], cl
mov rax, qword [rsp + 0x30]
mov cl, byte [rsp + 0x70]
mov byte [rax + 8], cl
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov cl, byte [rcx + 0x10]
mov byte [rax + 0x15], cl
mov rax, qword [rsp + 0x30]
mov cl, byte [rsp + 0x54]
mov byte [rax + 0x12], cl
mov rax, qword [rsp + 0x30]
mov cl, byte [rsp + 0x60]
mov byte [rax + 0x11], cl
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov cl, byte [rcx + 0x10]
mov byte [rax + 0xb], cl
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xb]
test eax, eax
je 0x180274760
jmp 0x180274784
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xc], 1
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xf], 2
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xe], 0x22
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xd], 2
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0xd8]
mov word [rax + 0xb0], cx
mov rax, qword [rsp + 0x30]
mov qword [rax + 0xc8], 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
call fcn.180276970
cmp dword [rsp + 0x7c], 0
jne 0x1802747c4
mov rax, qword [rsp + 0x30]
mov byte [rax + 9], 2
jmp 0x1802747d4
cmp dword [rsp + 0x54], 0
je 0x1802747d4
mov rax, qword [rsp + 0x30]
mov byte [rax + 9], 4
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xf0]
mov qword [rax + 0x100], rcx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
add rsp, 0xa8
pop rdi
pop rsi
ret