Function at 0x4ea230
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x70]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov eax, 1
push esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp]
xor ebx, ebx
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
cmp esi, ebx
jne 0x4ea28b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret
push esi
mov eax, ebp
call fcn.004d47f0
add esp, 4
test eax, eax
jne 0x4ea281
lea ecx, [esp + 0x10]
push ecx
xor ecx, ecx
mov dword [ebp + 0x1c], str.Page__d:
mov dword [ebp + 0x20], esi
call fcn.004b2640
add esp, 4
test eax, eax
je 0x4ea2cc
push eax
push str.unable_to_get_the_page._error_code_d
mov esi, ebp
call fcn.004d4760
add esp, 8
jmp 0x4ea7f2
mov esi, dword [esp + 0x10]
mov dl, byte [esi]
mov byte [esp + 0x78], dl
mov byte [esi], bl
call fcn.004e5a10
test eax, eax
je 0x4ea2f6
push eax
push str.btreeInitPage___returns_error_code__d
mov esi, ebp
call fcn.004d4760
add esp, 8
jmp 0x4ea7f2
mov edi, dword [esi + 0x38]
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + 9]
mov dword [ebp + 0x1c], str.On_tree_page__d_cell__d:
movzx ecx, byte [eax + edi + 5]
movzx esi, byte [eax + edi + 6]
movzx edx, byte [edx + 8]
shl ecx, 8
or ecx, esi
movzx esi, byte [eax + edi + 3]
dec ecx
and ecx, 0xffff
inc ecx
mov dword [esp + 0x3c], ecx
movzx ecx, byte [eax + edi + 4]
shl esi, 8
or esi, ecx
mov ecx, 3
sub ecx, edx
lea ecx, [eax + ecx*4]
lea edx, [ecx + esi*2]
mov dword [esp + 0x4c], ecx
lea ecx, [edx + edi - 2]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
cmp byte [edx + 8], bl
jne 0x4ea3c5
mov eax, dword [eax + edi + 8]
mov ecx, dword [esp + 0x2c]
bswap eax
mov dword [esp + 0x38], eax
cmp byte [ecx + 0x11], bl
je 0x4ea395
mov edx, dword [esp + 0x7c]
push edx
mov edi, eax
push 5
mov eax, ebp
mov dword [ebp + 0x1c], str.On_page__d_at_right_child:
call fcn.004ea000
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
add esp, 8
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
push ecx
push edx
lea ecx, [esp + 0x8c]
push ecx
push eax
push ebp
call fcn.004ea230
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x1c], ebx
jmp 0x4ea3ce
mov ebx, dword [ebp + 0x40]
mov dword [ebx], 0
lea ecx, [esi - 1]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], ecx
test ecx, ecx
jl 0x4ea609
jmp 0x4ea3f4
mov ecx, dword [esp + 0x30]
cmp dword [ebp + 0x10], 0
je 0x4ea609
mov edx, dword [esp + 0x28]
sub dword [esp + 0x28], 2
mov esi, dword [esp + 0x20]
mov dword [ebp + 0x24], ecx
mov ax, word [edx]
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x3c]
movzx edi, cx
mov dword [esp + 0x44], edi
cmp edi, eax
jb 0x4ea5d9
lea ecx, [esi - 4]
mov dword [esp + 0x40], ecx
cmp edi, ecx
ja 0x4ea5d9
mov edx, dword [esp + 0x14]
lea eax, [edi + edx]
lea ecx, [esp + 0x5c]
push ecx
push eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x50]
push eax
call edx
movzx eax, word [esp + 0x7a]
add eax, edi
add esp, 0xc
cmp eax, esi
jbe 0x4ea474
push str.Extends_off_end_of_page
mov esi, ebp
call fcn.004d4760
add esp, 4
jmp 0x4ea5ee
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 2], 0
je 0x4ea4ea
cmp dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
je 0x4ea4a3
cmp eax, dword [esp + 0x88]
jg 0x4ea4b7
jl 0x4ea4d4
cmp ecx, dword [esp + 0x84]
ja 0x4ea4b7
jmp 0x4ea4d4
cmp eax, dword [esp + 0x88]
jl 0x4ea4d4
jg 0x4ea4b7
cmp ecx, dword [esp + 0x84]
jb 0x4ea4d4
push eax
push ecx
push str.Rowid__lld_out_of_order
mov esi, ebp
call fcn.004d4760
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x1c], 0
movzx ecx, word [esp + 0x6c]
mov eax, dword [esp + 0x68]
cmp eax, ecx
jbe 0x4ea54c
sub eax, ecx
lea eax, [eax + esi - 5]
xor edx, edx
div dword [esp + 0x40]
movzx edx, word [esp + 0x6e]
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 0x11], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov eax, dword [edx + eax - 4]
bswap eax
mov esi, eax
je 0x4ea539
mov edx, dword [esp + 0x7c]
push edx
push 3
mov edi, esi
mov eax, ebp
call fcn.004ea000
mov edi, dword [esp + 0x4c]
add esp, 8
mov eax, dword [esp + 0x40]
push eax
push 0
mov eax, esi
mov ecx, ebp
call fcn.004ea090
add esp, 8
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 8], 0
jne 0x4ea5c2
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
bswap eax
mov edi, eax
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x11], 0
je 0x4ea57b
mov ecx, dword [esp + 0x7c]
push ecx
push 5
mov eax, ebp
call fcn.004ea000
add esp, 8
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
push edx
push eax
lea ecx, [esp + 0x8c]
push ecx
push edi
push ebp
call fcn.004ea230
mov edi, eax
add esp, 0x14
mov dword [esp + 0x1c], 0
cmp edi, dword [esp + 0x24]
je 0x4ea5f6
push str.Child_page_depth_differs
mov esi, ebp
call fcn.004d4760
add esp, 4
mov dword [esp + 0x24], edi
jmp 0x4ea5f6
movzx edx, word [esp + 0x6e]
lea ecx, [edx + edi - 1]
shl edi, 0x10
or ecx, edi
mov eax, ebx
call fcn.004b2b90
jmp 0x4ea5f6
add esi, 0xfffffffc
push esi
push eax
push edi
push str.Offset__d_out_of_range__d.._d
mov esi, ebp
call fcn.004d4760
add esp, 0x10
mov dword [esp + 0x34], 0
sub dword [esp + 0x30], 1
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jns 0x4ea3f0
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov dword [ecx], edx
mov edx, dword [esp + 0x88]
mov dword [ecx + 4], edx
mov dword [ebp + 0x1c], 0
je 0x4ea7e8
cmp dword [ebp + 0x10], 0
jle 0x4ea7f2
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 8], 0
jne 0x4ea6b8
mov edi, dword [esp + 0x48]
mov ebx, dword [ebp + 0x40]
mov dword [ebx], 0
test edi, edi
jl 0x4ea6b0
mov edx, dword [esp + 0x4c]
lea eax, [edx + edi*2]
add eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
jmp 0x4ea674
mov eax, dword [esp + 0x78]
mov ax, word [eax]
mov edx, dword [esp + 0x14]
mov ch, al
mov cl, ah
movzx esi, cx
lea eax, [esi + edx]
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x4c]
push eax
call ecx
movzx eax, ax
lea ecx, [eax + esi - 1]
shl esi, 0x10
add esp, 8
or ecx, esi
mov eax, ebx
call fcn.004b2b90
sub dword [esp + 0x78], 2
dec edi
test edi, edi
jge 0x4ea670
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
movzx edx, byte [eax + edi + 1]
movzx eax, byte [eax + edi + 2]
shl edx, 8
or edx, eax
jle 0x4ea723
lea esp, [esp]
movzx ecx, byte [edi + edx + 2]
movzx eax, byte [edi + edx + 3]
inc dword [ebx]
shl ecx, 8
or ecx, eax
lea eax, [ecx + edx - 1]
mov ecx, edx
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebx]
mov dword [ebx + ecx*4], eax
mov eax, ecx
shr eax, 1
je 0x4ea711
mov esi, dword [ebx + eax*4]
mov edi, dword [ebx + ecx*4]
cmp esi, edi
jbe 0x4ea70d
mov dword [ebx + eax*4], edi
mov dword [ebx + ecx*4], esi
mov ecx, eax
shr eax, 1
jne 0x4ea6f7
mov edi, dword [esp + 0x14]
movzx eax, byte [edx + edi]
movzx ecx, byte [edi + edx + 1]
shl eax, 8
or eax, ecx
mov edx, eax
jg 0x4ea6d0
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
dec esi
push edx
mov eax, ebx
mov dword [esp + 0x38], 0
mov dword [esp + 0x7c], esi
call fcn.004b2bc0
add esp, 4
test eax, eax
je 0x4ea7aa
mov edx, dword [esp + 0x3c]
mov eax, edx
mov ecx, esi
shr eax, 0x10
and ecx, 0xffff
cmp ecx, eax
jae 0x4ea787
sub eax, ecx
mov ecx, dword [esp + 0x34]
lea eax, [ecx + eax - 1]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], eax
push ecx
mov eax, ebx
mov dword [esp + 0x7c], edx
call fcn.004b2bc0
mov esi, dword [esp + 0x7c]
add esp, 4
test eax, eax
jne 0x4ea747
jmp 0x4ea7aa
mov eax, dword [esp + 0x7c]
push eax
shr edx, 0x10
push edx
push str.Multiple_uses_for_byte__u_of_page__d
mov esi, ebp
call fcn.004d4760
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x84]
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
and esi, 0xffff
sub eax, esi
cmp dword [ebx], 0
lea eax, [ecx + eax - 1]
jne 0x4ea7f2
mov edx, dword [esp + 0x18]
movzx ecx, byte [edx + edi + 7]
cmp eax, ecx
je 0x4ea7f2
mov edx, dword [esp + 0x7c]
push edx
push ecx
push eax
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
mov esi, ebp
call fcn.004d4760
add esp, 0x10
jmp 0x4ea7f2
mov al, byte [esp + 0x78]
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ea802
mov eax, dword [eax + 0x48]
call fcn.004b0fd0
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
pop edi
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x20]
pop esi
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0x24], ecx
pop ebp
inc eax
pop ebx
add esp, 0x64
ret