Function at 0x14003c580
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
sub rsp, 0xb8
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0xe0]
and eax, 1
test eax, eax
jne 0x14003c5ed
mov dword [rsp + 0x70], 1
jmp 0x14003c5f5
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x88], eax
call fcn.140035550
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x54], 0x1000
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x50], 0
mov rcx, qword [rsp + 0xc0]
call fcn.140072660
add eax, 7
and eax, 0xfffffff8
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov eax, dword [rsp + 0xe0]
and eax, 2
test eax, eax
je 0x14003c6c5
mov dword [rsp + 0x58], 1
cmp qword [rsp + 0xd0], 0
je 0x14003c6c5
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xd0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14003c6c5
mov rdx, qword [rsp + 0xd0]
xor ecx, ecx
call fcn.140027ca0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14003c6ab
mov eax, 7
jmp 0x14003cef6
mov rcx, qword [rsp + 0x48]
call fcn.14002c440
mov dword [rsp + 0x38], eax
mov qword [rsp + 0xd0], 0
cmp qword [rsp + 0xd0], 0
je 0x14003c851
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xd0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14003c851
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
cdqe
mov rdx, rax
xor ecx, ecx
call fcn.140027940
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14003c72b
mov eax, 7
jmp 0x14003cef6
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.140026940
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x48]
call fcn.14002c440
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0xd0]
call fcn.14002c440
inc eax
cdqe
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movsx eax, byte [rax]
test eax, eax
je 0x14003c7ec
mov rcx, qword [rsp + 0x60]
call fcn.14002c440
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.14002c440
inc eax
cdqe
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x14003c7a2
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x90]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x3c], 0
jne 0x14003c835
mov eax, dword [rsp + 0x38]
add eax, 8
mov rcx, qword [rsp + 0xc0]
cmp eax, dword [rcx + 8]
jle 0x14003c835
mov ecx, 0xd930
call fcn.1400e0250
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14003c851
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call fcn.140027660
mov eax, dword [rsp + 0x3c]
jmp 0x14003cef6
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 + reloc.WLDAP32.dll_Ordinal_304]
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.140027870
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14003c8d4
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call fcn.140027660
mov eax, 7
jmp 0x14003cef6
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
add rax, reloc.WLDAP32.dll_Ordinal_304
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 + 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 + 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 0x14003cafa
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 r8, rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0xd0]
call fcn.140161160
cmp dword [rsp + 0x50], 0
je 0x14003ca33
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 r8, rax
mov rdx, qword [rsp + 0x90]
call fcn.140161160
movsxd rax, dword [rsp + 0x38]
mov r8, rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0xd8]
call fcn.140161160
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xd8]
add rcx, rax
mov rax, rcx
mov r8d, 0xa
lea rdx, str._journal
mov rcx, rax
call fcn.140161160
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 r8, rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x128]
call fcn.140161160
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x128]
add rcx, rax
mov rax, rcx
mov r8d, 5
lea rdx, str._wal
mov rcx, rax
call fcn.140161160
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call fcn.140027660
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 0x14003cc78
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xd0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14003cc78
mov dword [rsp + 0x78], 0
lea rax, [rsp + 0x78]
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.140026870
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x78]
and eax, 1
test eax, eax
je 0x14003cb9d
mov dword [rsp + 0x7c], 1
jmp 0x14003cba5
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x3c], 0
jne 0x14003cc76
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x48]
call fcn.1400266f0
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x5c], 0
jne 0x14003cc19
mov rcx, qword [rsp + 0x30]
call fcn.14003a170
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xb8]
cmp dword [rsp + 0x54], eax
jae 0x14003cc19
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xb8], 0x2000
jbe 0x14003cc0a
mov dword [rsp + 0x54], 0x2000
jmp 0x14003cc19
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xb8]
mov dword [rsp + 0x54], eax
xor r8d, r8d
lea rdx, str.nolock
mov rcx, qword [rsp + 0xd0]
call fcn.1400e08f0
mov rcx, qword [rsp + 0x30]
mov byte [rcx + 0x11], al
mov eax, dword [rsp + 0x98]
and eax, 0x2000
test eax, eax
jne 0x14003cc63
xor r8d, r8d
lea rdx, str.immutable
mov rcx, qword [rsp + 0xd0]
call fcn.1400e08f0
test eax, eax
je 0x14003cc76
mov eax, dword [rsp + 0xe8]
or eax, 1
mov dword [rsp + 0xe8], eax
jmp 0x14003cc78
jmp 0x14003cca9
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 + 0xe8]
and eax, 1
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x3c], 0
jne 0x14003ccc9
mov r8d, 0xffffffff
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x30]
call fcn.14003b4d0
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x14003cd8c
mov eax, dword [rsp + 0xd8]
add eax, 7
and eax, 0xfffffff8
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0x58], 0
jne 0x14003ccfc
mov dword [rsp + 0x80], 1
jmp 0x14003cd07
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 0
je 0x14003cd22
lea rax, [fcn.14003c3a0]
mov qword [rsp + 0xa0], rax
jmp 0x14003cd2e
mov qword [rsp + 0xa0], 0
cmp dword [rsp + 0x58], 0
jne 0x14003cd42
mov dword [rsp + 0x84], 1
jmp 0x14003cd4d
mov dword [rsp + 0x84], 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 + 0xa0]
mov r8d, dword [rsp + 0x84]
mov edx, dword [rsp + 0xd8]
mov ecx, dword [rsp + 0x54]
call fcn.140035560
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14003cdc5
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x48]
call fcn.140026420
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x110]
call fcn.1400368c0
mov rcx, qword [rsp + 0x30]
call fcn.140027520
mov eax, dword [rsp + 0x3c]
jmp 0x14003cef6
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x88]
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 + 0x58]
mov byte [rax + 0x13], cl
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x5c]
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 0x14003ce49
jmp 0x14003ce6d
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 + 0xd8]
mov word [rax + 0xb0], cx
mov rax, qword [rsp + 0x30]
mov qword [rax + 0xc8], 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
call fcn.14003a170
cmp dword [rsp + 0x88], 0
jne 0x14003ceb0
mov rax, qword [rsp + 0x30]
mov byte [rax + 9], 2
jmp 0x14003cec6
cmp dword [rsp + 0x58], 0
jne 0x14003cebd
xor eax, eax
test eax, eax
je 0x14003cec6
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 rcx, qword [rsp + 0x30]
call fcn.1400381d0
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
add rsp, 0xb8
ret