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

Disassembly:
sub esp, 0xe8
mov eax, dword [0x10140004]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xfc]
push ebx
push ebp
mov ebp, edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x100]
mov ebx, 1
push esi
mov dword [esp + 0x7c], eax
mov esi, dword [ebp + 4]
push edi
mov edi, ecx
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0xfc]
mov eax, dword [esi + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x18], esi
cmp dword [ecx], 0
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x1c], 0
jne 0x1003c667
xor eax, eax
mov dword [esp + 0x1c], ebx
cmp dword [ecx + 4], ebx
cmovne ebx, eax
cmp byte [ebp + 9], 0
je 0x1003c67d
inc dword [ebp + 0xc]
cmp byte [ebp + 0xa], 0
jne 0x1003c67d
mov ecx, ebp
call fcn.10030c60
xor eax, eax
mov dword [esp + 0x28], 0
xorps xmm0, xmm0
mov word [esp + 0x66], ax
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
mov dword [esp + 0x62], 0
mov dword [esp + 0x68], edi
mov dword [esp + 0x20], esi
mov eax, dword [esi]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0x104]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0x64
mov dword [esp + 0x58], 0x3b9aca00
mov dword [esp + 0x5c], 0
mov word [esp + 0x60], 0x100
test ecx, ecx
je 0x1003c9fa
shr ecx, 3
push 0
lea ebp, [ecx + 1]
push ebp
call fcn.1001cb50
mov edi, eax
add esp, 8
test edi, edi
je 0x1003c9d0
push ebp
push 0
push edi
call fcn.10106200
add esp, 0xc
mov dword [esp + 0x28], edi
mov ecx, dword [esi + 0x24]
call fcn.10027510
mov dword [esp + 0x64], eax
test eax, eax
jne 0x1003c765
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x38], 7
mov dword [esp + 0x30], eax
cmp dword [esp + 0x34], eax
jne 0x1003c9fa
mov dword [esp + 0x34], 1
jmp 0x1003c9fa
mov eax, dword [0x10142ac0]
xor edx, edx
div dword [esi + 0x24]
lea edi, [eax + 1]
cmp edi, dword [esp + 0x2c]
ja 0x1003c78e
mov ecx, dword [esp + 0x28]
mov edx, edi
shr edx, 3
and edi, 7
movzx eax, byte [edx + ecx]
bts eax, edi
mov byte [edx + ecx], al
test ebx, ebx
je 0x1003c7c5
mov dword [esp + 0x40], str.Main_freelist:
mov edx, 1
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx + 0x24]
bswap eax
push eax
mov eax, dword [ecx + 0x20]
lea ecx, [esp + 0x24]
bswap eax
push eax
call fcn.1003bc70
add esp, 8
mov dword [esp + 0x40], 0
cmp dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x100]
jne 0x1003c83a
cmp byte [esi + 0x11], 0
je 0x1003c819
xor ecx, ecx
xor edx, edx
test ebx, ebx
jle 0x1003c7f4
mov edi, dword [esp + 0x70]
mov eax, dword [edi + edx*4]
cmp ecx, eax
cmovae eax, ecx
inc edx
mov ecx, eax
cmp edx, ebx
jl 0x1003c7e5
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x34]
bswap eax
cmp ecx, eax
je 0x1003c83a
push eax
push ecx
lea eax, [esp + 0x28]
push str.max_rootpage___d__disagrees_with_header___d_
push eax
call fcn.1003bad0
add esp, 0x10
jmp 0x1003c83a
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x40]
bswap eax
test eax, eax
je 0x1003c83a
lea eax, [esp + 0x20]
push str.incremental_vacuum_enabled_with_a_max_rootpage_of_zero
push eax
call fcn.1003bad0
add esp, 8
mov ecx, dword [esi + 4]
xor edi, edi
and dword [ecx + 0x20], 0xffdfffff
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], eax
test ebx, ebx
jle 0x1003c8aa
mov ebp, dword [esp + 0x70]
cmp dword [esp + 0x30], 0
je 0x1003c8aa
mov edx, dword [ebp + edi*4]
test edx, edx
je 0x1003c8a5
cmp byte [esi + 0x11], 0
mov eax, edx
je 0x1003c88b
cmp edx, 1
jbe 0x1003c88b
cmp dword [esp + 0x1c], 0
jne 0x1003c88b
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.1003bbd0
mov eax, dword [ebp + edi*4]
add esp, 8
push 0x7fffffff
lea ecx, [esp + 0x74]
mov edx, eax
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x2c]
call fcn.1003be80
add esp, 0xc
inc edi
cmp edi, ebx
jl 0x1003c854
cmp dword [esp + 0x1c], 0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x24], ecx
jne 0x1003c9f6
mov edi, 1
cmp dword [esp + 0x2c], edi
jb 0x1003c9f6
cmp dword [esp + 0x30], 0
je 0x1003c9f6
mov eax, dword [esp + 0x28]
mov ebp, edi
mov ecx, edi
shr ebp, 3
and ecx, 7
mov ebx, 1
shl ebx, cl
test byte [eax + ebp], bl
jne 0x1003c95c
cmp edi, 2
jae 0x1003c903
xor ecx, ecx
jmp 0x1003c93f
mov ecx, dword [esp + 0x18]
lea esi, [edi - 2]
mov eax, 0xcccccccd
mul dword [ecx + 0x28]
mov eax, esi
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [0x10142ac0]
sub esi, edx
xor edx, edx
div dword [ecx + 0x24]
xor ecx, ecx
dec eax
cmp esi, eax
sete cl
add esi, 2
add ecx, esi
mov esi, dword [esp + 0x18]
cmp ecx, edi
jne 0x1003c949
cmp byte [esi + 0x11], 0
jne 0x1003c95c
push edi
lea eax, [esp + 0x24]
push str.Page__d_is_never_used
push eax
call fcn.1003bad0
add esp, 0xc
mov eax, dword [esp + 0x28]
test byte [eax + ebp], bl
je 0x1003c9c3
cmp edi, 2
jae 0x1003c96e
xor ecx, ecx
jmp 0x1003c9a2
mov ebx, dword [esp + 0x18]
lea esi, [edi - 2]
mov eax, 0xcccccccd
mul dword [ebx + 0x28]
mov eax, esi
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov eax, dword [0x10142ac0]
xor ecx, ecx
sub esi, edx
xor edx, edx
div dword [ebx + 0x24]
dec eax
cmp esi, eax
sete cl
add ecx, 2
add ecx, esi
mov esi, dword [esp + 0x18]
cmp ecx, edi
jne 0x1003c9c3
cmp byte [esi + 0x11], 0
je 0x1003c9c3
push edi
lea eax, [esp + 0x24]
push str.Pointer_map_page__d_is_referenced
push eax
call fcn.1003bad0
add esp, 0xc
inc edi
cmp edi, dword [esp + 0x2c]
jbe 0x1003c8d5
jmp 0x1003c9f6
mov eax, dword [esp + 0x34]
mov ecx, 1
test eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], 7
cmove eax, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
call fcn.10027620
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1003ca63
cmp dword [0x10140af8], 0
je 0x1003ca59
mov eax, dword [0x10143b48]
test eax, eax
je 0x1003ca27
push eax
call dword [0x10140b48]
add esp, 4
push esi
call dword [0x10140b24]
sub dword [0x101439d0], eax
add esp, 4
dec dword [0x101439f4]
push esi
call dword [0x10140b1c]
mov eax, dword [0x10143b48]
add esp, 4
test eax, eax
je 0x1003ca63
push eax
call dword [0x10140b50]
jmp 0x1003ca60
push esi
call dword [0x10140b1c]
add esp, 4
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x34]
mov dword [ecx], eax
test eax, eax
jne 0x1003caac
test byte [esp + 0x61], 4
je 0x1003ca90
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.1001ce80
add esp, 8
and byte [esp + 0x61], 0xfb
mov dword [esp + 0x54], 0
xor ecx, ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0
jmp 0x1003cadb
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1003cadb
mov eax, dword [esp + 0x5c]
mov byte [eax + ecx], 0
cmp dword [esp + 0x58], 0
jbe 0x1003cad7
test byte [esp + 0x61], 4
jne 0x1003cad7
lea ecx, [esp + 0x4c]
call fcn.1001f8e0
mov ecx, eax
jmp 0x1003cadb
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x84]
mov dword [eax], ecx
cmp byte [ebp + 9], 0
je 0x1003caf7
add dword [ebp + 0xc], 0xffffffff
jne 0x1003caf7
mov ecx, ebp
call fcn.10030c40
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10104901
add esp, 0xe8
ret