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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
xor ecx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x24]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x24]
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp esi, ecx
jne 0x439693
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
mov edi, esi
call fcn.00439330
add esp, 4
test eax, eax
jne 0x43968a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
mov dword [ebx + 0x1c], str.Page__d:
mov dword [ebx + 0x20], esi
mov edi, dword [ecx]
push esi
xor eax, eax
call fcn.0042c7b0
add esp, 8
test eax, eax
jne 0x43972a
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 0x38], edx
cmp esi, 1
setne dl
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x14]
dec dl
mov edi, eax
mov dword [eax + 0x48], esi
and dl, 0x64
mov dword [eax + 0x34], ecx
mov byte [eax + 6], dl
mov esi, edi
mov dword [esp + 0x10], eax
mov byte [edi], 0
call fcn.00431b30
test eax, eax
je 0x439746
push eax
push str.btreeInitPage___returns_error_code__d
push ebx
call fcn.00439260
mov eax, dword [edi + 0x44]
add esp, 0xc
push eax
call fcn.0042cb80
add esp, 4
mov dword [esp + 0x20], 0xffffffff
jmp 0x439d5c
push eax
push str.unable_to_get_the_page._error_code_d
push ebx
call fcn.00439260
add esp, 0xc
mov dword [esp + 0x20], 0xffffffff
jmp 0x439d5c
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], eax
cmp cx, word [edi + 0x12]
jae 0x439934
cmp dword [ebx + 0x10], 0
je 0x439934
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x1c], str.On_tree_page__d_cell__d:
mov dword [ebx + 0x20], edx
mov ecx, dword [edi + 0x40]
movzx esi, byte [ecx + eax*2]
movzx edx, byte [ecx + eax*2 + 1]
lea eax, [ecx + eax*2]
movzx eax, word [edi + 0x14]
shl esi, 8
or esi, edx
and esi, eax
add esi, dword [edi + 0x38]
lea eax, [esp + 0x48]
push esi
push edi
mov dword [esp + 0x2c], esi
call fcn.004311a0
add esp, 8
cmp byte [edi + 2], 0
je 0x439806
cmp dword [esp + 0xc], 0
mov edx, dword [esp + 0x48]
jne 0x4397c8
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
jmp 0x4397fa
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x4c], ecx
jg 0x4397fa
mov eax, dword [esp + 0x38]
jl 0x4397dc
cmp edx, eax
ja 0x4397fa
mov edx, dword [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x50]
push edx
push eax
push str.Rowid__lld_out_of_order__previous_was__lld_
push ebx
call fcn.00439260
mov edx, dword [esp + 0x60]
add esp, 0x18
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
movzx ecx, word [esp + 0x58]
mov eax, dword [esp + 0x54]
cmp eax, ecx
jbe 0x43989c
mov edx, dword [esp + 0x14]
movzx ecx, word [esp + 0x5a]
mov edx, dword [edx + 0x24]
add edx, dword [edi + 0x38]
add ecx, esi
cmp ecx, edx
ja 0x43989c
movzx edx, word [esp + 0x58]
sub eax, edx
mov edx, dword [esp + 0x18]
lea eax, [eax + edx - 5]
lea edi, [edx - 4]
xor edx, edx
div edi
movzx edi, byte [ecx]
movzx edx, byte [ecx + 2]
shl edi, 8
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + 1]
or edi, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x14]
shl edi, 8
or edi, edx
shl edi, 8
or edi, eax
cmp byte [ecx + 0x11], 0
je 0x439886
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edx
mov bl, 3
call fcn.004393b0
mov esi, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
push edi
push 0
mov eax, ebx
call fcn.00439430
mov edi, dword [esp + 0x1c]
add esp, 0xc
cmp byte [edi + 5], 0
jne 0x43991f
movzx edi, byte [esi]
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
movzx eax, byte [esi + 3]
shl edi, 8
or edi, ecx
mov ecx, dword [esp + 0x14]
shl edi, 8
or edi, edx
shl edi, 8
or edi, eax
cmp byte [ecx + 0x11], 0
je 0x4398dd
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edx
mov bl, 5
call fcn.004393b0
add esp, 4
mov ebx, esi
mov esi, dword [esp + 0xc]
mov eax, esi
neg eax
sbb eax, eax
lea ecx, [esp + 0x38]
and eax, ecx
push eax
lea edx, [esp + 0x44]
push edx
push edi
push ebx
call fcn.00439640
add esp, 0x10
mov edi, eax
test esi, esi
jle 0x439917
cmp edi, dword [esp + 0x20]
je 0x439917
push str.Child_page_depth_differs
push ebx
call fcn.00439260
add esp, 8
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
movzx ecx, word [edi + 0x12]
inc eax
mov dword [esp + 0xc], eax
cmp eax, ecx
jl 0x43975c
cmp byte [edi + 5], 0
jne 0x4399b5
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx + 6]
mov eax, dword [ecx + 0x38]
movzx edi, byte [edx + eax + 8]
lea eax, [edx + eax + 8]
movzx edx, byte [eax + 1]
shl edi, 8
or edi, edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edi, 8
or edi, edx
mov edx, dword [ebp + 0xc]
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x1c], str.On_page__d_at_right_child:
mov dword [ebx + 0x20], edx
cmp byte [eax + 0x11], 0
je 0x439996
mov esi, dword [ebp + 8]
mov ecx, edx
push ecx
mov bl, 5
call fcn.004393b0
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebx, esi
movzx edx, word [ecx + 0x12]
neg edx
sbb edx, edx
lea eax, [esp + 0x38]
and edx, eax
push edx
push 0
push edi
push ebx
call fcn.00439640
mov edi, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x1c], str.Page__d:
mov dword [ebx + 0x20], ecx
cmp byte [edi + 5], 0
je 0x439ab2
cmp byte [edi + 2], 0
je 0x439ab2
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x439a80
cmp dword [ebp + 0x14], 0
jne 0x439a16
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x3c]
cmp ecx, esi
jl 0x439ab2
jg 0x439a04
cmp dword [esp + 0x38], eax
jbe 0x439ab2
mov edx, dword [esp + 0x38]
push esi
push eax
push ecx
push edx
push str.Rowid__lld_out_of_order__max_larger_than_parent_min_of__lld_
jmp 0x439aa9
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x44]
mov ecx, dword [esi]
cmp edx, eax
jg 0x439a41
jl 0x439a2b
cmp dword [esp + 0x40], ecx
ja 0x439a41
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
push str.Rowid__lld_out_of_order__min_less_than_parent_min_of__lld_
push ebx
call fcn.00439260
add esp, 0x18
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [esp + 0x3c], eax
jl 0x439a71
jg 0x439a57
cmp dword [esp + 0x38], ecx
jbe 0x439a71
mov edx, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push edx
push str.Rowid__lld_out_of_order__max_larger_than_parent_max_of__lld_
push ebx
call fcn.00439260
add esp, 0x18
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x439ab2
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x439ab2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x44]
cmp edx, eax
jg 0x439ab2
jl 0x439a9c
cmp dword [esp + 0x40], ecx
ja 0x439ab2
push eax
push ecx
push edx
mov edx, dword [esp + 0x4c]
push edx
push str.Rowid__lld_out_of_order__min_less_than_parent_max_of__lld_
push ebx
call fcn.00439260
add esp, 0x18
mov eax, dword [edi + 0x38]
movzx ecx, byte [edi + 6]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x24], ecx
call fcn.00427a20
mov esi, eax
mov dword [ebx + 0x1c], 0
test esi, esi
jne 0x439ae6
mov dword [ebx + 0x18], 1
jmp 0x439ca4
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
movzx edi, byte [ecx + eax + 5]
movzx eax, byte [ecx + eax + 6]
mov ecx, dword [esp + 0x18]
shl edi, 8
or edi, eax
dec edi
and edi, 0xffff
inc edi
sub ecx, edi
push ecx
lea edx, [edi + esi]
push 0
push edx
call fcn.00499a80
add esp, 0xc
push edi
push 1
push esi
call fcn.00499a80
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
movzx eax, byte [ecx + edx + 3]
movzx edx, byte [ecx + edx + 4]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x1c]
movzx edx, byte [edx + 5]
mov edi, 3
sub edi, edx
add esp, 0xc
mov dword [esp + 0x28], eax
lea ecx, [ecx + edi*4]
mov dword [esp + 0xc], 0
test eax, eax
jle 0x439bf6
add ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
movzx edi, byte [ecx]
movzx ecx, byte [ecx + 1]
shl edi, 8
or edi, ecx
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffc
mov eax, 0x10000
cmp edi, ecx
jg 0x439b9e
mov edx, dword [esp + 0x1c]
lea eax, [edi + edx]
push eax
mov eax, dword [esp + 0x14]
call fcn.004312e0
add esp, 4
movzx eax, ax
lea eax, [eax + edi - 1]
cmp eax, dword [esp + 0x18]
jl 0x439bc8
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
push ecx
push edx
push str.Corruption_detected_in_cell__d_on_page__d
push ebx
mov dword [ebx + 0x1c], 0
call fcn.00439260
add esp, 0x10
jmp 0x439bd8
cmp eax, edi
jl 0x439bd8
lea esp, [esp]
inc byte [eax + esi]
dec eax
cmp eax, edi
jge 0x439bd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 2
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x28]
jl 0x439b6b
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + edi + 1]
movzx eax, byte [eax + edi + 2]
shl ecx, 8
or ecx, eax
jle 0x439c3f
nop
movzx edx, byte [edi + ecx + 2]
movzx eax, byte [edi + ecx + 3]
shl edx, 8
or edx, eax
lea eax, [edx + ecx - 1]
cmp eax, ecx
jl 0x439c2f
inc byte [eax + esi]
dec eax
cmp eax, ecx
jge 0x439c27
movzx edx, byte [edi + ecx]
movzx ecx, byte [edi + ecx + 1]
shl edx, 8
or ecx, edx
jg 0x439c10
xor eax, eax
xor edx, edx
cmp dword [esp + 0x18], eax
jle 0x439c83
lea esp, [esp]
mov cl, byte [eax + esi]
test cl, cl
jne 0x439c5a
inc edx
jmp 0x439c5f
cmp cl, 1
jg 0x439c68
inc eax
cmp eax, dword [esp + 0x18]
jl 0x439c50
jmp 0x439c83
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push str.Multiple_uses_for_byte__d_of_page__d
push ebx
mov dword [esp + 0x2c], edx
call fcn.00439260
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [esp + 0x24]
movzx eax, byte [eax + edi + 7]
cmp edx, eax
je 0x439ca4
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push edx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
push ebx
call fcn.00439260
add esp, 0x14
call fcn.00427b30
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x44]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x439cf9
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edi, dword [ecx]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a9340
push edx
mov edx, dword [edi + 0x48]
push eax
mov eax, dword [esi + 0x3c]
push eax
call edx
add esp, 0x10
jmp 0x439cfe
call fcn.004275b0
cmp dword [esi + 0x78], 0
jne 0x439d5c
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x439d5c
mov al, byte [esi + 0x10]
cmp al, 6
je 0x439d52
test al, al
je 0x439d52
cmp al, 2
jb 0x439d3e
mov eax, dword [0x4c73c4]
test eax, eax
je 0x439d2a
call eax
mov eax, esi
call fcn.0042d470
mov eax, dword [0x4c73c8]
test eax, eax
je 0x439d52
call eax
jmp 0x439d52
cmp byte [esi + 4], 0
jne 0x439d52
push 0
push 0
mov ebx, esi
call fcn.00429b80
add esp, 8
mov ebx, esi
call fcn.00429a10
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x20]
pop edi
pop esi
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
inc eax
pop ebx
mov esp, ebp
pop ebp
ret