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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x7851cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov eax, edi
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x14], edx
test ebx, ebx
je 0x4e4e54
cmp dword [esi + 0x10], 0
je 0x4e4e4b
push ebx
push esi
call fcn.004e4f20
add esp, 8
test eax, eax
jne 0x4e4e4b
mov eax, dword [esi + 4]
lea ecx, [ebp - 8]
push 0
push ecx
push ebx
push eax
mov eax, dword [eax + 0xcc]
dec edi
mov dword [ebp + 0x14], edi
call eax
add esp, 0x10
test eax, eax
jne 0x4e4e3c
cmp dword [ebp - 0xc], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
je 0x4e4dad
mov ecx, dword [eax + 4]
mov eax, dword [esi]
bswap ecx
mov dword [ebp - 0x20], ecx
cmp byte [eax + 0x11], 0
je 0x4e4d3a
push 0
push 2
push ebx
push esi
call fcn.004e4e90
mov edx, dword [ebp - 8]
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
shr eax, 2
sub eax, 2
cmp ecx, eax
jbe 0x4e4d5e
push ebx
push str.freelist_leaf_count_too_big_on_page__d
push esi
call fcn.004e4af0
add esp, 0xc
dec edi
mov dword [ebp + 0x14], edi
jmp 0x4e4dcd
test ecx, ecx
jle 0x4e4da6
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x1c], ecx
nop dword [eax + eax]
mov eax, dword [esi]
mov edi, dword [ebx]
bswap edi
cmp byte [eax + 0x11], 0
je 0x4e4d8a
push 0
push 2
push edi
push esi
call fcn.004e4e90
add esp, 0x10
push edi
push esi
call fcn.004e4f20
add esp, 8
add ebx, 4
sub dword [ebp - 0x1c], 1
jne 0x4e4d70
mov edx, dword [ebp - 8]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
sub edi, ecx
mov dword [ebp + 0x14], edi
jmp 0x4e4dd0
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
je 0x4e4dd0
test edi, edi
je 0x4e4dd0
mov eax, dword [ebp - 0x18]
push ebx
push 4
mov eax, dword [eax]
bswap eax
push eax
push esi
call fcn.004e4e90
add esp, 0x10
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
bswap ebx
mov dword [ebp + 0x10], ebx
test edx, edx
je 0x4e4e32
test byte [edx + 0x1c], 0x20
je 0x4e4e29
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.006279f0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [ebp + 0x10]
add esp, 0x10
mov edi, dword [ebp + 0x14]
jmp 0x4e4e32
push edx
call fcn.005211b0
add esp, 4
test ebx, ebx
jne 0x4e4cc5
jmp 0x4e4e4b
push ebx
push str.failed_to_get_page__d
push esi
call fcn.004e4af0
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
test edi, edi
je 0x4e4e7f
cmp edx, dword [esi + 0x14]
jne 0x4e4e7f
push eax
sub eax, edi
mov edx, str.overflow_list_length
push eax
test ecx, ecx
mov eax, 0x6fc234
cmove eax, edx
push eax
push str._s_is__d_but_should_be__d
push esi
call fcn.004e4af0
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0062702c
mov esp, ebp
pop ebp
ret