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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [0x101d2014]
xor eax, ebp
test edx, edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x20], 0
jne 0x1004c727
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.10192ef0
mov eax, dword [esp + 0x20]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ecx + 0x1c]
mov ebx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x38], eax
call fcn.1004cfb0
test eax, eax
jne 0x1004c70d
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
mov dword [eax + 0x1c], str.Page__u:
mov dword [eax + 0x20], ecx
mov ebx, dword [ebx]
mov ecx, dword [ebx + 0xcc]
call dword [section..00cfg]
lea eax, [esp + 0x68]
push 0
push eax
push dword [esp + 0x2c]
push ebx
call ecx
add esp, 0x10
test eax, eax
jne 0x1004cea4
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
mov ebx, dword [eax + 8]
cmp dword [ebx + 4], edx
je 0x1004c7c6
mov ecx, dword [eax + 4]
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x34]
mov ecx, 0x64
mov dword [ebx + 0x34], eax
xor eax, eax
cmp edx, 1
mov dword [ebx + 4], edx
cmovne ecx, eax
mov byte [ebx + 9], cl
mov al, byte [ebx]
mov ecx, ebx
mov byte [ebx], 0
mov byte [esp + 0x2f], al
call fcn.10026390
test eax, eax
mov dword [esp + 0x3c], ebx
jne 0x1004cec8
mov ecx, ebx
call fcn.10044b10
test eax, eax
jne 0x1004ced0
mov edx, dword [esp + 8]
mov ecx, dword [ebx + 0x38]
movzx eax, byte [ebx + 9]
mov dword [edx + 0x1c], str.On_tree_page__u_cell__d:
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
movzx ecx, byte [eax + ecx + 5]
movzx ebx, byte [ebx + 8]
shl ecx, 8
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [eax + ecx + 6]
mov eax, dword [esp + 4]
lea ecx, [eax + ecx - 1]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
movzx ecx, word [eax + ecx + 3]
shl ecx, 0x10
test ebx, ebx
bswap ecx
mov dword [esp + 0x54], ecx
je 0x1004ceef
mov eax, dword [edx + 0x40]
mov dword [esp + 4], eax
mov dword [eax], 0
xor eax, eax
dec eax
mov dword [esp + 0x20], eax
xor eax, eax
inc eax
mov dword [esp + 0x44], eax
shl ebx, 2
mov eax, dword [ebp + 8]
lea edi, [ecx - 1]
test ecx, ecx
mov esi, ebx
movzx ebx, word [esp + 0x14]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x40], ebx
je 0x1004cb9e
mov eax, dword [esp + 0x30]
sub eax, esi
lea ecx, [eax + ecx*2 + 0xa]
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
add ecx, dword [esp + 0x1c]
xor esi, esi
inc esi
mov dword [esp + 0x48], esi
mov esi, edi
add eax, 0xfffffffc
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
cmp dword [edx + 0x10], 0
je 0x1004cb70
mov dword [edx + 0x24], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ecx
movzx eax, word [ecx]
push eax
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ushort
add esp, 4
movzx ebx, ax
cmp dword [esp + 0x40], ebx
jae 0x1004ca61
cmp dword [esp + 0x50], ebx
jb 0x1004ca61
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x50]
lea edi, [eax + ebx]
call dword [section..00cfg]
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x18], edi
push edi
push esi
call ecx
add esp, 0xc
movzx eax, word [esp + 0x7a]
mov edx, dword [esp + 0x38]
add eax, ebx
cmp eax, edx
ja 0x1004ca88
cmp byte [esi + 2], 0
je 0x1004ca2c
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
je 0x1004ca35
cmp esi, eax
sbb edx, ecx
jl 0x1004ca41
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x74]
movzx ecx, word [esp + 0x78]
cmp eax, ecx
ja 0x1004ca9e
mov eax, dword [esp + 0x3c]
cmp byte [eax + 8], 0
je 0x1004caf9
movzx eax, word [esp + 0x7a]
mov edx, dword [esp + 4]
lea eax, [ebx + eax - 1]
shl ebx, 0x10
or ebx, eax
mov eax, dword [edx]
mov edi, ebx
lea ebx, [eax + 1]
mov ecx, ebx
mov dword [edx], ebx
mov dword [edx + eax*4 + 4], edi
shr ecx, 1
je 0x1004ca04
mov esi, dword [edx + ecx*4]
mov dword [esp + 0x14], edi
cmp esi, edi
jbe 0x1004ca04
mov edi, dword [esp + 0x14]
mov dword [esp + 4], edx
lea edx, [edx + ecx*4]
mov eax, ecx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 4]
shr eax, 1
mov dword [ebx + ecx*4], edi
mov edi, dword [esp + 0x14]
mov dword [ebx + edi*4], esi
je 0x1004ca04
mov edi, dword [edx]
mov edx, dword [esp + 4]
mov ebx, ecx
mov ecx, eax
lea edx, [edx + eax*4]
mov esi, dword [edx]
cmp esi, edi
ja 0x1004c9db
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
add ecx, 0xfffffffe
test eax, eax
lea eax, [eax - 1]
mov esi, eax
mov eax, dword [ebp + 8]
jg 0x1004c8bd
jmp 0x1004cb70
mov esi, dword [esp + 0x34]
jmp 0x1004c97f
cmp eax, esi
mov edi, ecx
sbb edi, edx
jl 0x1004c961
push ecx
push eax
push str.Rowid__lld_out_of_order
push dword [esp + 0x14]
call fcn.1004c590
add esp, 0x10
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
jmp 0x1004c961
push dword [esp + 0x50]
push dword [esp + 0x60]
push ebx
push str.Offset__d_out_of_range__d.._d
mov esi, dword [esp + 0x18]
push esi
call fcn.1004c590
mov edx, esi
add esp, 0x14
mov dword [esp + 0x48], 0
jmp 0x1004ca08
push str.Extends_off_end_of_page
mov esi, dword [esp + 0xc]
push esi
call fcn.1004c590
mov edx, esi
add esp, 8
jmp 0x1004ca7e
add eax, edx
xor edx, edx
sub eax, ecx
add eax, 0xfffffffb
div dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov edi, eax
movzx eax, word [esp + 0x7a]
push dword [eax + ecx - 4]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
cmp byte [esi + 0x11], 0
je 0x1004cae4
mov ecx, dword [esp + 8]
mov edx, eax
push dword [esp + 0x24]
push 3
mov dword [esp + 0x60], eax
call fcn.1004c640
mov eax, dword [esp + 0x60]
add esp, 8
mov ecx, dword [esp + 8]
xor edx, edx
push edi
push eax
call fcn.1004c370
add esp, 8
jmp 0x1004c990
mov eax, dword [esp + 0x14]
push dword [eax]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
cmp byte [esi + 0x11], 0
mov edi, eax
je 0x1004cb23
mov ecx, dword [esp + 8]
mov edx, edi
push dword [esp + 0x24]
push 5
call fcn.1004c640
add esp, 8
mov ecx, dword [esp + 8]
mov edx, edi
push dword [esp + 0x84]
push dword [esp + 0x84]
lea eax, [esp + 0x88]
push eax
call fcn.1004c6d0
add esp, 0xc
mov edi, eax
cmp eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], 0
jne 0x1004cf6b
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x18]
jmp 0x1004ca14
movsd xmm0, qword [esp + 0x80]
cmp dword [esp + 0x48], 0
movsd qword [eax], xmm0
mov dword [edx + 0x1c], 0
jne 0x1004cbb6
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + 0x2f]
mov byte [eax], cl
jmp 0x1004ce7e
movsd xmm0, qword [esp + 0x80]
mov ebx, dword [esp + 0x10]
movsd qword [eax], xmm0
mov dword [edx + 0x1c], 0
mov edi, dword [esp + 0x28]
cmp dword [edx + 0x10], 0
mov ecx, dword [esp + 0x60]
jle 0x1004ce7e
mov edi, dword [esp + 0x3c]
cmp byte [edi + 8], 0
je 0x1004cd68
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
movzx ecx, word [ecx + eax + 1]
shl ecx, 0x10
bswap ecx
test ecx, ecx
je 0x1004cc70
movzx eax, word [ecx + eax + 2]
mov esi, dword [esp + 4]
mov edx, ecx
mov dword [esp + 0xc], ecx
shl edx, 0x10
shl eax, 0x10
mov dword [esp + 4], esi
bswap eax
lea ecx, [ecx + eax - 1]
or ecx, edx
mov edx, dword [esi]
lea eax, [edx + 1]
mov edi, eax
mov dword [esi], eax
mov dword [esi + edx*4 + 4], ecx
shr edi, 1
je 0x1004cc5f
mov edx, dword [esp + 4]
mov esi, dword [edx + edi*4]
cmp esi, ecx
jbe 0x1004cc5f
mov edx, dword [esp + 4]
lea ebx, [edx + edi*4]
mov edx, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
shr edx, 1
mov dword [eax + edi*4], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + ecx*4], esi
je 0x1004cc5f
mov eax, dword [esp + 4]
mov ecx, dword [ebx]
lea ebx, [eax + edx*4]
mov eax, edi
mov edi, edx
mov esi, dword [ebx]
cmp esi, ecx
ja 0x1004cc36
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
movzx ecx, word [eax + ecx]
jmp 0x1004cbe3
mov edx, dword [esp + 4]
mov eax, dword [edx]
test eax, eax
je 0x1004ce41
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc], 0
mov esi, dword [edx + eax*4]
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], edi
mov dword [edx + 4], esi
mov dword [edx + eax*4], 0xffffffff
mov dword [esp + 0x40], ecx
mov eax, dword [edx]
dec eax
cmp eax, 2
mov dword [edx], eax
jb 0x1004ccc2
mov esi, dword [edx + 8]
xor ecx, ecx
mov edi, dword [edx + 4]
cmp esi, dword [edx + 0xc]
seta cl
mov esi, dword [edx + ecx*4 + 8]
cmp edi, esi
jae 0x1004ccfb
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ecx, esi
movzx edx, di
shr ecx, 0x10
cmp ecx, edx
jbe 0x1004cd38
mov edi, dword [esp + 0xc]
not edx
add edi, edx
mov edx, dword [esp + 4]
add edi, ecx
mov ecx, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0xc], edi
mov edi, esi
jne 0x1004cc8a
jmp 0x1004ce55
or ecx, 2
lea eax, [edx + 4]
mov dword [esp + 0x14], edi
mov dword [eax], esi
mov dword [edx + ecx*4], edi
lea esi, [ecx + ecx]
mov eax, dword [edx]
cmp esi, eax
ja 0x1004ccc2
mov edi, dword [edx + esi*4]
mov ebx, esi
or ebx, 1
cmp edi, dword [edx + ebx*4]
ja 0x1004cd22
mov ebx, esi
mov edx, dword [esp + 4]
mov edi, dword [esp + 0x14]
mov esi, dword [edx + ebx*4]
cmp edi, esi
jb 0x1004ccc2
lea eax, [edx + ecx*4]
mov ecx, ebx
jmp 0x1004cd05
push dword [esp + 0x24]
push ecx
push str.Multiple_uses_for_byte__u_of_page__u
push dword [esp + 0x14]
call fcn.1004c590
add esp, 0x10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov esi, edi
cmp dword [eax], 0
je 0x1004ce55
mov edi, ebx
jmp 0x1004ce7a
mov eax, dword [edx + 0x40]
cmp dword [esp + 0x54], 0
mov dword [esp + 4], eax
mov dword [eax], 0
je 0x1004cbd6
mov eax, dword [esp + 0x30]
neg ecx
lea eax, [eax + ecx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
lea eax, [ecx + eax*2]
movzx eax, word [esi + eax]
push eax
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ushort
add esp, 4
mov ecx, dword [edi + 0x4c]
movzx ebx, ax
add esi, ebx
call dword [section..00cfg]
push esi
push edi
call ecx
add esp, 8
mov edx, dword [esp + 4]
movzx eax, ax
lea eax, [ebx + eax - 1]
shl ebx, 0x10
or ebx, eax
mov eax, dword [edx]
lea ecx, [eax + 1]
mov dword [edx], ecx
mov dword [edx + eax*4 + 4], ebx
mov eax, ecx
shr eax, 1
je 0x1004ce29
mov edx, dword [esp + 4]
mov edi, dword [edx + eax*4]
cmp edi, ebx
jbe 0x1004ce29
mov edx, dword [esp + 4]
mov esi, eax
lea edx, [edx + eax*4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 4]
shr esi, 1
mov ecx, dword [esp + 0x14]
mov dword [ebx + eax*4], ecx
mov ecx, dword [esp + 0xc]
mov dword [ebx + ecx*4], edi
je 0x1004ce29
mov ecx, dword [esp + 4]
mov ebx, dword [edx]
lea edx, [ecx + esi*4]
mov ecx, eax
mov eax, esi
mov edi, dword [edx]
cmp edi, ebx
ja 0x1004cdf8
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
test eax, eax
lea eax, [eax - 1]
jg 0x1004cd92
jmp 0x1004cbd6
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
not esi
mov edi, ebx
or esi, 0xffff0000
add ecx, esi
add ecx, dword [esp + 0xc]
movzx eax, byte [edx + eax + 7]
cmp ecx, eax
jne 0x1004cf90
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x48]
call fcn.10025e10
inc dword [esp + 0x20]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], ecx
jmp 0x1004c70d
push eax
push str.unable_to_get_the_page._error_code_d
push dword [esp + 0x10]
call fcn.1004c590
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], 0
jmp 0x1004ce8e
push eax
push str.btreeInitPage___returns_error_code__d
jmp 0x1004ced6
push eax
push str.free_space_corruption
push dword [esp + 0x10]
call fcn.1004c590
add esp, 0xc
mov edi, dword [esp + 0x28]
xor eax, eax
dec eax
mov dword [esp + 0x20], eax
jmp 0x1004ce7a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push dword [ecx + eax + 8]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov ecx, dword [esp + 0x34]
mov edx, eax
cmp byte [ecx + 0x11], 0
je 0x1004cf34
mov dword [esp + 4], edx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [ecx + 0x1c], str.On_page__u_at_right_child:
push dword [esp + 0x24]
push 5
call fcn.1004c640
mov edx, dword [esp + 0xc]
add esp, 8
mov ecx, dword [esp + 8]
lea eax, [esp + 0x80]
push edi
push esi
push eax
call fcn.1004c6d0
mov edx, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0
mov dword [esp + 0x44], 0
jmp 0x1004c869
push str.Child_page_depth_differs
mov esi, dword [esp + 0xc]
push esi
call fcn.1004c590
mov eax, dword [esp + 0x14]
mov edx, esi
add esp, 8
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], edi
jmp 0x1004ca14
push dword [esp + 0x24]
push eax
push ecx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__u
push dword [esp + 0x18]
call fcn.1004c590
add esp, 0x14
jmp 0x1004ce7a