Function at 0x463a20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], edx
push ebx
mov ebx, dword [ecx + 0x2c]
mov edx, dword [eax + 0x38]
add edx, 0x24
mov dword [esp + 0x1c], eax
push esi
push edi
xor esi, esi
mov dword [esp + 0x28], ecx
movzx edi, byte [edx]
movzx eax, byte [edx + 1]
shl edi, 8
or edi, eax
mov dword [esp + 0x34], ebx
movzx eax, byte [edx + 2]
shl edi, 8
or edi, eax
movzx eax, byte [edx + 3]
shl edi, 8
or edi, eax
cmp edi, ebx
jb 0x463a8f
push 0x51877c
push 0xe3df
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0044eab0
add esp, 0x10
lea eax, [esi + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x46411f
mov dl, byte [ebp + 0x10]
xor bl, bl
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], ebx
cmp dl, 1
jne 0x463ad5
cmp eax, dword [esp + 0x34]
ja 0x463ae7
lea edx, [esp + 0x13]
push 0
push edx
mov edx, eax
call fcn.0045f230
add esp, 8
test eax, eax
jne 0x4642a4
cmp byte [esp + 0x13], 2
jne 0x463ae7
mov byte [esp + 0x1c], 1
jmp 0x463ae7
cmp dl, 2
movzx ebx, bl
mov eax, 1
cmove ebx, eax
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x44]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x463b06
call fcn.0045ada0
jmp 0x463b0b
call fcn.0045abf0
test eax, eax
jne 0x4642a4
lea edx, [edi - 1]
mov edi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x18
mov ecx, dword [edi + 0x38]
mov byte [ecx + 0x24], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0x25], al
mov eax, edx
shr eax, 8
mov byte [ecx + 0x26], al
mov byte [ecx + 0x27], dl
mov ebx, esi
mov dword [esp + 0x18], ebx
test esi, esi
je 0x463b60
mov ecx, dword [esi + 0x38]
movzx eax, byte [ecx]
movzx esi, byte [ecx + 1]
shl eax, 8
or esi, eax
movzx eax, byte [ecx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 3]
jmp 0x463b7d
mov ecx, dword [edi + 0x38]
movzx eax, byte [ecx + 0x20]
movzx esi, byte [ecx + 0x21]
shl eax, 8
or esi, eax
movzx eax, byte [ecx + 0x22]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x23]
shl esi, 8
or esi, eax
cmp esi, dword [esp + 0x34]
ja 0x4640c3
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x3c]
push 0
push eax
mov edx, esi
mov ecx, dword [ecx]
call fcn.0045a5c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4640e1
mov edx, dword [esp + 0x3c]
cmp esi, 1
mov dword [esp + 0x44], edi
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], ecx
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x34], eax
setne al
mov dword [ecx + 0x44], edx
dec al
mov edx, dword [ecx + 0x38]
and al, 0x64
mov byte [ecx + 6], al
mov dword [ecx + 0x48], esi
mov dword [esp + 0x20], edx
movzx eax, byte [edx + 4]
movzx ebx, byte [edx + 5]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 6]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 7]
shl ebx, 8
or ebx, eax
jne 0x463c5a
cmp byte [esp + 0x1c], bl
jne 0x463c5a
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x463c26
call fcn.0045ada0
jmp 0x463c2b
call fcn.0045abf0
mov edi, eax
test edi, edi
jne 0x46408f
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov dword [eax], esi
mov esi, dword [esp + 0x14]
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
mov eax, dword [eax]
mov dword [ecx + 0x20], eax
mov dword [ebx], esi
xor esi, esi
jmp 0x464014
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
shr eax, 2
sub eax, 2
cmp ebx, eax
ja 0x464071
cmp byte [esp + 0x1c], 0
mov eax, dword [ebp + 0xc]
je 0x463e1b
cmp eax, esi
je 0x463c93
cmp esi, eax
jae 0x463e1b
cmp byte [ebp + 0x10], 2
jne 0x463e1b
mov eax, dword [ebp + 8]
mov byte [esp + 0x1c], 0
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [ecx + 0x44]
call fcn.0045af80
mov edi, eax
test edi, edi
jne 0x46408f
test ebx, ebx
jne 0x463d02
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x463cdb
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x38]
xor esi, esi
mov ecx, dword [ecx + 0x38]
mov eax, dword [eax]
mov dword [ecx + 0x20], eax
jmp 0x464014
mov ecx, dword [ebx + 0x44]
call fcn.0045af80
mov esi, dword [esp + 0x14]
mov edi, eax
test edi, edi
jne 0x464097
mov eax, dword [esi + 0x38]
xor esi, esi
mov ecx, dword [ebx + 0x38]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x464014
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x38]
add ecx, 8
call fcn.00450830
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x34]
ja 0x464057
lea ecx, [esp + 0x38]
mov edx, eax
push 0
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00460080
mov edi, eax
add esp, 8
test edi, edi
jne 0x464093
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x44]
call fcn.0045af80
mov ecx, dword [esp + 0x38]
mov edi, eax
test edi, edi
jne 0x464050
mov eax, dword [esi + 0x38]
lea edx, [ebx - 1]
mov ecx, dword [ecx + 0x38]
mov ebx, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, edx
mov ecx, dword [ebx + 0x38]
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, edx
shr eax, 8
mov byte [ecx + 6], al
lea eax, [edx*4]
push eax
mov byte [ecx + 7], dl
mov eax, dword [esi + 0x38]
add eax, 0xc
push eax
mov eax, dword [ebx + 0x38]
add eax, 8
push eax
call fcn.004cd4f0
add esp, 0xc
mov ecx, ebx
call fcn.00460170
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x463de1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx + 0x38]
mov byte [ecx + 0x20], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0x21], al
mov eax, edx
shr eax, 8
xor esi, esi
mov byte [ecx + 0x22], al
mov byte [ecx + 0x23], dl
jmp 0x464014
mov ecx, dword [ebx + 0x44]
call fcn.0045af80
mov edi, eax
test edi, edi
jne 0x464097
mov ecx, dword [ebx + 0x38]
mov edx, dword [esp + 0x30]
mov eax, edx
shr eax, 0x18
mov byte [ecx], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, edx
shr eax, 8
xor esi, esi
mov byte [ecx + 2], al
mov byte [ecx + 3], dl
jmp 0x464014
test ebx, ebx
je 0x46402f
test eax, eax
je 0x463f66
cmp byte [ebp + 0x10], 2
mov dword [esp + 0x30], edi
jne 0x463ee8
xor esi, esi
test ebx, ebx
je 0x463e73
add edx, 0xa
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
cmp ecx, dword [ebp + 0xc]
jbe 0x463e6f
inc esi
add edx, 4
cmp esi, ebx
jb 0x463e42
mov esi, edi
mov edx, dword [esp + 0x20]
movzx eax, byte [edx + esi*4 + 8]
movzx ecx, byte [edx + esi*4 + 9]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + esi*4 + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + esi*4 + 0xb]
shl ecx, 8
or ecx, eax
cmp ecx, dword [esp + 0x34]
ja 0x464065
cmp byte [esp + 0x1c], 0
je 0x463ebe
mov eax, dword [ebp + 0xc]
cmp ecx, eax
je 0x463ebe
jae 0x464010
cmp byte [ebp + 0x10], 2
jne 0x464010
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
mov ecx, edx
jbe 0x463f6d
call fcn.0045ada0
jmp 0x463f72
lea ecx, [edx + 8]
call fcn.00450830
sub eax, dword [ebp + 0xc]
mov ecx, eax
call fcn.00450b30
mov esi, 1
mov dword [esp + 0x40], eax
cmp ebx, esi
jbe 0x463e6d
mov edx, dword [esp + 0x20]
mov edi, eax
add edx, 0xd
movzx eax, byte [edx - 1]
movzx ecx, byte [edx]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 2]
shl eax, 8
or eax, ecx
sub eax, dword [ebp + 0xc]
jns 0x463f47
cmp eax, 0x80000000
jne 0x463f45
mov eax, bind
jmp 0x463f47
neg eax
cmp eax, edi
jge 0x463f51
mov dword [esp + 0x30], esi
mov edi, eax
inc esi
add edx, 4
cmp esi, ebx
jb 0x463f14
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
jmp 0x463e6f
xor esi, esi
jmp 0x463e73
call fcn.0045abf0
mov edi, eax
test edi, edi
jne 0x46408f
mov edx, dword [esp + 0x20]
lea ecx, [ebx - 1]
cmp esi, ecx
jae 0x463f8f
mov eax, dword [edx + ebx*4 + 4]
mov dword [edx + esi*4 + 8], eax
mov ebx, dword [esp + 0x28]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 5], al
mov eax, ecx
shr eax, 8
mov byte [edx + 6], al
mov eax, dword [ebp + 8]
mov byte [edx + 7], cl
mov ecx, dword [ebx + 0x3c]
mov esi, dword [eax]
test ecx, ecx
je 0x463fd0
cmp esi, dword [ecx]
ja 0x463fc9
mov edx, esi
call fcn.004548f0
test eax, eax
je 0x463fd0
mov ecx, 1
jmp 0x463fd2
xor ecx, ecx
xor eax, eax
mov edx, esi
test ecx, ecx
mov ecx, ebx
sete al
push eax
push dword [esp + 0x30]
call fcn.00460080
mov edi, eax
add esp, 8
test edi, edi
jne 0x46400b
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x44]
call fcn.0045af80
mov edi, eax
test edi, edi
je 0x46400b
mov ecx, dword [ebx]
call fcn.00460170
mov byte [esp + 0x1c], 0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x46403f
mov ecx, dword [ecx + 0x44]
test byte [ecx + 0x18], 0x40
mov ebx, dword [ecx + 0x10]
je 0x464033
call fcn.004594d0
jmp 0x464038
mov esi, ecx
jmp 0x464014
call fcn.00455240
mov ecx, ebx
call fcn.0045a590
xor ebx, ebx
cmp byte [esp + 0x1c], bl
je 0x464097
mov edi, dword [esp + 0x24]
jmp 0x463b38
call fcn.00460170
jmp 0x464093
mov ecx, 0xe455
call fcn.004c1ac0
mov edi, eax
jmp 0x464093
push 0x51877c
push 0xe496
jmp 0x46407b
push 0x51877c
push 0xe433
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0044eab0
mov edi, 0xb
add esp, 0x10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test esi, esi
je 0x4640e1
mov ecx, dword [esi + 0x44]
test byte [ecx + 0x18], 0x40
mov esi, dword [ecx + 0x10]
je 0x4640b5
call fcn.004594d0
mov ecx, esi
call fcn.0045a590
jmp 0x4640e1
call fcn.00455240
mov ecx, esi
call fcn.0045a590
jmp 0x4640e1
push 0x51877c
push 0xe416
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0044eab0
add esp, 0x10
mov edi, 0xb
test ebx, ebx
je 0x464104
mov ecx, dword [ebx + 0x44]
test byte [ecx + 0x18], 0x40
mov esi, dword [ecx + 0x10]
je 0x4640f8
call fcn.004594d0
jmp 0x4640fd
call fcn.00455240
mov ecx, esi
call fcn.0045a590
mov ebx, dword [esp + 0x2c]
test edi, edi
je 0x464246
mov dword [ebx], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, ecx
xor ebx, ebx
mov ecx, dword [esp + 0x24]
cmp byte [edi + 0x13], bl
mov ecx, dword [ecx + 0x44]
sete bl
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x464148
call fcn.0045ada0
jmp 0x46414d
call fcn.0045abf0
test eax, eax
jne 0x4642a4
mov eax, dword [0x52bc64]
xor edx, edx
div dword [edi + 0x20]
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
inc eax
cmp ecx, eax
jne 0x464170
lea eax, [ecx + 1]
mov dword [edi + 0x2c], eax
cmp byte [edi + 0x11], 0
je 0x4641e6
mov esi, dword [edi + 0x2c]
mov ecx, edi
mov edx, esi
call fcn.0045f090
cmp eax, esi
jne 0x4641e6
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push ebx
push eax
mov edx, esi
mov ecx, edi
call fcn.00460080
mov edi, eax
add esp, 8
test edi, edi
jne 0x4642a2
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x44]
call fcn.0045af80
mov ecx, esi
mov edi, eax
call fcn.00460170
test edi, edi
jne 0x4642a2
mov edi, dword [esp + 0x28]
xor edx, edx
mov eax, dword [0x52bc64]
div dword [edi + 0x20]
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
inc eax
cmp ecx, eax
jne 0x4641e6
lea eax, [ecx + 1]
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x2c]
push ebx
mov ebx, dword [esp + 0x30]
mov ecx, dword [eax + 0x38]
mov eax, edx
shr eax, 0x18
push ebx
mov byte [ecx + 0x1c], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0x1d], al
mov eax, edx
shr eax, 8
mov byte [ecx + 0x1e], al
mov eax, dword [ebp + 8]
mov byte [ecx + 0x1f], dl
mov ecx, edi
mov edx, dword [edi + 0x2c]
mov dword [eax], edx
call fcn.00460080
add esp, 8
test eax, eax
jne 0x4642a4
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x44]
call fcn.0045af80
mov edi, eax
test edi, edi
je 0x464246
mov ecx, dword [ebx]
call fcn.00460170
jmp 0x464108
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x44]
cmp word [eax + 0x1a], 1
jle 0x46429f
test ecx, ecx
je 0x464274
mov ecx, eax
test byte [ecx + 0x18], 0x40
mov esi, dword [ecx + 0x10]
je 0x464268
call fcn.004594d0
jmp 0x46426d
call fcn.00455240
mov ecx, esi
call fcn.0045a590
push 0x51877c
push 0xe4f9
push str.database_corruption_at_line__d_of___.10s_
push 0xb
mov dword [ebx], 0
call fcn.0044eab0
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ecx], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret