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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x62f570]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xdc]
push ebx
push ebp
push esi
push edi
mov edi, edx
cmp byte [edi + 9], 0
mov ebp, dword [edi + 4]
mov edx, dword [ebp + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
je 0x4c8a9e
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x4c8a9e
call fcn.004be580
mov edx, dword [esp + 0xf4]
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov ecx, dword [ebp]
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp + 0x2c]
lea ecx, [esp + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 0x64
mov dword [esp + 0x4c], 0x3b9aca00
mov dword [esp + 0x50], ebx
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], 1
cmp eax, ebx
je 0x4c8d9e
shr eax, 3
inc eax
mov esi, eax
xor eax, eax
mov edx, esi
or edx, eax
je 0x4c8b48
push eax
push esi
call fcn.004ab330
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4c8b33
push esi
push ebx
push edi
call fcn.00589f50
add esp, 0xc
mov dword [esp + 0x20], edi
cmp edi, ebx
jne 0x4c8b4c
mov dword [esp + 0x30], 1
jmp 0x4c8d9e
xor edi, edi
jmp 0x4c8b33
mov eax, dword [ebp + 0x20]
push eax
call fcn.004b5100
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, ebx
jne 0x4c8b6d
mov dword [esp + 0x30], 1
jmp 0x4c8d9e
mov eax, dword [0x631a40]
xor edx, edx
div dword [ebp + 0x20]
inc eax
cmp eax, dword [esp + 0x24]
ja 0x4c8b94
mov edx, dword [esp + 0x20]
mov ecx, eax
shr ecx, 3
add edx, ecx
mov ecx, eax
and ecx, 7
mov al, 1
shl al, cl
or byte [edx], al
mov dword [esp + 0x34], str.Main_freelist:
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x38]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
bswap edx
push edx
bswap eax
push 1
lea ecx, [esp + 0x20]
call fcn.004c8200
add esp, 8
mov dword [esp + 0x34], ebx
cmp byte [ebp + 0x11], bl
je 0x4c8c09
mov ebx, dword [esp + 0xf0]
xor edx, edx
xor eax, eax
test ebx, ebx
jle 0x4c8be5
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + eax*4]
cmp edx, ecx
jge 0x4c8be0
mov edx, ecx
inc eax
cmp eax, ebx
jl 0x4c8bd3
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx + 0x34]
bswap eax
cmp edx, eax
je 0x4c8c30
push eax
push edx
push str.max_rootpage___d__disagrees_with_header___d_
lea esi, [esp + 0x24]
call fcn.004c8030
add esp, 0xc
jmp 0x4c8c30
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x40]
bswap ecx
test ecx, ecx
je 0x4c8c29
push str.incremental_vacuum_enabled_with_a_max_rootpage_of_zero
lea esi, [esp + 0x1c]
call fcn.004c8030
add esp, 4
mov ebx, dword [esp + 0xf0]
mov eax, dword [ebp + 4]
and dword [eax + 0x1c], 0xffdfffff
xor esi, esi
test ebx, ebx
jle 0x4c8c9a
cmp dword [esp + 0x28], 0
je 0x4c8c9a
mov edx, dword [esp + 0x14]
mov edi, dword [edx + esi*4]
test edi, edi
je 0x4c8c95
cmp byte [ebp + 0x11], 0
je 0x4c8c74
cmp edi, 1
jle 0x4c8c74
push 0
mov bl, 1
lea eax, [esp + 0x1c]
call fcn.004c8180
mov ebx, dword [esp + 0xf4]
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + esi*4]
push Ordinal_1
push 0xffffffffffffffff
lea eax, [esp + 0x78]
push eax
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004c8450
add esp, 0x14
inc esi
cmp esi, ebx
jl 0x4c8c40
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x6c]
mov edi, 1
mov dword [ecx + 0x1c], edx
cmp dword [esp + 0x24], edi
jb 0x4c8d9c
cmp dword [esp + 0x28], 0
je 0x4c8d9c
mov ecx, edi
and ecx, 7
mov ebx, 1
shl ebx, cl
mov ecx, dword [esp + 0x20]
mov eax, edi
shr eax, 3
mov dword [esp + 0x14], eax
test byte [eax + ecx], bl
jne 0x4c8d36
cmp edi, 2
jae 0x4c8ce5
xor ecx, ecx
jmp 0x4c8d16
mov eax, 0xcccccccd
mul dword [ebp + 0x24]
mov esi, edx
shr esi, 2
xor edx, edx
inc esi
lea eax, [edi - 2]
div esi
xor edx, edx
mov ecx, eax
mov eax, dword [0x631a40]
imul ecx, esi
div dword [ebp + 0x20]
add ecx, 2
inc eax
cmp ecx, eax
jne 0x4c8d12
inc ecx
mov eax, dword [esp + 0x14]
cmp ecx, edi
jne 0x4c8d20
cmp byte [ebp + 0x11], 0
jne 0x4c8d36
push edi
push str.Page__d_is_never_used
lea esi, [esp + 0x20]
call fcn.004c8030
mov eax, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x20]
test byte [eax + edx], bl
je 0x4c8d91
cmp edi, 2
jae 0x4c8d48
xor ecx, ecx
jmp 0x4c8d75
mov eax, 0xcccccccd
mul dword [ebp + 0x24]
mov esi, edx
shr esi, 2
xor edx, edx
inc esi
lea eax, [edi - 2]
div esi
xor edx, edx
mov ecx, eax
mov eax, dword [0x631a40]
imul ecx, esi
div dword [ebp + 0x20]
add ecx, 2
inc eax
cmp ecx, eax
jne 0x4c8d75
inc ecx
cmp ecx, edi
jne 0x4c8d91
cmp byte [ebp + 0x11], 0
je 0x4c8d91
push edi
push str.Pointer_map_page__d_is_referenced
lea esi, [esp + 0x20]
call fcn.004c8030
add esp, 8
inc edi
cmp edi, dword [esp + 0x24]
jbe 0x4c8cb3
xor ebx, ebx
mov esi, dword [esp + 0x58]
call fcn.004b5220
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x4c8e06
cmp dword [0x631928], ebx
je 0x4c8dfc
mov eax, dword [0x640888]
cmp eax, ebx
je 0x4c8dca
push eax
call dword [0x631984]
add esp, 4
push esi
call dword [0x631960]
sub dword [0x640828], eax
dec dword [0x64084c]
add esp, 4
push esi
call dword [0x631958]
mov eax, dword [0x640888]
add esp, 4
cmp eax, ebx
je 0x4c8e06
push eax
call dword [0x63198c]
jmp 0x4c8e03
push esi
call dword [0x631958]
add esp, 4
cmp dword [esp + 0x30], ebx
je 0x4c8e1d
lea eax, [esp + 0x40]
push eax
call fcn.004ad5c0
add esp, 4
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
mov dword [ecx], eax
cmp eax, ebx
jne 0x4c8e38
lea edx, [esp + 0x40]
push edx
call fcn.004ad5c0
add esp, 4
mov esi, dword [esp + 0x64]
cmp byte [esi + 9], 0
je 0x4c8e4d
add dword [esi + 0xc], 0xffffffff
jne 0x4c8e4d
call fcn.004be540
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x4c8e79
mov ecx, dword [esp + 0x50]
mov byte [ecx + eax], 0
cmp dword [esp + 0x4c], ebx
jbe 0x4c8e75
test byte [esp + 0x55], 4
jne 0x4c8e75
lea esi, [esp + 0x40]
call fcn.004ad470
jmp 0x4c8e79
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057ffd2
add esp, 0xd8
ret