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

Disassembly:
sub esp, 0xdc
push ebx
push ebp
mov ebp, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], ebp
mov esi, dword [ebp + 4]
mov dword [esp + 0x18], esi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x70], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
lea ebx, [ecx + 1]
cmp dword [eax], ecx
jne 0x48b178
cmp dword [eax + 4], ebx
mov dword [esp + 0x14], ebx
cmovne ebx, ecx
cmp byte [ebp + 9], 0
je 0x48b18e
inc dword [ebp + 0xc]
cmp byte [ebp + 0xa], 0
jne 0x48b18e
mov ecx, ebp
call fcn.0047e980
mov dword [esp + 0x64], edi
mov dword [esp + 0x20], esi
mov eax, dword [esi]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0x64
mov dword [esp + 0x54], 0x3b9aca00
mov dword [esp + 0x58], 0
mov word [esp + 0x5c], 0x100
test ecx, ecx
je 0x48b55f
shr ecx, 3
push 0
lea ebp, [ecx + 1]
push ebp
call fcn.004699f0
mov edi, eax
add esp, 8
test edi, edi
je 0x48b54f
push ebp
push 0
push edi
call fcn.005471c0
add esp, 0xc
mov dword [esp + 0x28], edi
mov ecx, dword [esi + 0x24]
call fcn.00474cf0
mov dword [esp + 0x60], eax
test eax, eax
je 0x48b553
mov eax, dword [0x5b55e8]
xor edx, edx
div dword [esi + 0x24]
lea edi, [eax + 1]
cmp edi, dword [esp + 0x2c]
ja 0x48b288
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 0x48b2bf
mov dword [esp + 0x3c], 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.0048a690
add esp, 8
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0xf4]
test edx, edx
jne 0x48b340
cmp byte [esi + 0x11], 0
je 0x48b31b
xor ecx, ecx
xor edx, edx
test ebp, ebp
jle 0x48b2f6
mov esi, dword [esp + 0xf0]
mov eax, dword [esi + edx*4]
cmp ecx, eax
cmovae eax, ecx
inc edx
mov ecx, eax
cmp edx, ebp
jl 0x48b2e3
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x34]
bswap eax
cmp ecx, eax
je 0x48b33c
push eax
push ecx
lea eax, [esp + 0x28]
push str.max_rootpage___d__disagrees_with_header___d_
push eax
call fcn.0048a580
add esp, 0x10
jmp 0x48b33c
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x40]
bswap eax
test eax, eax
je 0x48b340
lea eax, [esp + 0x20]
push str.incremental_vacuum_enabled_with_a_max_rootpage_of_zero
push eax
call fcn.0048a580
add esp, 8
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 4]
xor ebx, ebx
and dword [ecx + 0x20], 0xffdfffff
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], eax
test ebp, ebp
jle 0x48b429
mov eax, dword [esp + 0xf0]
cmp dword [esp + 0x30], 0
je 0x48b429
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x48b41c
cmp byte [esi + 0x11], 0
je 0x48b3f8
cmp edi, 1
jbe 0x48b3f8
test edx, edx
jne 0x48b3f8
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x17]
mov edx, edi
push eax
call fcn.0047f0a0
add esp, 8
test eax, eax
je 0x48b3cb
cmp eax, 7
je 0x48b3ae
cmp eax, 0xc0a
jne 0x48b3b6
mov dword [esp + 0x38], 1
push edi
lea eax, [esp + 0x24]
push str.Failed_to_read_ptrmap_key_d
push eax
call fcn.0048a580
add esp, 0xc
jmp 0x48b3f8
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x6c]
cmp cl, 1
jne 0x48b3dc
test eax, eax
je 0x48b3f8
push eax
movzx eax, cl
push eax
push 0
push 1
push edi
lea eax, [esp + 0x34]
push str.Bad_ptr_map_entry_key_d_expected__d__d__got__d__d_
push eax
call fcn.0048a580
add esp, 0x1c
mov edi, dword [esp + 0xf0]
lea eax, [esp + 0x78]
push SysReAllocString
push 0xffffffffffffffff
push eax
mov edx, dword [edi + ebx*4]
lea ecx, [esp + 0x2c]
call fcn.0048a950
add esp, 0xc
mov eax, edi
mov edx, dword [esp + 0x14]
inc ebx
cmp ebx, ebp
jl 0x48b361
cmp dword [esp + 0x14], 0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x24], ecx
jne 0x48b55b
mov edi, 1
cmp dword [esp + 0x2c], edi
jb 0x48b55b
cmp dword [esp + 0x30], 0
je 0x48b55b
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 0x48b4db
cmp edi, 2
jae 0x48b482
xor ecx, ecx
jmp 0x48b4be
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 [0x5b55e8]
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 0x48b4c8
cmp byte [esi + 0x11], 0
jne 0x48b4db
push edi
lea eax, [esp + 0x24]
push str.Page__d_is_never_used
push eax
call fcn.0048a580
add esp, 0xc
mov eax, dword [esp + 0x28]
test byte [eax + ebp], bl
je 0x48b542
cmp edi, 2
jae 0x48b4ed
xor ecx, ecx
jmp 0x48b521
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 [0x5b55e8]
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 0x48b542
cmp byte [esi + 0x11], 0
je 0x48b542
push edi
lea eax, [esp + 0x24]
push str.Pointer_map_page__d_is_referenced
push eax
call fcn.0048a580
add esp, 0xc
inc edi
cmp edi, dword [esp + 0x2c]
jbe 0x48b454
jmp 0x48b55b
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], 1
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
call fcn.00474e00
mov esi, dword [esp + 0x28]
test esi, esi
je 0x48b5c8
cmp dword [0x5b3c20], 0
je 0x48b5be
mov eax, dword [0x5c26a0]
test eax, eax
je 0x48b58c
push eax
call dword [0x5b3c70]
add esp, 4
push esi
call dword [0x5b3c4c]
sub dword [0x5c24a8], eax
add esp, 4
dec dword [0x5c24cc]
push esi
call dword [0x5b3c44]
mov eax, dword [0x5c26a0]
add esp, 4
test eax, eax
je 0x48b5c8
push eax
call dword [0x5b3c78]
jmp 0x48b5c5
push esi
call dword [0x5b3c44]
add esp, 4
cmp dword [esp + 0x38], 0
mov bl, byte [esp + 0x5d]
je 0x48b615
test bl, 4
je 0x48b5f4
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x48b5ed
mov ecx, dword [esp + 0x48]
call fcn.00469cc0
mov bl, byte [esp + 0x5d]
and bl, 0xfb
mov byte [esp + 0x5d], bl
mov edx, dword [esp + 0x34]
xor ecx, ecx
inc edx
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], edx
jmp 0x48b61d
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xfc]
mov dword [eax], edx
test edx, edx
jne 0x48b65f
test bl, 4
je 0x48b649
test ecx, ecx
je 0x48b642
mov edx, ecx
mov ecx, dword [esp + 0x48]
call fcn.00469cc0
mov bl, byte [esp + 0x5d]
and bl, 0xfb
mov byte [esp + 0x5d], bl
xor ecx, ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], ecx
cmp byte [ebp + 9], 0
je 0x48b676
add dword [ebp + 0xc], 0xffffffff
jne 0x48b676
mov ecx, ebp
call fcn.0047e960
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x48b6a8
mov eax, dword [esp + 0x58]
mov byte [eax + ecx], 0
cmp dword [esp + 0x54], 0
jbe 0x48b6a4
test byte [esp + 0x5d], 4
jne 0x48b6a4
lea ecx, [esp + 0x48]
call fcn.0046c2e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0xdc
ret