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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ecx
xor eax, eax
test edx, edx
je 0x4727b8
lea eax, [edx - 1]
cmp eax, dword [ebx + 0xc]
jae 0x4727a7
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], ecx
mov edi, dword [ebx + 8]
mov esi, edx
shr esi, 3
mov ecx, edx
and cl, 7
mov dword [esp + 0x10], ebx
mov ebx, 1
shl ebx, cl
movzx ecx, byte [edi + esi]
mov eax, edx
and eax, 7
bt ecx, eax
jae 0x4727c0
push edx
push str.2nd_reference_to_page__d
push dword [esp + 0x18]
jmp 0x4727ae
push edx
push str.invalid_page_number__d
push ebx
call fcn.00472620
add esp, 0xc
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], edx
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x5c], edx
movq xmm0, qword [edi + 0x20]
mov dword [esp + 0x20], eax
mov edx, dword [eax + 0x28]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x128]
test eax, eax
mov eax, 0
jne 0x4727b8
mov dword [esp + 0x58], edx
movdqa xmmword [esp + 0x90], xmm0
or bl, cl
mov eax, dword [esp + 0x18]
mov byte [eax + esi], bl
mov dword [edi + 0x1c], str.Page__u:
mov esi, dword [esp + 0x34]
mov dword [edi + 0x20], esi
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
lea ecx, [esp + 0x60]
push 0
push ecx
push esi
push eax
call dword [eax + 0xdc]
add esp, 0x10
test eax, eax
je 0x47285a
push eax
push str.unable_to_get_the_page._error_code_d
push edi
call fcn.00472620
add esp, 0xc
mov ecx, edi
mov ebx, 0xffffffff
mov eax, dword [esp + 0x5c]
jmp 0x472924
mov eax, dword [esp + 0x60]
mov edi, dword [eax + 8]
cmp dword [edi + 4], esi
je 0x472889
mov ecx, dword [eax + 4]
mov dword [edi + 0x38], ecx
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x34], eax
mov dword [edi + 4], esi
xor eax, eax
cmp esi, 1
mov ecx, 0x64
cmovne ecx, eax
mov byte [edi + 9], cl
movzx ebx, byte [edi]
mov byte [edi], 0
mov ecx, edi
call fcn.0044d210
test eax, eax
je 0x4728a2
push eax
push str.btreeInitPage___returns_error_code__d
jmp 0x4728bb
mov byte [esp + 0xf], bl
mov ecx, edi
call fcn.0046ae40
test eax, eax
je 0x47293d
push eax
push str.free_space_corruption
push dword [esp + 0x18]
call fcn.00472620
add esp, 0xc
mov eax, 0xffffffff
mov ebx, eax
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x4728de
call fcn.00444500
jmp 0x47291c
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x80]
mov eax, dword [edx + 0x90]
mov dword [ecx + 0x10], eax
mov dword [edx + 0x90], ecx
mov esi, dword [edx + 0x40]
mov eax, dword [ecx + 0x18]
dec eax
mov edi, dword [edx + 0xac]
imul edi, eax
mul dword [edx + 0xa8]
add edx, edi
mov edi, dword [esi]
push dword [ecx + 4]
push edx
push eax
push esi
call dword [edi + 0x48]
add esp, 0x10
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1c], eax
movdqa xmm0, xmmword [esp + 0x90]
movq qword [ecx + 0x20], xmm0
inc ebx
mov eax, ebx
jmp 0x4727b8
mov esi, dword [edi + 0x38]
movzx ecx, byte [edi + 9]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x1c], str.On_tree_page__u_cell__d:
movzx eax, byte [ecx + esi + 5]
shl eax, 8
movzx edx, byte [ecx + esi + 6]
mov dword [esp + 0x18], edx
movzx edx, word [ecx + esi + 3]
rol dx, 8
mov ebx, dword [esp + 0x18]
add eax, ebx
dec eax
mov dword [esp + 0x18], eax
movzx eax, dx
mov dword [esp + 0x7c], eax
movzx edx, byte [edi + 8]
test edx, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], ecx
je 0x4729ab
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x40]
mov dword [esp + 0x14], eax
mov dword [eax], 0
mov dword [esp + 0x48], 1
mov eax, 0xffffffff
jmp 0x472a09
mov dword [esp + 0x4c], edx
mov esi, dword [ecx + esi + 8]
bswap esi
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x11], 0
mov ebx, dword [esp + 0x10]
je 0x4729dc
mov dword [ebx + 0x1c], str.On_page__u_at_right_child:
mov ecx, ebx
mov edx, esi
push dword [esp + 0x34]
push 5
call fcn.004726b0
add esp, 8
lea eax, [esp + 0x38]
mov ecx, ebx
mov edx, esi
push dword [esp + 0x24]
push dword [esp + 0x18]
push eax
call fcn.00472740
add esp, 0xc
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x4c]
shl edx, 2
mov esi, edx
movzx edx, word [esp + 0x18]
mov ebx, dword [esp + 0x7c]
lea ecx, [ebx - 1]
mov dword [esp + 0x78], ecx
test ebx, ebx
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], edx
mov dword [esp + 0x4c], esi
je 0x472d11
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
sub eax, esi
lea eax, [eax + ebx*2]
add eax, 0xa
inc edx
mov dword [esp + 0x8c], edx
add eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
lea eax, [ecx - 4]
mov dword [esp + 0x54], eax
lea eax, [ecx - 5]
mov dword [esp + 0x84], eax
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x60]
movzx edx, byte [esp + 0xf]
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x10], 0
je 0x472cef
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x24]
movzx eax, word [eax]
rol ax, 8
movzx esi, ax
cmp esi, dword [esp + 0x18]
jbe 0x472b07
cmp esi, dword [esp + 0x54]
ja 0x472b07
mov eax, dword [esp + 0x30]
lea edx, [eax + esi]
push ecx
mov dword [esp + 0x84], edx
push edx
push edi
call dword [edi + 0x50]
add esp, 0xc
movzx eax, word [esp + 0x72]
add eax, esi
cmp eax, dword [esp + 0x58]
jbe 0x472b32
push str.Extends_off_end_of_page
push ebx
call fcn.00472620
add esp, 8
mov dword [esp + 0x50], 0
jmp 0x472cc9
push dword [esp + 0x54]
push dword [esp + 0x90]
push esi
push str.Offset__d_out_of_range__d.._d
push ebx
call fcn.00472620
lea ecx, [esp + 0x74]
add esp, 0x14
mov dword [esp + 0x50], 0
jmp 0x472ccd
cmp byte [edi + 1], 0
je 0x472b77
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x48], 0
mov edi, dword [esp + 0x20]
je 0x472b7d
cmp ebx, eax
sbb edx, ecx
jge 0x472b85
push ecx
push eax
push str.Rowid__lld_out_of_order
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.00472620
add esp, 0x10
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
jmp 0x472b89
mov edi, dword [esp + 0x20]
jmp 0x472b99
cmp eax, ebx
mov ebx, ecx
sbb ebx, edx
jge 0x472b59
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x6c]
movzx ecx, word [esp + 0x70]
cmp eax, ecx
jbe 0x472c02
add eax, dword [esp + 0x84]
sub eax, ecx
xor edx, edx
div dword [esp + 0x54]
mov dword [esp + 0x88], eax
movzx eax, word [esp + 0x72]
mov ecx, dword [esp + 0x80]
mov eax, dword [eax + ecx - 4]
bswap eax
cmp byte [edi + 0x11], 0
je 0x472bee
mov ecx, ebx
mov edx, eax
push dword [esp + 0x34]
push 3
mov edi, eax
call fcn.004726b0
mov eax, edi
mov edi, dword [esp + 0x28]
add esp, 8
mov ecx, ebx
xor edx, edx
push dword [esp + 0x88]
push eax
call fcn.00472190
add esp, 8
mov eax, dword [esp + 0x2c]
cmp byte [eax + 8], 0
je 0x472c36
movzx eax, word [esp + 0x72]
add eax, esi
dec eax
shl esi, 0x10
or esi, eax
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
lea eax, [ecx + 1]
mov dword [edx], eax
mov dword [edx + ecx*4 + 4], esi
cmp eax, 2
jae 0x472ca6
mov edi, dword [esp + 0x2c]
jmp 0x472cc9
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
bswap esi
cmp byte [edi + 0x11], 0
je 0x472c59
mov ecx, ebx
mov edx, esi
push dword [esp + 0x34]
push 5
call fcn.004726b0
add esp, 8
mov ecx, ebx
mov edx, esi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
lea eax, [esp + 0x40]
push eax
call fcn.00472740
add esp, 0xc
mov dword [esp + 0x48], 0
cmp eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, dword [ebp + 8]
je 0x472c9b
push str.Child_page_depth_differs
push ebx
mov ebx, eax
call fcn.00472620
add esp, 8
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x60]
movzx edx, byte [esp + 0xf]
jmp 0x472cd5
mov ecx, eax
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
shr ecx, 1
mov edx, dword [ebx + ecx*4]
mov esi, dword [ebx + eax*4]
cmp edx, esi
jbe 0x472cc9
mov dword [ebx + ecx*4], esi
mov dword [ebx + eax*4], edx
cmp eax, 3
mov eax, ecx
ja 0x472cb0
lea ecx, [esp + 0x60]
movzx edx, byte [esp + 0xf]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x24], 0xfffffffe
lea ebx, [eax - 1]
test eax, eax
mov eax, ebx
mov ebx, dword [esp + 0x10]
jg 0x472a83
movq xmm0, qword [esp + 0x38]
movq qword [esi], xmm0
mov dword [ebx + 0x1c], 0
cmp dword [esp + 0x50], 0
je 0x472de0
mov eax, dword [esp + 0x28]
jmp 0x472d29
movq xmm0, qword [esp + 0x38]
mov ecx, dword [ebp + 8]
movq qword [ecx], xmm0
mov ebx, dword [esp + 0x10]
mov dword [ebx + 0x1c], 0
cmp dword [ebx + 0x10], 0
mov ecx, dword [esp + 0x30]
jle 0x4728cc
cmp byte [edi + 8], 0
mov edx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
jne 0x472deb
mov esi, dword [ebx + 0x40]
mov dword [esp + 0x14], esi
mov dword [esi], 0
cmp dword [esp + 0x7c], 0
je 0x472deb
mov eax, dword [esp + 0x4c]
neg eax
add eax, edx
add eax, 0xc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x14]
jmp 0x472d85
lea eax, [ebx - 1]
test ebx, ebx
mov ecx, dword [esp + 0x30]
jle 0x472de7
mov ebx, eax
mov edx, dword [esp + 0x24]
lea eax, [edx + eax*2]
movzx eax, word [ecx + eax]
rol ax, 8
movzx edi, ax
lea eax, [ecx + edi]
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [eax + 0x4c]
add esp, 8
movzx eax, ax
add eax, edi
dec eax
shl edi, 0x10
or edi, eax
mov ecx, dword [esi]
lea eax, [ecx + 1]
mov dword [esi], eax
mov dword [esi + ecx*4 + 4], edi
cmp eax, 2
jb 0x472d7a
mov ecx, eax
shr ecx, 1
mov edx, dword [esi + ecx*4]
mov edi, dword [esi + eax*4]
cmp edx, edi
jbe 0x472d7a
mov dword [esi + ecx*4], edi
mov dword [esi + eax*4], edx
cmp eax, 3
mov eax, ecx
ja 0x472dc5
jmp 0x472d7a
mov byte [edi], dl
jmp 0x472f98
mov edx, dword [esp + 0x44]
movzx eax, word [edx + ecx + 1]
rol ax, 8
test ax, ax
je 0x472e5a
movzx eax, ax
mov ebx, dword [esp + 0x14]
jmp 0x472e16
mov ecx, dword [esp + 0x30]
movzx eax, word [ecx + eax]
rol ax, 8
movzx eax, ax
test ax, ax
je 0x472e5a
movzx ecx, word [eax + ecx + 2]
rol cx, 8
movzx ecx, cx
mov edx, eax
shl edx, 0x10
lea esi, [eax + ecx]
dec esi
or esi, edx
mov edx, dword [ebx]
lea ecx, [edx + 1]
mov dword [ebx], ecx
mov dword [ebx + edx*4 + 4], esi
cmp ecx, 2
jb 0x472e02
mov edx, ecx
shr edx, 1
mov esi, dword [ebx + edx*4]
mov edi, dword [ebx + ecx*4]
cmp esi, edi
jbe 0x472e02
mov dword [ebx + edx*4], edi
mov dword [ebx + ecx*4], esi
cmp ecx, 3
mov ecx, edx
ja 0x472e3f
jmp 0x472e02
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
xor edx, edx
test eax, eax
je 0x472f2d
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov ecx, eax
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + ecx*4]
mov dword [esi + 4], eax
mov dword [esi + ecx*4], 0xffffffff
lea eax, [ecx - 1]
mov dword [esp + 0x24], eax
mov dword [esi], eax
cmp ecx, 3
jb 0x472eb6
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
xor edx, edx
cmp edi, dword [esi + 0xc]
seta dl
mov ecx, esi
mov ebx, dword [esi + edx*4 + 8]
cmp eax, ebx
jae 0x472eec
mov edi, dword [esp + 0x20]
movzx edx, di
mov ebx, dword [esp + 0x18]
mov ecx, ebx
shr ecx, 0x10
cmp ecx, edx
jbe 0x472f3b
not edx
mov esi, dword [esp + 0x1c]
add esi, edx
mov edx, esi
add edx, ecx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
test eax, eax
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
jne 0x472e72
jmp 0x472f65
mov esi, eax
or edx, 2
mov edi, 1
jmp 0x472f05
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + edx*4]
mov esi, eax
cmp eax, ebx
jb 0x472eb6
mov dword [ecx + edi*4], ebx
mov dword [ecx + edx*4], esi
lea ebx, [edx + edx]
mov eax, dword [ecx]
mov dword [esp + 0x24], eax
cmp ebx, eax
ja 0x472eb6
mov edi, edx
mov eax, esi
mov esi, dword [ecx + ebx*4]
mov edx, ebx
or edx, 1
cmp esi, dword [ecx + edx*4]
ja 0x472ef8
mov edx, ebx
jmp 0x472ef8
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
jmp 0x472f65
push dword [esp + 0x34]
push ecx
push str.Multiple_uses_for_byte__u_of_page__u
mov esi, dword [esp + 0x1c]
push esi
call fcn.00472620
add esp, 0x10
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
mov ebx, edi
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
jne 0x472f98
not ebx
or ebx, 0xffff0000
add edx, dword [esp + 0x58]
add edx, ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
movzx eax, byte [ecx + eax + 7]
cmp edx, eax
je 0x472f98
push dword [esp + 0x34]
push eax
push edx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__u
push esi
call fcn.00472620
add esp, 0x14
mov eax, dword [esp + 0x28]
jmp 0x4728cc