Function at 0x450ba0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x540020]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
mov dword [esp + 0x28], ecx
xor eax, eax
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [esp + 0x20], ecx
mov esi, dword [ecx + 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
cmp dword [ebp + 0xc], eax
je 0x450c78
cmp byte [edi + 1], 0x80
movzx ecx, byte [edi + 1]
jae 0x450bec
mov al, 1
jmp 0x450c3b
movzx edx, byte [edi + 2]
test dl, dl
js 0x450c00
and ecx, 0x7f
mov al, 2
shl ecx, 7
or ecx, edx
jmp 0x450c3b
movzx eax, byte [edi + 3]
shl ecx, 0xe
or eax, ecx
test al, al
js 0x450c20
mov ecx, edx
and eax, 0x1fc07f
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov al, 3
jmp 0x450c3b
lea edx, [esp + 0x38]
lea ecx, [edi + 1]
call fcn.00430a40
mov ecx, dword [esp + 0x38]
xor edx, edx
cmp edx, dword [esp + 0x3c]
je 0x450c3b
or ecx, 0xffffffff
movzx ebx, byte [edi]
movzx eax, al
inc eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], eax
cmp ecx, 0x80
jb 0x450c59
add ecx, 0xfffffff4
shr ecx, 1
jmp 0x450c60
movzx ecx, byte [ecx + 0x515568]
lea edx, [ecx + ebx]
mov dword [esp + 0x24], 1
add esi, 0x28
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], esi
jmp 0x450cf3
cmp byte [edi], 0x80
movzx ebx, byte [edi]
mov dword [esp + 0x28], ebx
jae 0x450c88
mov al, 1
jmp 0x450cde
movzx ecx, byte [edi + 1]
test cl, cl
js 0x450c9c
and ebx, 0x7f
mov al, 2
shl ebx, 7
or ebx, ecx
jmp 0x450cda
movzx eax, byte [edi + 2]
shl ebx, 0xe
or eax, ebx
test al, al
js 0x450cbc
mov ebx, ecx
and eax, 0x1fc07f
and ebx, 0x7f
shl ebx, 7
or ebx, eax
mov al, 3
jmp 0x450cda
lea edx, [esp + 0x38]
mov ecx, edi
call fcn.00430a40
mov ebx, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x28], ebx
cmp ecx, dword [esp + 0x3c]
je 0x450cde
or ebx, 0xffffffff
mov dword [esp + 0x28], ebx
movzx eax, al
mov edx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], 0
cmp edx, dword [esp + 0x30]
jbe 0x450d33
push 0x51cf5c
push 0x13ac7
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0042f2c0
mov edx, dword [esp + 0x34]
add esp, 0x14
xor eax, eax
mov byte [edx + 0xb], 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
movzx ebx, word [esi + 8]
lea ecx, [edi + eax]
movsd xmm1, qword [0x523d58]
mov al, byte [ecx]
mov dword [esp + 0x1c], ebx
test bl, 4
je 0x450ff7
movzx ebx, al
cmp ebx, 0xa
jae 0x451133
test al, al
je 0x45144e
add edi, edx
mov dword [esp + 0x14], edi
cmp ebx, 7
jne 0x450e43
lea eax, [esp + 0x50]
mov edx, ebx
push eax
mov ecx, edi
call fcn.004502d0
movsd xmm0, qword [esp + 0x54]
add esp, 4
movsd xmm2, qword [0x523db0]
comisd xmm2, xmm0
jbe 0x450d9e
or eax, 0xffffffff
jmp 0x450df9
comisd xmm0, xmm1
jb 0x450dab
mov eax, 1
jmp 0x450df9
call fcn.004ffc10
mov ecx, dword [esi]
mov edi, edx
mov edx, dword [esi + 4]
cmp edx, edi
jg 0x450dd2
jl 0x450dc1
cmp ecx, eax
jae 0x450dc8
mov eax, 1
jmp 0x450df9
cmp edx, edi
jl 0x450dd7
jg 0x450dd2
cmp ecx, eax
jbe 0x450dd7
or eax, 0xffffffff
jmp 0x450df9
call fcn.004ffd20
movsd xmm1, qword [esp + 0x50]
comisd xmm1, xmm0
jbe 0x450def
mov eax, 1
jmp 0x450df9
xor eax, eax
comisd xmm0, xmm1
setbe al
dec eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
test edx, edx
jne 0x451138
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
movzx eax, word [eax + 8]
cmp ecx, eax
je 0x451430
add esi, 0x28
mov dword [esp + 0x14], esi
cmp ebx, 0x80
jb 0x4513e9
lea eax, [ebx - 0xc]
shr eax, 1
jmp 0x4513f0
cmp ebx, 6
ja case.default.0x450e4c
jmp dword [ebx*4 + 0x4514cc]
movsx eax, byte [edi]
cdq
mov edi, eax
mov ecx, edx
jmp 0x450fc0
movsx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x450fc0
movzx ecx, byte [edi + 1]
movsx eax, byte [edi]
shl eax, 0x10
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 2]
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x450fc0
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 3]
shl ecx, 8
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x450fc0
movzx eax, byte [edi + 2]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 3]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 4]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 5]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
movsx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or eax, ecx
mov ecx, dword [esp + 0x1c]
add edi, 0
cdq
adc ecx, eax
jmp 0x450fc0
movzx eax, byte [edi]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 1]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 2]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 3]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 4]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 5]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 6]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 7]
cdq
or edi, eax
or ecx, edx
jmp 0x450fc0
lea edi, [ebx - 8]
xor ecx, ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
cmp ecx, edx
jl 0x45144e
jg 0x450fe9
cmp edi, eax
jb 0x45144e
cmp ecx, edx
jl 0x450dfd
jg 0x450fe9
cmp edi, eax
jbe 0x450dfd
mov edx, 1
mov dword [esp + 0x10], edx
jmp 0x450e01
test bl, 8
je 0x4510d0
movzx ebx, al
cmp ebx, 0xa
jae 0x451133
test al, al
je 0x45144e
lea eax, [esp + 0x50]
lea ecx, [edi + edx]
mov edx, ebx
push eax
call fcn.004502d0
movsd xmm0, qword [esi]
add esp, 4
cmp ebx, 7
jne 0x451057
movsd xmm1, qword [esp + 0x50]
comisd xmm0, xmm1
ja 0x45144e
comisd xmm1, xmm0
jbe 0x4513e0
mov edx, 1
mov dword [esp + 0x10], edx
jmp 0x450e05
movsd xmm2, qword [0x523db0]
comisd xmm2, xmm0
ja 0x451133
comisd xmm0, xmm1
jae 0x45144e
call fcn.004ffc10
mov ecx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
cmp edx, ecx
jl 0x45144e
mov ecx, dword [esp + 0x50]
jg 0x451098
cmp ecx, eax
jb 0x45144e
cmp edx, dword [esp + 0x1c]
jg 0x451133
jl 0x4510ac
cmp ecx, eax
ja 0x451133
call fcn.004ffd20
movsd xmm1, qword [esi]
comisd xmm1, xmm0
ja 0x45144e
comisd xmm0, xmm1
ja 0x451133
xor edx, edx
mov dword [esp + 0x10], edx
jmp 0x450e05
test bl, 2
movzx ebx, al
je 0x451273
cmp al, 0x80
jb 0x451125
movzx edx, byte [ecx + 1]
test dl, dl
js 0x4510f2
and ebx, 0x7f
shl ebx, 7
or ebx, edx
jmp 0x451125
movzx eax, byte [ecx + 2]
shl ebx, 0xe
or eax, ebx
test al, al
js 0x451110
mov ebx, edx
and eax, 0x1fc07f
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x451125
lea edx, [esp + 0x40]
call fcn.00430a40
mov ebx, dword [esp + 0x40]
xor eax, eax
cmp eax, dword [esp + 0x44]
jne 0x451162
cmp ebx, 0xc
jb 0x45144e
test bl, 1
jne 0x451165
mov edx, 1
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, edx
neg eax
cmp byte [ebx + ecx], 0
cmove eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
mov ecx, dword [esp + 0x2c]
lea edi, [ebx - 0xc]
shr edi, 1
mov dword [esp + 0x5c], edi
lea eax, [edi + ecx]
cmp eax, dword [esp + 0x30]
ja 0x451456
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
movzx eax, word [edx + 8]
cmp eax, dword [esp + 0x24]
jle 0x451456
mov eax, dword [esp + 0x24]
cmp dword [edx + eax*4 + 0x14], 0
je 0x4511ea
mov al, byte [edx + 4]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x5a], al
mov eax, dword [edx + 0xc]
mov dword [esp + 0x70], eax
mov eax, 2
mov word [esp + 0x58], ax
lea eax, [edi + ecx]
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x50]
mov eax, dword [esp + 0x20]
add eax, 0xb
push eax
mov eax, dword [esp + 0x28]
push dword [edx + eax*4 + 0x14]
mov edx, esi
call fcn.004506d0
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
jmp 0x450e05
mov eax, dword [esi + 0xc]
mov esi, eax
mov edx, dword [esp + 0x14]
cmp edi, eax
mov dword [esp + 0x1c], eax
cmovl esi, edi
add ecx, dword [esp + 0x18]
mov edx, dword [edx + 0x10]
sub esi, 4
jb 0x451219
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x45121e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x451208
cmp esi, 0xfffffffc
je 0x451252
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x45124b
cmp esi, 0xfffffffd
je 0x451252
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x45124b
cmp esi, 0xfffffffe
je 0x451252
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x45124b
cmp esi, 0xffffffff
je 0x451252
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x451252
sbb edx, edx
or edx, 1
jmp 0x451254
xor edx, edx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x450e01
mov edx, edi
sub edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
jmp 0x450e01
test byte [esp + 0x1c], 0x10
je 0x4513d0
cmp al, 0x80
jb 0x4512d5
movzx eax, byte [ecx + 1]
mov dword [esp + 0x1c], eax
test al, al
js 0x451298
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x4512d5
movzx eax, byte [ecx + 2]
shl ebx, 0xe
or eax, ebx
test al, al
js 0x4512b8
mov ebx, dword [esp + 0x1c]
and eax, 0x1fc07f
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x4512d5
lea edx, [esp + 0x48]
call fcn.00430a40
mov ebx, dword [esp + 0x48]
xor eax, eax
cmp eax, dword [esp + 0x4c]
jne 0x4513c1
mov edx, dword [esp + 0x2c]
mov ecx, ebx
mov dword [esp + 0x1c], ecx
cmp ebx, 0xc
jb 0x4513c4
test cl, 1
jne 0x4513c4
lea edi, [ecx - 0xc]
shr edi, 1
lea eax, [edi + edx]
cmp eax, dword [esp + 0x30]
ja 0x451490
movzx eax, word [esi + 8]
test eax, 0x4000
je 0x451330
xor eax, eax
test edi, edi
je 0x451323
add edx, dword [esp + 0x18]
cmp byte [eax + edx], 0
jne 0x451133
inc eax
cmp eax, edi
jl 0x451314
mov edx, edi
sub edx, dword [esi]
mov dword [esp + 0x10], edx
jmp 0x450e01
mov eax, dword [esi + 0xc]
mov esi, eax
mov ecx, dword [esp + 0x18]
cmp edi, eax
mov dword [esp + 0x38], eax
cmovl esi, edi
add ecx, edx
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
sub esi, 4
jb 0x451361
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x451366
add ecx, 4
add edx, 4
sub esi, 4
jae 0x451350
cmp esi, 0xfffffffc
je 0x45139a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x451393
cmp esi, 0xfffffffd
je 0x45139a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x451393
cmp esi, 0xfffffffe
je 0x45139a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x451393
cmp esi, 0xffffffff
je 0x45139a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x45139a
sbb edx, edx
or edx, 1
jmp 0x45139c
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ebx, eax
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x450e01
mov edx, edi
sub edx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
jmp 0x450e01
or ebx, 0xffffffff
or edx, 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x450e05
xor edx, edx
test al, al
setne dl
mov dword [esp + 0x10], edx
jmp 0x450e05
mov edx, dword [esp + 0x10]
jmp 0x450e05
movzx eax, byte [ebx + 0x515568]
add dword [esp + 0x2c], eax
xor ecx, ecx
shr ebx, 7
mov edx, 1
mov eax, ebx
or eax, ecx
je 0x451412
shrd ebx, ecx, 7
inc edx
shr ecx, 7
mov eax, ebx
or eax, ecx
jne 0x451404
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x28]
jae 0x451430
mov edx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x30]
jbe 0x450d33
mov eax, dword [esp + 0x20]
mov byte [eax + 0xe], 1
movsx eax, byte [eax + 0xa]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
or edx, 0xffffffff
jmp 0x451138
push 0x51cf5c
push 0x13b12
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0042f2c0
mov eax, dword [esp + 0x34]
add esp, 0x14
mov byte [eax + 0xb], 0xb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
push 0x51cf5c
push 0x13b30
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0042f2c0
mov eax, dword [esp + 0x34]
add esp, 0x14
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
mov byte [eax + 0xb], 0xb
xor ecx, esp
xor eax, eax
call fcn.004ddc19
mov esp, ebp
pop ebp
ret