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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x102d4008]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x4c], eax
push esi
push edi
xor esi, esi
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebx]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x48], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], 1
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], eax
test edx, edx
je 0x10083ced
call fcn.100833a0
test eax, eax
jne 0x10083ced
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push esi
push ecx
mov edx, eax
mov dword [ebx + 0x1c], str.Page__d:
mov ecx, edi
mov dword [ebx + 0x20], eax
call fcn.10079ff0
add esp, 8
test eax, eax
je 0x1008377f
push eax
push str.unable_to_get_the_page._error_code_d
push ebx
call fcn.10083330
add esp, 0xc
mov edi, dword [esp + 0xc]
test edi, edi
je 0x10083cc1
mov edx, dword [edi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x10083cba
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, 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 edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10181160
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x10083cc1
mov eax, dword [esp + 0xc]
mov cl, byte [eax]
mov byte [esp + 0x17], cl
mov ecx, eax
mov byte [eax], 0
call fcn.10079e00
test eax, eax
je 0x100837a2
push eax
push str.btreeInitPage___returns_error_code__d
jmp 0x1008371b
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.10079be0
test eax, eax
je 0x100837c5
push eax
push str.free_space_corruption
push ebx
call fcn.10083330
add esp, 0xc
jmp 0x10083728
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x38]
movzx edi, byte [edx + 9]
mov dword [esp + 0x18], eax
add eax, edi
mov dword [esp + 0x38], eax
mov dword [ebx + 0x1c], str.On_tree_page__d_cell__d:
mov dl, byte [edx + 8]
movzx ecx, byte [eax + 5]
movzx eax, byte [eax + 6]
shl ecx, 8
or ecx, eax
dec ecx
movzx eax, cx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 4]
shl ecx, 8
or ecx, eax
movzx eax, dl
mov dword [esp + 0x10], ecx
mov ecx, 3
sub ecx, eax
mov eax, dword [esp + 0x10]
lea ecx, [edi + ecx*4]
lea eax, [ecx + eax*2]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x18]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x3c], eax
test dl, dl
jne 0x10083881
lea eax, [edi + ecx]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x30]
bswap edi
cmp byte [eax + 0x11], dl
je 0x10083861
push dword [esp + 0x1c]
mov edx, edi
mov dword [ebx + 0x1c], str.On_page__d_at_right_child:
push 5
mov ecx, ebx
call fcn.10083410
add esp, 8
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov edx, edi
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.10083670
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
jmp 0x1008388a
mov esi, dword [ebx + 0x40]
mov dword [esi], 0
mov ecx, dword [esp + 0x10]
sub ecx, 1
mov dword [esp + 0x10], ecx
mov eax, ecx
mov dword [esp + 0x44], ecx
js 0x10083aad
cmp dword [ebx + 0x10], 0
je 0x10083aa9
mov edx, dword [esp + 0x3c]
mov dword [ebx + 0x24], eax
mov ax, word [edx]
sub edx, 2
mov ch, al
mov dword [esp + 0x3c], edx
mov cl, ah
mov eax, dword [esp + 0x20]
movzx edi, cx
add eax, 0xfffffffc
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x50], edi
cmp edi, ecx
jb 0x10083a7f
cmp edi, eax
ja 0x10083a7f
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x68]
add eax, edi
push ecx
push eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [eax + 0x50]
call eax
movzx eax, word [esp + 0x86]
add esp, 0xc
mov edx, dword [esp + 0x20]
add eax, edi
cmp eax, edx
jbe 0x10083925
push str.Extends_off_end_of_page
push ebx
call fcn.10083330
add esp, 8
jmp 0x10083a90
mov edi, dword [esp + 0xc]
cmp byte [edi + 2], 0
je 0x10083982
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
je 0x1008394c
cmp eax, dword [ebp + 0x10]
jl 0x10083974
jg 0x10083958
cmp ecx, dword [ebp + 0xc]
jbe 0x10083974
jmp 0x10083958
cmp eax, dword [ebp + 0x10]
jl 0x10083974
jg 0x10083958
cmp ecx, dword [ebp + 0xc]
jb 0x10083974
push eax
push ecx
push str.Rowid__lld_out_of_order
push ebx
call fcn.10083330
mov eax, dword [esp + 0x7c]
add esp, 0x10
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
mov dword [esp + 0x24], 0
movzx ecx, word [esp + 0x78]
mov eax, dword [esp + 0x74]
cmp eax, ecx
jbe 0x100839e1
sub eax, ecx
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
add eax, 0xfffffffb
add eax, edx
xor edx, edx
lea ecx, [ecx - 4]
div ecx
movzx ecx, word [esp + 0x7a]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov edi, dword [ecx + edi - 4]
bswap edi
cmp byte [eax + 0x11], 0
je 0x100839d0
push dword [esp + 0x1c]
mov edx, edi
mov ecx, ebx
push 3
call fcn.10083410
add esp, 8
push dword [esp + 0x4c]
xor edx, edx
mov ecx, ebx
push edi
call fcn.10083490
add esp, 8
mov eax, dword [esp + 0xc]
cmp byte [eax + 8], 0
jne 0x10083a49
mov eax, dword [esp + 0x40]
mov edi, dword [eax]
mov eax, dword [esp + 0x30]
bswap edi
cmp byte [eax + 0x11], 0
je 0x10083a0f
push dword [esp + 0x1c]
mov edx, edi
mov ecx, ebx
push 5
call fcn.10083410
add esp, 8
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov edx, edi
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.10083670
mov edi, eax
mov dword [esp + 0x30], 0
add esp, 0xc
cmp edi, dword [esp + 0x2c]
je 0x10083a98
push str.Child_page_depth_differs
push ebx
call fcn.10083330
add esp, 8
mov dword [esp + 0x2c], edi
jmp 0x10083a98
movzx eax, word [esp + 0x7a]
inc dword [esi]
dec eax
mov ecx, dword [esp + 0x50]
add eax, ecx
mov edi, dword [esi]
shl ecx, 0x10
or eax, ecx
mov dword [esi + edi*4], eax
mov eax, edi
shr eax, 1
je 0x10083a98
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x10083a98
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x10083a67
jmp 0x10083a98
push eax
push ecx
push edi
push str.Offset__d_out_of_range__d.._d
push ebx
call fcn.10083330
add esp, 0x14
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x44]
sub eax, 1
mov dword [esp + 0x44], eax
jns 0x100838a1
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 0x54]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov dword [edx + 4], eax
mov dword [ebx + 0x1c], 0
je 0x10083cab
cmp dword [ebx + 0x10], 0
jle 0x10083724
mov edx, dword [esp + 0xc]
cmp byte [edx + 8], 0
jne 0x10083b5c
mov esi, dword [ebx + 0x40]
mov dword [esi], 0
test ecx, ecx
js 0x10083b5c
mov eax, dword [esp + 0x58]
lea ebx, [eax + ecx*2]
add ebx, dword [esp + 0x18]
nop
mov ax, word [ebx]
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x18]
movzx edi, cx
add eax, edi
push eax
mov eax, dword [edx + 0x4c]
push edx
call eax
inc dword [esi]
add esp, 8
movzx eax, ax
dec eax
add eax, edi
shl edi, 0x10
or eax, edi
mov edi, dword [esi]
mov dword [esi + edi*4], eax
mov eax, edi
shr eax, 1
je 0x10083b48
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x10083b48
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x10083b32
mov eax, dword [esp + 0x10]
sub ebx, 2
mov edx, dword [esp + 0xc]
dec eax
mov dword [esp + 0x10], eax
test eax, eax
jns 0x10083b00
mov eax, dword [esp + 0x38]
movzx ebx, byte [eax + 1]
movzx eax, byte [eax + 2]
shl ebx, 8
or ebx, eax
jbe 0x10083bcc
mov edx, dword [esp + 0x18]
movzx ecx, byte [edx + ebx + 2]
movzx eax, byte [edx + ebx + 3]
inc dword [esi]
mov edi, dword [esi]
shl ecx, 8
or ecx, eax
mov eax, ebx
dec ecx
shl eax, 0x10
add ecx, ebx
or ecx, eax
mov eax, edi
shr eax, 1
mov dword [esi + edi*4], ecx
je 0x10083bba
nop dword [eax]
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x10083bb6
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x10083ba0
mov edx, dword [esp + 0x18]
movzx ecx, byte [ebx + edx]
movzx eax, byte [edx + ebx + 1]
shl ecx, 8
mov ebx, ecx
or ebx, eax
ja 0x10083b73
xor edx, edx
mov ecx, dword [esi]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x10083c65
mov eax, dword [esi + ecx*4]
mov edi, 1
mov ebx, dword [esi + 4]
mov dword [esi + 4], eax
mov dword [esi + ecx*4], 0xffffffff
mov ecx, 2
dec dword [esi]
cmp dword [esi], ecx
jb 0x10083c2a
nop dword [eax]
mov eax, dword [esi + ecx*4 + 4]
lea edx, [ecx + 1]
cmp dword [esi + ecx*4], eax
mov eax, dword [esi + edi*4]
cmovbe edx, ecx
mov ecx, dword [esi + edx*4]
cmp eax, ecx
jb 0x10083c26
mov dword [esi + edi*4], ecx
mov edi, edx
mov dword [esi + edx*4], eax
lea ecx, [edi + edi]
cmp ecx, dword [esi]
jbe 0x10083c00
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x10
movzx ecx, cx
cmp ecx, eax
jae 0x10083c45
sub eax, ecx
mov dword [esp + 0x28], ebx
dec edx
add edx, eax
jmp 0x10083bce
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
push edi
push eax
push str.Multiple_uses_for_byte__u_of_page__d
push ebx
call fcn.10083330
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [esp + 0x10]
jmp 0x10083c6d
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
movzx eax, ax
sub esi, eax
dec esi
add edx, esi
test ecx, ecx
jne 0x10083724
mov eax, dword [esp + 0x38]
movzx eax, byte [eax + 7]
cmp edx, eax
je 0x10083724
push edi
push eax
push edx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
push ebx
call fcn.10083330
add esp, 0x14
jmp 0x10083724
mov edi, dword [esp + 0xc]
mov al, byte [esp + 0x17]
mov byte [edi], al
jmp 0x10083728
mov ecx, edx
call fcn.1006ea70
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x2c]
inc eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1010f56f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x84]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010f56f
mov esp, ebp
pop ebp
ret